mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-22 05:57:20 +00:00
* Add happypath for aws s3 * Add happypath for MySQL * Add common DS methods to utils * Add creds to env * Add minor changes on clear and type
14 lines
464 B
JavaScript
14 lines
464 B
JavaScript
import { postgreSqlSelector } from "Selectors/postgreSql";
|
|
import { postgreSqlText } from "Texts/postgreSql";
|
|
|
|
export const verifyCouldnotConnectWithAlert = (dangerText) => {
|
|
cy.get(postgreSqlSelector.connectionFailedText, {
|
|
timeout: 10000,
|
|
}).verifyVisibleElement("have.text", postgreSqlText.couldNotConnect, {
|
|
timeout: 5000,
|
|
});
|
|
cy.get(postgreSqlSelector.dangerAlertNotSupportSSL).verifyVisibleElement(
|
|
"contain.text",
|
|
dangerText
|
|
);
|
|
};
|