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
GDGT-3108: Stabilize document revision history test (#82484)
Stas Gavrylov7b271d25b612
diff --git a/e2e/test/scenarios/documents/documents.cy.spec.ts b/e2e/test/scenarios/documents/documents.cy.spec.tsindex 9cfa5296dab..79db80fda67 100644--- a/e2e/test/scenarios/documents/documents.cy.spec.ts+++ b/e2e/test/scenarios/documents/documents.cy.spec.ts@@ -1859,6 +1859,7 @@ describe("documents", () => {.and("contain.text", "Document saved");// dismiss after asserting so toasts don't stack into later lookupsH.undoToast().icon("close").click({ force: true });+ H.undoToastList().should("have.length", 0);cy.log("Make another change");H.documentContent().click();@@ -1868,6 +1869,7 @@ describe("documents", () => {"be.visible",);H.undoToast().icon("close").click({ force: true });+ H.undoToastList().should("have.length", 0);cy.log("Open revision history");cy.findByLabelText("More options").click();@@ -1917,7 +1919,10 @@ describe("documents", () => {.click();cy.wait("@failedRevert");- H.undoToast().should("contain.text", "Cannot revert: missing document");+ cy.contains(+ '[data-testid="toast-undo"]',+ "Cannot revert: missing document",+ ).should("be.visible");});});