Skip to content

Commit

Permalink
fix: apptempt to fix no entryContentBlock footer btn
Browse files Browse the repository at this point in the history
  • Loading branch information
syl-p committed Jan 2, 2024
1 parent 9eb1f57 commit 53bb7ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,12 @@ Cypress.Commands.add("validateEval", () => {

Cypress.Commands.add("acceptEval", () => {
cy.get(".pia-evaluationBlock .btn-green").click({ force: true });
cy.wait(1000);
cy.get(".pia-entryContentBlock-footer .btn-green")
.should("have.class", "btn-active")
.click({ force: true });
});

Cypress.Commands.add("acceptMultipleEval", () => {
cy.wait(3000);
cy.get(".pia-evaluationBlock .btn-green").each($el => {
Expand Down

0 comments on commit 53bb7ec

Please sign in to comment.