Merge pull request #28940 from appsmithorg/cherrypick/nav-cypress-fix
test: Cypress| fix ButtonWidgets_NavigateTo_Validation_spec.js (#28913)
This commit is contained in:
commit
55786d352c
|
|
@ -23,7 +23,7 @@ describe("Binding the button Widgets and validating NavigateTo Page functionalit
|
||||||
cy.get(".t--code-editor-wrapper").type(testdata.externalPage);
|
cy.get(".t--code-editor-wrapper").type(testdata.externalPage);
|
||||||
});
|
});
|
||||||
cy.wait(300);
|
cy.wait(300);
|
||||||
//. Button click should take the control to page link validation", function () {
|
// Button click should take the control to page link validation", function () {
|
||||||
deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.BUTTON));
|
deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.BUTTON));
|
||||||
cy.wait(2000);
|
cy.wait(2000);
|
||||||
agHelper.ClickButton("Submit");
|
agHelper.ClickButton("Submit");
|
||||||
|
|
@ -31,8 +31,8 @@ describe("Binding the button Widgets and validating NavigateTo Page functionalit
|
||||||
agHelper.AssertElementAbsence(
|
agHelper.AssertElementAbsence(
|
||||||
locators._widgetInDeployed(draggableWidgets.BUTTON),
|
locators._widgetInDeployed(draggableWidgets.BUTTON),
|
||||||
);
|
);
|
||||||
agHelper.AssertElementVisibility(
|
cy.url().should("contain", testdata.externalPage);
|
||||||
locators._visibleTextSpan("Build the tools"),
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user