The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
update collection name in tests to use the new one from the BE (#67280)
Nicolò Pretto232fc1d3efec
diff --git a/e2e/test/scenarios/embedding/tenant-users-sidecar.cy.spec.ts b/e2e/test/scenarios/embedding/tenant-users-sidecar.cy.spec.tsindex a5fa05dd079..c1ef4603584 100644--- a/e2e/test/scenarios/embedding/tenant-users-sidecar.cy.spec.ts+++ b/e2e/test/scenarios/embedding/tenant-users-sidecar.cy.spec.ts@@ -11,9 +11,6 @@ const loginWithJWT = (user: TenantUser, returnTo: string = "/") => {);};-// !TODO: the backend fix for this has not merged yet, we're assessing the old name for now-const NAME_OF_COLLECTION_FROM_BE = "Tenant Collection: Gizmos";-interface TenantAttributes {CAPS?: string;color?: string;@@ -119,10 +116,7 @@ describe("scenarios > sidecar > tenant users", () => {cy.url().should("include", "/collection/");// Check the collection name on the collection page, it should be read only- cy.findByTestId("collection-name-heading").should(- "have.text",- NAME_OF_COLLECTION_FROM_BE,- );+ cy.findByTestId("collection-name-heading").should("have.text", "Our data");cy.findByTestId("collection-name-heading").should("be.disabled");// Check the save modal@@ -134,7 +128,7 @@ describe("scenarios > sidecar > tenant users", () => {// Check the entity picker modalH.modal().findByLabelText(/Where do you want to save this/)- .should("have.text", NAME_OF_COLLECTION_FROM_BE)+ .should("have.text", "Our data").click();H.entityPickerModal().findByText("Our data").should("be.visible");