Skip to content
Snippets Groups Projects
Unverified Commit 45659f23 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #4457 from kchadha/update-project-changes-test

Update project changes test 
parents 7ba92a6e af462ec3
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,9 @@ describe('Loading scratch gui', () => { ...@@ -156,7 +156,9 @@ describe('Loading scratch gui', () => {
await inputElement.sendKeys(`scratch.mit.edu/projects/${projectId}`); await inputElement.sendKeys(`scratch.mit.edu/projects/${projectId}`);
await clickXpath('//button[@title="View Project"]'); await clickXpath('//button[@title="View Project"]');
await new Promise(resolve => setTimeout(resolve, 2000)); await new Promise(resolve => setTimeout(resolve, 2000));
await clickText('move'); await clickText('Sounds');
await clickXpath('//button[@aria-label="Choose a Sound"]');
await clickText('A Bass', scope.modal); // Should close the modal
await clickXpath( await clickXpath(
'//div[contains(@class, "menu-bar_menu-bar-item") and ' + '//div[contains(@class, "menu-bar_menu-bar-item") and ' +
'contains(@class, "menu-bar_hoverable")][span[text()="File"]]' 'contains(@class, "menu-bar_hoverable")][span[text()="File"]]'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment