Fix javascript test

This commit is contained in:
Nikolaj
2020-08-13 09:11:58 +02:00
parent e76ffc865c
commit 9a2fb1e0d8
2 changed files with 2 additions and 2 deletions
@@ -119,7 +119,7 @@ context('Partial View Macro Files', () => {
// Assert
cy.contains(fullName).should('not.exist');
// Clearn
// Clean
cleanup(name);
});
@@ -14,7 +14,7 @@ context('Scripts', () => {
cy.umbracoSection('settings');
cy.get('li .umb-tree-root:contains("Settings")').should("be.visible");
cy.umbracoTreeItem("settings", ["Stylesheets"]).rightclick();
cy.umbracoTreeItem("settings", ["Scripts"]).rightclick();
cy.umbracoContextMenuAction("action-create").click();
cy.get('.menu-label').first().click(); // TODO: Fucked we cant use something like cy.umbracoContextMenuAction("action-mediaType").click();