mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Merge pull request #2982 from LLK/my-stuff-integration-update
Make Add to studio test in test-my-stuff integration test look in shared projects
This commit is contained in:
commit
59ff5968eb
1 changed files with 1 additions and 0 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue