Tours green - clicked correct element

This commit is contained in:
Emma Garland
2020-08-24 16:23:18 +01:00
parent cdab15af91
commit 27a98dbdaa

View File

@@ -17,7 +17,7 @@ context('Backoffice Tour', () => {
//assert
cy.get('[data-element="help-tours"]').should("be.visible");
cy.get('[data-element="help-tours"]').click();
getPercentage(60000, 17);
getPercentage(17, 60000);
});
it('Backoffice introduction tour should run then rerun', () => {
@@ -29,9 +29,9 @@ context('Backoffice Tour', () => {
//assert
cy.get('[data-element="help-tours"]').should("be.visible");
cy.get('[data-element="help-tours"] .umb-help-list').click();
cy.get('[data-element="help-tours"]').click();
cy.umbracoGlobalHelp().should("be.visible");
getPercentage(60000, 17);
getPercentage(17, 60000);
});
afterEach(() => {