diff --git a/tests/cypress/tests/01-wizard/01-wizard.spec.ts b/tests/cypress/tests/01-wizard/01-wizard.spec.ts index 4cbe11a3c..b0ff071f5 100644 --- a/tests/cypress/tests/01-wizard/01-wizard.spec.ts +++ b/tests/cypress/tests/01-wizard/01-wizard.spec.ts @@ -8,7 +8,7 @@ describe("Wizard Setup", () => { }); - it("Finsh with no local user", () => { + it.only("Finsh with no local user", () => { Page.visit(); Page.welcomeTab.next.click(); @@ -22,15 +22,8 @@ describe("Wizard Setup", () => { // Verify we end back up on the user page Page.matStepsHeader.then((items) => { - const results = items.filter((index, html) => { - var attributes = Cypress.$(html).attr('ng-reflect-index'); - return attributes === "2"; // 2nd index - }).get()[0]; + cy.get('#cdk-step-label-0-2').should('have.attr', 'aria-selected', 'true'); - console.log(results); - - var attr = Cypress.$(results).attr('ng-reflect-selected'); - assert.equal(attr, 'true'); }); });