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); });