File size: 530 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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'
);
});
});
|