Commit bf91904a authored by BryceLTaylor's avatar BryceLTaylor

update homepage-rows and my-stuff integrationt ests for new studio page

parent a0fcf889
...@@ -52,8 +52,8 @@ describe('www-integration project rows', () => { ...@@ -52,8 +52,8 @@ describe('www-integration project rows', () => {
test('Featured Studios link', async () => { test('Featured Studios link', async () => {
await clickXpath('//div[@class="box"][descendant::text()="Featured Studios"]' + await clickXpath('//div[@class="box"][descendant::text()="Featured Studios"]' +
'//div[contains(@class, "thumbnail")][1]/a[@class="thumbnail-image"]'); '//div[contains(@class, "thumbnail")][1]/a[@class="thumbnail-image"]');
let galleryInfo = await findByXpath('//div[contains(@class, "gallery-info")]'); let studioInfo = await findByXpath('//div[contains(@class, "studio-info")]');
let galleryInfoDisplayed = await galleryInfo.isDisplayed(); let studioInfoDisplayed = await studioInfo.isDisplayed();
await expect(galleryInfoDisplayed).toBe(true); await expect(studioInfoDisplayed).toBe(true);
}); });
}); });
...@@ -92,7 +92,7 @@ describe('www-integration my_stuff', () => { ...@@ -92,7 +92,7 @@ describe('www-integration my_stuff', () => {
await clickXpath('//form[@id="new_studio"]/button[@type="submit"]'); await clickXpath('//form[@id="new_studio"]/button[@type="submit"]');
await driver.sleep(500); await driver.sleep(500);
// my stuff also has an element with the id tabs // 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(); let tabsVisible = await tabs.isDisplayed();
expect(tabsVisible).toBe(true); expect(tabsVisible).toBe(true);
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment