mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-06-20 04:48:30 -06:00
PR-589725: Updating packages, fixing redux actions and fixing linting.
This commit is contained in:
@ -1,20 +1,20 @@
|
||||
describe('Initial Component Tests', () => {
|
||||
it('Will show the Initial Component page.', () => {
|
||||
cy.visit('/');
|
||||
cy.get('a').contains('Other Component');
|
||||
cy.get('a').contains('Other Component');
|
||||
});
|
||||
it('Will Redirect to Other Component page.', () => {
|
||||
it('Will Redirect to Other Component page.', () => {
|
||||
cy.visit('/');
|
||||
cy.get('a').contains('Other Component').click();
|
||||
cy.get('a').contains('Initial Component');
|
||||
cy.get('a').contains('Other Component').click();
|
||||
cy.get('a').contains('Initial Component');
|
||||
});
|
||||
it('Will show the Other Component page.', () => {
|
||||
cy.visit('/other-component');
|
||||
cy.get('a').contains('Initial Component');
|
||||
cy.get('a').contains('Initial Component');
|
||||
});
|
||||
it('Will Redirect to Initial Component page.', () => {
|
||||
cy.visit('/other-component');
|
||||
cy.get('a').contains('Initial Component').click();
|
||||
cy.get('a').contains('Initial Component').click();
|
||||
cy.get('a').contains('Other Component');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user