From fb02fcae4dd59e423f02249310f3285954495d02 Mon Sep 17 00:00:00 2001
From: "Mahatthana (Kelvin) Nomsawadi" <mahatthana.n@gmail.com>
Date: Wed, 15 Jun 2022 14:19:45 +0700
Subject: [PATCH] Fix e2e test after introducing #23338 (#23348)

---
 .../test/metabase/scenarios/admin/databases/add.cy.spec.js     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/frontend/test/metabase/scenarios/admin/databases/add.cy.spec.js b/frontend/test/metabase/scenarios/admin/databases/add.cy.spec.js
index 9fb01b5653e..641b3fe3149 100644
--- a/frontend/test/metabase/scenarios/admin/databases/add.cy.spec.js
+++ b/frontend/test/metabase/scenarios/admin/databases/add.cy.spec.js
@@ -105,7 +105,8 @@ describe("scenarios > admin > databases > add", () => {
 
     cy.button("Save").click();
     cy.wait("@createDatabase");
-    cy.findByText(/Hmm, we couldn't connect to the database/);
+    cy.findByText(": check your connection string");
+    cy.findByText("Implicitly relative file paths are not allowed.");
   });
 
   it("should show scheduling settings if you enable the toggle", () => {
-- 
GitLab