mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-23 14:35:24 -07:00
parent
714e4c81ee
commit
0e9c58d2b1
1 changed files with 8 additions and 1 deletions
|
@ -22,8 +22,15 @@ describe("Wizard Setup", () => {
|
||||||
// Verify we end back up on the user page
|
// Verify we end back up on the user page
|
||||||
Page.matStepsHeader.then((items) => {
|
Page.matStepsHeader.then((items) => {
|
||||||
|
|
||||||
cy.get('#cdk-step-label-0-2').should('have.attr', 'aria-selected', 'true');
|
const results = items.filter((index, html) => {
|
||||||
|
var attributes = Cypress.$(html).attr('ng-reflect-index');
|
||||||
|
return attributes === "2"; // 2nd index
|
||||||
|
}).get()[0];
|
||||||
|
|
||||||
|
console.log(results);
|
||||||
|
|
||||||
|
var attr = Cypress.$(results).attr('ng-reflect-selected');
|
||||||
|
assert.equal(attr, 'true');
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue