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.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));
|
||||
cy.wait(2000);
|
||||
agHelper.ClickButton("Submit");
|
||||
|
|
@ -31,8 +31,8 @@ describe("Binding the button Widgets and validating NavigateTo Page functionalit
|
|||
agHelper.AssertElementAbsence(
|
||||
locators._widgetInDeployed(draggableWidgets.BUTTON),
|
||||
);
|
||||
agHelper.AssertElementVisibility(
|
||||
locators._visibleTextSpan("Build the tools"),
|
||||
);
|
||||
cy.url().should("contain", testdata.externalPage);
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user