test: Updated flaky tests for tablev1 spec (#22189)
Worked on fixing flaky test of tablev1: app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/Table_tabledata_schema_spec.js
This commit is contained in:
parent
cd36b2ac7d
commit
f3db012811
|
|
@ -1,7 +1,7 @@
|
||||||
const explorer = require("../../../../../locators/explorerlocators.json");
|
const explorer = require("../../../../../locators/explorerlocators.json");
|
||||||
import homePage from "../../../../../locators/HomePage";
|
import homePage from "../../../../../locators/HomePage";
|
||||||
const publish = require("../../../../../locators/publishWidgetspage.json");
|
const publish = require("../../../../../locators/publishWidgetspage.json");
|
||||||
const dsl = require("../../../../../fixtures/tablev1NewDsl.json");
|
const dsl = require("../../../../../fixtures/swtchTableDsl.json");
|
||||||
|
|
||||||
describe("Table Widget", function () {
|
describe("Table Widget", function () {
|
||||||
it("1. Table Widget Functionality To Check with changing schema of tabledata", () => {
|
it("1. Table Widget Functionality To Check with changing schema of tabledata", () => {
|
||||||
|
|
@ -14,10 +14,7 @@ describe("Table Widget", function () {
|
||||||
201,
|
201,
|
||||||
);
|
);
|
||||||
cy.addDsl(dsl);
|
cy.addDsl(dsl);
|
||||||
cy.get(explorer.addWidget).click();
|
cy.wait(5000);
|
||||||
cy.dragAndDropToCanvas("switchwidget", { x: 200, y: 500 });
|
|
||||||
cy.wait(1000);
|
|
||||||
cy.wait("@updateLayout");
|
|
||||||
cy.openPropertyPane("tablewidget");
|
cy.openPropertyPane("tablewidget");
|
||||||
cy.get(".t--property-control-tabledata").then(($el) => {
|
cy.get(".t--property-control-tabledata").then(($el) => {
|
||||||
cy.updateCodeInput($el, jsContext);
|
cy.updateCodeInput($el, jsContext);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user