Skip to content

Commit

Permalink
tests: fix test to match new defaults for data sources
Browse files Browse the repository at this point in the history
  • Loading branch information
ciyer committed Aug 27, 2024
1 parent 4aeae27 commit b42ea27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress-tests/cypress/e2e/useSession.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ describe("Basic public project functionality", () => {
.click();

// Add a S3 storage configuration if it doesn't exist
/* eslint-disable max-nested-callbacks */
cy.wait("@getProjectCloudStorage").then(({ response }) => {
const storages = response.body as { storage: { name: string } }[];
if (storages.find(({ storage }) => storage.name === "data_s3")) {
Expand Down Expand Up @@ -275,7 +276,7 @@ describe("Basic public project functionality", () => {
cy.get("#mountPoint")
.should("have.value", "external_storage/data_s3")
.type("{selectAll}data_s3");
cy.get("#readOnly").should("not.be.checked").check();
cy.get("#readOnly").should("be.checked").check();

cy.getDataCy("cloud-storage-edit-update-button")
.should("be.visible")
Expand Down

0 comments on commit b42ea27

Please sign in to comment.