fix: undo spec test changes.
This commit is contained in:
parent
b995983adf
commit
197554917d
|
|
@ -9,9 +9,7 @@ describe("Modal Widget Functionality", function() {
|
|||
|
||||
it("1. [Bug]- 11415 - Open Modal from button and test scroll", () => {
|
||||
cy.PublishtheApp();
|
||||
cy.get(widgetsPage.widgetBtn)
|
||||
.closest("div")
|
||||
.click({ force: true });
|
||||
cy.get(".t--widget-buttonwidget button").click({ force: true });
|
||||
cy.get(".t--modal-widget").should("exist");
|
||||
cy.get("span:contains('Close')").should("not.be.visible");
|
||||
cy.get(".t--modal-widget")
|
||||
|
|
|
|||
|
|
@ -116,10 +116,9 @@ describe("Container Widget Functionality", function() {
|
|||
|
||||
cy.PublishtheApp();
|
||||
// Verify Widget Button by clicking on it
|
||||
cy.get(widgetsPage.widgetBtn)
|
||||
.closest("div")
|
||||
cy.get(`${widgetsPage.widgetBtn}`)
|
||||
.first()
|
||||
.click({ force: true });
|
||||
.click();
|
||||
// Verify the click on first button
|
||||
cy.get(commonlocators.toastmsg).contains(items[0].last_name);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user