mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-16 13:24:17 -07:00
Update minor frontend dependencies (#2190)
* Fix failing cypress tests * Update minor packages to remove security issues
This commit is contained in:
parent
b46d334e8f
commit
bf597b594b
4 changed files with 479 additions and 85 deletions
|
@ -23,6 +23,11 @@ When(`I click on the {string} page in the navigation`, (page) => {
|
|||
cy.get(`[data-cy="nav-link-${pageHyphenCase}"]`).click();
|
||||
});
|
||||
|
||||
When(`I click on the {string} button in the navigation`, (page) => {
|
||||
const pageHyphenCase = hyphenizeString(page);
|
||||
cy.get(`[data-cy="nav-link-${pageHyphenCase}"]`).contains(page).click();
|
||||
});
|
||||
|
||||
When(`I look for the {string} CTA`, (ctaString) => {
|
||||
cy.get(`[data-cy="${hyphenizeString(ctaString)}-block"]`).as('CTA_block');
|
||||
cy.get('@CTA_block').scrollIntoView().should('be.visible');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue