|
|
|
@ -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');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|