PR-589725: Updating packages, fixing redux actions and fixing linting.

This commit is contained in:
2025-04-11 06:06:54 +00:00
parent d0f4f38381
commit be0bb6238f
25 changed files with 1499 additions and 992 deletions

View File

@ -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');
});
});
});

View File

@ -34,4 +34,4 @@
// visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
// }
// }
// }
// }

View File

@ -22,7 +22,7 @@ import './commands';
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from '@cypress/react'
import { mount } from '@cypress/react';
// Augment the Cypress namespace to include type definitions for
// your custom command.