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 9fb01b5653e110dbd6a86d2def78f3b30e009fed..641b3fe314999d35121485537811a69770d48c08 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", () => {