mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-12 19:24:19 -07:00
Fix various front end warnings
This commit is contained in:
parent
763572da12
commit
c3257858f6
16 changed files with 21987 additions and 13525 deletions
|
@ -30,11 +30,14 @@ When(`I click on the {string} button in the navigation`, (page) => {
|
|||
|
||||
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');
|
||||
cy.get('@CTA_block').scrollIntoView();
|
||||
cy.get('@CTA_block').should('be.visible');
|
||||
});
|
||||
|
||||
When(`I look for the {string}`, (footer) => {
|
||||
cy.get(`[data-cy="${hyphenizeString(footer)}-primary-block"]`).scrollIntoView().should('be.visible');
|
||||
cy.get(`[data-cy="${hyphenizeString(footer)}-primary-block"]`).as('string_block');
|
||||
cy.get('@string_block').scrollIntoView();
|
||||
cy.get('@string_block').should('be.visible');
|
||||
});
|
||||
|
||||
// Common Thens:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue