Skip to content

Commit

Permalink
tests: fix tests
Browse files Browse the repository at this point in the history
stop the freaking spam
  • Loading branch information
makinbacon21 committed Feb 27, 2024
1 parent 14d64cc commit fadfb53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browserTests/src/common-page-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function hasContainerElements(
it('does not have links besides documentation', async () => {
const navbarList = driver.findElement(By.className('navbar-nav'));
const children = await navbarList.findElements(By.xpath('*'));
expect(children).to.have.length(1);
expect(children).to.have.lengthOf(2);
});
}

Expand Down Expand Up @@ -93,7 +93,7 @@ export function hasContainerElements(
const adminElements = driver
.findElement(By.className('navbar-nav'))
.findElements(By.linkText('Admin'));
return expect(adminElements).to.eventually.have.length(0);
return expect(adminElements).to.eventually.have.lengthOf(0);
});
}
});
Expand Down

0 comments on commit fadfb53

Please sign in to comment.