From 37d279f6e5b925ed388a78ae3fbfca0fac4b46da Mon Sep 17 00:00:00 2001 From: BryceLTaylor Date: Thu, 22 Oct 2020 14:54:58 -0400 Subject: [PATCH] Search for the gui component in navbar create test --- test/integration/navbar.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/navbar.test.js b/test/integration/navbar.test.js index fca59c230..403082645 100644 --- a/test/integration/navbar.test.js +++ b/test/integration/navbar.test.js @@ -56,9 +56,9 @@ describe('www-integration navbar links', () => { test('create when signed out', async () => { await clickXpath('//li[@class="link create"]'); - let infoArea = await findByXpath('//div[@class="sprite-info_sprite-info_3EyZh box_box_2jjDp"]'); - let areaVisible = await infoArea.isDisplayed(); - await expect(areaVisible).toBe(true); + let gui = await findByXpath('//div[contains(@class, "gui")]'); + let guiVisible = await gui.isDisplayed(); + await expect(guiVisible).toBe(true); }); test('Explore link when signed out', async () => {