Merge branch 'develop' into improve-toolbox-perf

This commit is contained in:
Paul Kaplan authored and GitHub committed 2019-01-30 14:47:06 -05:00
commit 719c5d3c6f
3 files changed
+6 -4

No files matched your search

+2 -2
View File
@@ -105,12 +105,12 @@
"rimraf": "^2.6.1",
"scratch-audio": "0.1.0-prerelease.20190114210212",
"scratch-blocks": "0.1.0-prerelease.1548864869",
"scratch-l10n": "3.1.20190123150639",
"scratch-l10n": "3.1.20190130142816",
"scratch-paint": "0.2.0-prerelease.20190114205252",
"scratch-render": "0.1.0-prerelease.20190128154859",
"scratch-storage": "1.2.2",
"scratch-svg-renderer": "0.2.0-prerelease.20190125192231",
"scratch-vm": "0.2.0-prerelease.20190128162704",
"scratch-vm": "0.2.0-prerelease.20190130160436",
"selenium-webdriver": "3.6.0",
"startaudiocontext": "1.2.1",
"style-loader": "^0.23.0",
+1 -1
View File
@@ -5,7 +5,6 @@
*/
/* Toolbox z-index: 40; set in scratch-blocks */
$z-index-menu-bar: 41;
$z-index-extension-button: 42;
$z-index-stage-indicator: 45;
$z-index-add-button: 46;
@@ -15,6 +14,7 @@ $z-index-monitor: 48; /* monitors go over add buttons */
$z-index-card: 480;
$z-index-alerts: 490;
$z-index-menu-bar: 491; /* menu-bar should go over monitors, alerts and tutorials */
$z-index-loader: 500;
$z-index-modal: 510;
+3 -1
View File
@@ -156,7 +156,9 @@ describe('Loading scratch gui', () => {
await inputElement.sendKeys(`scratch.mit.edu/projects/${projectId}`);
await clickXpath('//button[@title="View Project"]');
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(
'//div[contains(@class, "menu-bar_menu-bar-item") and ' +
'contains(@class, "menu-bar_hoverable")][span[text()="File"]]'