From 473948ef927e03e4ef02d13323e45dae5e6b6879 Mon Sep 17 00:00:00 2001 From: Chris Hirt Date: Thu, 10 Mar 2022 14:54:52 +0700 Subject: [PATCH] fix flaky test This test asserts that the settingsMenuLink is not present, and the appropriate test should be `isPresent()` not `isDisplayed()` --- test/app/bellows/project-settings.e2e-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/app/bellows/project-settings.e2e-spec.ts b/test/app/bellows/project-settings.e2e-spec.ts index a30ecc8307..83134f4942 100644 --- a/test/app/bellows/project-settings.e2e-spec.ts +++ b/test/app/bellows/project-settings.e2e-spec.ts @@ -15,7 +15,7 @@ describe('Bellows E2E Project Settings app', () => { await loginPage.loginAsMember(); await projectsPage.get(); await projectsPage.clickOnProject(constants.testProjectName); - expect(await settingsPage.settingsMenuLink.isDisplayed()).toBe(false); + expect(await settingsPage.settingsMenuLink.isPresent()).toBe(false); }); it('System Admin can manage project', async () => {