Skip to content

Commit

Permalink
tweak E2E tests
Browse files Browse the repository at this point in the history
change assertion to isDisplayed()
  • Loading branch information
megahirt committed Feb 9, 2022
1 parent a0b7b65 commit ba54c77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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<string>(await settingsPage.settingsMenuLink.getAttribute('class')).not.toContain('app-settings-available');
expect<boolean>(await settingsPage.settingsMenuLink.isDisplayed()).toBe(false);
});

it('System Admin can manage project', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Lexicon E2E Configuration Input Systems', () => {
await loginPage.loginAsUser();
await projectsPage.get();
await projectsPage.clickOnProject(constants.testProjectName);
expect<any>(await configPage.settingsMenuLink.getAttribute('class')).not.toContain('app-settings-available');
expect<boolean>(await configPage.settingsMenuLink.isDisplayed()).toBe(false);
});

it('setup: login as manager, select test project, goto configuration', async () => {
Expand Down

0 comments on commit ba54c77

Please sign in to comment.