Skip to content

Commit

Permalink
fix: data_layer test
Browse files Browse the repository at this point in the history
  • Loading branch information
willydouhard committed Jul 12, 2024
1 parent a1ce820 commit b991780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/data_layer/spec.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ function feedback() {
// starts with /thread/
expect(loc).to.match(/^\/thread\//);
});
cy.get('.negative-feedback-off').should('have.length', 3);
cy.get('.positive-feedback-off').should('have.length', 3).eq(0).click();
cy.get('.negative-feedback-off').should('have.length', 1);
cy.get('.positive-feedback-off').should('have.length', 1).eq(0).click();
cy.get('#feedbackSubmit').click();
cy.get('.positive-feedback-on').should('have.length', 1);
}
Expand Down

0 comments on commit b991780

Please sign in to comment.