From bf91904a33ab4d792b1599d7ef7550d5dd561b15 Mon Sep 17 00:00:00 2001 From: BryceLTaylor Date: Fri, 25 Jun 2021 17:32:57 -0400 Subject: [PATCH] update homepage-rows and my-stuff integrationt ests for new studio page --- test/integration/homepage-rows.test.js | 6 +++--- test/integration/my-stuff.test.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/homepage-rows.test.js b/test/integration/homepage-rows.test.js index ccf436e5f..a49f6b558 100644 --- a/test/integration/homepage-rows.test.js +++ b/test/integration/homepage-rows.test.js @@ -52,8 +52,8 @@ describe('www-integration project rows', () => { test('Featured Studios link', async () => { await clickXpath('//div[@class="box"][descendant::text()="Featured Studios"]' + '//div[contains(@class, "thumbnail")][1]/a[@class="thumbnail-image"]'); - let galleryInfo = await findByXpath('//div[contains(@class, "gallery-info")]'); - let galleryInfoDisplayed = await galleryInfo.isDisplayed(); - await expect(galleryInfoDisplayed).toBe(true); + let studioInfo = await findByXpath('//div[contains(@class, "studio-info")]'); + let studioInfoDisplayed = await studioInfo.isDisplayed(); + await expect(studioInfoDisplayed).toBe(true); }); }); diff --git a/test/integration/my-stuff.test.js b/test/integration/my-stuff.test.js index 5723d6e8a..0eef79829 100644 --- a/test/integration/my-stuff.test.js +++ b/test/integration/my-stuff.test.js @@ -92,7 +92,7 @@ describe('www-integration my_stuff', () => { await clickXpath('//form[@id="new_studio"]/button[@type="submit"]'); await driver.sleep(500); // my stuff also has an element with the id tabs - let tabs = await findByXpath('//ul[@id="tabs" and @class="tabs-index box-h-tabs h-tabs"]'); + let tabs = await findByXpath('//div[@class="studio-tabs"]'); let tabsVisible = await tabs.isDisplayed(); expect(tabsVisible).toBe(true); });