Skip to content

Commit

Permalink
update e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iethree committed May 21, 2024
1 parent 4cd89dd commit b467072
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e2e/test/scenarios/dashboard/dashboard.cy.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ describe("scenarios > dashboard", () => {
.should("have.text", "Our analytics")
.click();
});

entityPickerModal()
.findByRole("tab", { name: /Collections/ })
.click();
entityPickerModal()
.findByText("Create a new collection")
.click({ force: true });
Expand Down
5 changes: 5 additions & 0 deletions e2e/test/scenarios/question/new.cy.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ describe("scenarios > question > new", () => {
cy.findByTestId("save-question-modal")
.findByLabelText(/Which collection/)
.click();

entityPickerModal()
.findByRole("tab", { name: /Collections/ })
.click();

entityPickerModal().findByText("Create a new collection").click();

const NEW_COLLECTION = "Foo";
Expand Down

0 comments on commit b467072

Please sign in to comment.