Download spectrum/cypress/integration/login_spec.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 530 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/cypress/integration/login_spec.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/cypress/integration/login_spec.js
-
curl -L -o login_spec.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/cypress/integration/login_spec.js
530 Bytes
| describe('Log in', () => { | |
| beforeEach(() => { | |
| cy.visit('/login'); | |
| }); | |
| it('should render login methods', () => { | |
| cy.get('[data-cy="login-page"]').should('be.visible'); | |
| cy.get('[href*="/auth/twitter"]').should('be.visible'); | |
| cy.get('[href*="/auth/facebook"]').should('be.visible'); | |
| cy.get('[href*="/auth/google"]').should('be.visible'); | |
| cy.get('[href*="/auth/github"]').should('be.visible'); | |
| cy.get('[href*="github.com/withspectrum/code-of-conduct"]').should( | |
| 'be.visible' | |
| ); | |
| }); | |
| }); | |