From 1133d6d8dd489993a77a18b234a4c4c1852d70a3 Mon Sep 17 00:00:00 2001 From: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Date: Wed, 19 Mar 2025 10:35:12 +0530 Subject: [PATCH] test: updated boolean spec (#39789) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /ok-to-test tags="@tag.Sanity" > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: d8fa3afd6c61f7c95f112e3ebe5160beba8b8a4e > Cypress dashboard. > Tags: `@tag.Sanity` > Spec: >
Wed, 19 Mar 2025 04:38:53 UTC Co-authored-by: “NandanAnantharamu” <“nandan@thinkify.io”> --- .../ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts | 6 +++--- app/client/cypress/limited-tests.txt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts index a18dea3248..cf5b63797c 100644 --- a/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts +++ b/app/client/cypress/e2e/Regression/ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts @@ -33,11 +33,11 @@ describe( it("1. Creating enum & table queries - boolenumtypes + Bug 14493", () => { query = `CREATE TYPE weekdays AS ENUM ('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');`; dataSources.CreateQueryAfterDSSaved(query, "createEnum"); - dataSources.RunQuery(); + dataSources.RunQuery({ toValidateResponse: false }); query = `create table boolenumtypes (serialId SERIAL not null primary key, workingDay weekdays, AreWeWorking boolean)`; dataSources.CreateQueryFromOverlay(dsName, query, "createTable"); - dataSources.RunQuery(); + dataSources.RunQuery({ toValidateResponse: false }); //Other queries query = `INSERT INTO public."boolenumtypes" ("workingday", "areweworking") VALUES ({{Insertworkingday.selectedOptionValue}}, {{Insertareweworking.isSwitchedOn}})`; @@ -171,7 +171,7 @@ describe( entityExplorer.CreateNewDsQuery(dsName); agHelper.RenameQuery("verifyEnumOrdering"); dataSources.EnterQuery(query); - dataSources.RunQuery(); + dataSources.RunQuery({ toValidateResponse: false }); dataSources.ReadQueryTableResponse(1).then(($cellData) => { expect($cellData).to.eq("Saturday"); }); diff --git a/app/client/cypress/limited-tests.txt b/app/client/cypress/limited-tests.txt index 8b8460be7d..f3e17c6ffb 100644 --- a/app/client/cypress/limited-tests.txt +++ b/app/client/cypress/limited-tests.txt @@ -1,7 +1,7 @@ # To run only limited tests - give the spec names in below format: -#cypress/e2e/Regression/ClientSide/VisualTests/JSEditorIndent_spec.js +cypress/e2e/Regression/ServerSide/Postgres_DataTypes/BooleanEnum_Spec.ts # For running all specs - uncomment below: #cypress/e2e/**/**/* -cypress/e2e/Regression/ClientSide/Anvil/Widgets/* +#cypress/e2e/Regression/ClientSide/Anvil/Widgets/* #ci-test-limit uses this file to run minimum of specs. Do not run entire suite with this command. \ No newline at end of file