Fix cypress test

This commit is contained in:
Nikolaj Geisle
2022-03-17 10:25:59 +01:00
parent f78b62fcb6
commit 181b984a28

View File

@@ -257,6 +257,8 @@ context('Routing', () => {
cy.get('.checkbox').last().click();
cy.umbracoButtonByLabelKey('buttons_saveAndPublish').last().click();
// Close success notifications
cy.get('.alert-success > .close').click({multiple : true});
// Publish Grandchild
cy.umbracoTreeItem("content", [nodeName, childNodeName, grandChildNodeName]).click();
cy.umbracoButtonByLabelKey('buttons_saveAndPublish').click();