From 8d4f387093316b2bdfcc784fce809ea31f992822 Mon Sep 17 00:00:00 2001 From: BryceLTaylor Date: Thu, 16 May 2019 11:45:29 -0400 Subject: [PATCH] Make Add to studio test in test-my-stuff integration test look in shared projects --- test/integration/smoke-testing/test-my-stuff.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/smoke-testing/test-my-stuff.js b/test/integration/smoke-testing/test-my-stuff.js index 1d39c72f8..7a971e06d 100644 --- a/test/integration/smoke-testing/test-my-stuff.js +++ b/test/integration/smoke-testing/test-my-stuff.js @@ -101,6 +101,7 @@ test('clicking a project title should take you to the project page', t => { test('Add To button should bring up a list of studios', t => { clickXpath('//a[contains(@class, "mystuff-icon")]') + .then(() => clickXpath('//div[@id="sidebar"]/ul/li[@data-tab="shared"]')) .then(() => findByXpath('//div[@data-control="add-to"]')) .then((element) => element.getText('span')) .then((text) => t.equal(text, 'Add to', 'there should be an "Add to" button'))