Adding wait to fix flake failures (#13226)

This commit is contained in:
Aishwarya-U-R 2022-04-22 19:46:03 +05:30 committed by GitHub
parent 1acf242600
commit 8c8a3b0695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -10,6 +10,7 @@ describe("Export application as a JSON file", function() {
before(() => {
cy.addDsl(dsl);
cy.wait(5000);
});
it("Check if exporting app flow works as expected", function() {

View File

@ -8,6 +8,7 @@ describe("Organization Import Application", function() {
before(() => {
cy.addDsl(dsl);
cy.wait(5000);
});
it("Can Import Application from json", function() {

View File

@ -196,7 +196,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
);
agHelper.ClickButton("Submit");
agHelper.ValidateNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0).then((cellData) => {
table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
agHelper.NavigateBacktoEditor()
@ -211,7 +211,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
agHelper.DeployApp(locator._spanButton('Submit'))
agHelper.ClickButton("Submit");
agHelper.ValidateNetworkExecutionSuccess("@postExecute");
table.ReadTableRowColumnData(0, 0).then((cellData) => {
table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
expect(cellData).to.be.equal("8");
});
agHelper.NavigateBacktoEditor()