From b42ea273f4b787a9dfed72dc22e195f2ec455c1e Mon Sep 17 00:00:00 2001 From: Chandrasekhar Ramakrishnan Date: Fri, 23 Aug 2024 12:14:36 +0200 Subject: [PATCH] tests: fix test to match new defaults for data sources --- cypress-tests/cypress/e2e/useSession.cy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress-tests/cypress/e2e/useSession.cy.ts b/cypress-tests/cypress/e2e/useSession.cy.ts index 79b989c6e5..f24f852a9e 100644 --- a/cypress-tests/cypress/e2e/useSession.cy.ts +++ b/cypress-tests/cypress/e2e/useSession.cy.ts @@ -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")) { @@ -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")