Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
This test asserts that the settingsMenuLink is not  present, and the appropriate test should be `isPresent()` not `isDisplayed()`
  • Loading branch information
megahirt committed Mar 10, 2022
1 parent 8bfaf45 commit 473948e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/app/bellows/project-settings.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('Bellows E2E Project Settings app', () => {
await loginPage.loginAsMember();
await projectsPage.get();
await projectsPage.clickOnProject(constants.testProjectName);
expect<boolean>(await settingsPage.settingsMenuLink.isDisplayed()).toBe(false);
expect<boolean>(await settingsPage.settingsMenuLink.isPresent()).toBe(false);
});

it('System Admin can manage project', async () => {
Expand Down

0 comments on commit 473948e

Please sign in to comment.