Skip to content

Commit

Permalink
Remove render panel check
Browse files Browse the repository at this point in the history
Rendering happens on earlier line when getting stage 0 so this test
fails
  • Loading branch information
shapeseas committed Nov 5, 2024
1 parent e032d21 commit fe70321
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/e2e/test.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,12 @@ describe('test spec', () => {
cy.get('[data-cy="stage-0"]').contains("Stage 1 Edited").should("be.visible")

// view first stage in render panel
cy.get('[data-cy="render-panel"]').contains("Click on a stage card to preview the stage from a participant view.").should("be.visible")
// TODO check if needed
// cy.get('[data-cy="render-panel"]').contains("Click on a stage card to preview the stage from a participant view.").should("be.visible")
cy.get('[data-cy="stage-0"]').click(0, 0)
cy.wait(2000)
cy.get('[data-cy="render-panel"]').contains("Click on a stage card to preview the stage from a participant view.").should("not.exist")
// TODO check if needed
// cy.get('[data-cy="render-panel"]').contains("strong magical field").should("be.visible")
cy.get('[data-cy="render-panel"]').contains("Here are a number of personality traits").should("be.visible")

Expand Down

0 comments on commit fe70321

Please sign in to comment.