test: updated boolean spec (#39789)
/ok-to-test tags="@tag.Sanity" <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13938545009> > Commit: d8fa3afd6c61f7c95f112e3ebe5160beba8b8a4e > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13938545009&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` > Spec: > <hr>Wed, 19 Mar 2025 04:38:53 UTC <!-- end of auto-generated comment: Cypress test results --> Co-authored-by: “NandanAnantharamu” <“nandan@thinkify.io”>
This commit is contained in:
parent
919b2907a1
commit
1133d6d8dd
|
|
@ -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");
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
Loading…
Reference in New Issue
Block a user