mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-12 13:36:43 +00:00
43 lines
905 B
JavaScript
43 lines
905 B
JavaScript
import * as ROUTES from '../../src/constants/routes';
|
|
|
|
describe('App Router', () => {
|
|
it('contains Landing page', () => {
|
|
cy.visit(ROUTES.LANDING);
|
|
cy.get('section');
|
|
});
|
|
|
|
it('contains SignUp page', () => {
|
|
cy.visit(ROUTES.SIGN_UP);
|
|
cy.get('section');
|
|
});
|
|
|
|
it('contains SignIn page', () => {
|
|
cy.visit(ROUTES.SIGN_IN);
|
|
cy.get('section');
|
|
});
|
|
|
|
it('contains Developers page', () => {
|
|
cy.visit(ROUTES.DEVELOPERS);
|
|
cy.get('section');
|
|
});
|
|
|
|
it('contains Profile page', () => {
|
|
cy.visit(ROUTES.PROFILE);
|
|
cy.get('section');
|
|
});
|
|
|
|
it('contains Edit Profile page', () => {
|
|
cy.visit(ROUTES.EDIT_PROFILE);
|
|
cy.get('section');
|
|
});
|
|
|
|
it('contains Add Experience page', () => {
|
|
cy.visit(ROUTES.ADD_EXPERIENCE);
|
|
cy.get('section');
|
|
});
|
|
|
|
it('contains Dashboard page', () => {
|
|
cy.visit(ROUTES.DASHBOARD);
|
|
cy.get('section');
|
|
});
|
|
});
|