Update design for editor tabs with icons, changing blocks to code.
Resolves https://github.com/LLK/scratch-gui/issues/1713
This commit is contained in:
1 parent
ebcd2ab222
commit
0753d0794d
7 files changed
+116
-14
No files matched your search
@@ -29,7 +29,7 @@ describe('Working with the blocks', () => {
|
||||
test('Blocks report when clicked in the toolbox', async () => {
|
||||
await loadUri(uri);
|
||||
await clickXpath('//button[@title="tryit"]');
|
||||
await clickText('Blocks');
|
||||
await clickText('Code');
|
||||
await clickText('Operators', scope.blocksTab);
|
||||
await new Promise(resolve => setTimeout(resolve, 1000)); // Wait for scroll animation
|
||||
await clickText('join', scope.blocksTab); // Click "join <hello> <world>" block
|
||||
@@ -58,7 +58,7 @@ describe('Working with the blocks', () => {
|
||||
test('Creating variables', async () => {
|
||||
await loadUri(uri);
|
||||
await clickXpath('//button[@title="tryit"]');
|
||||
await clickText('Blocks');
|
||||
await clickText('Code');
|
||||
await clickText('Variables', scope.blocksTab);
|
||||
await new Promise(resolve => setTimeout(resolve, 1000)); // Wait for scroll animation
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ describe('Localization', () => {
|
||||
test.skip('Localization', async () => {
|
||||
await loadUri(uri);
|
||||
await clickXpath('//button[@title="tryit"]');
|
||||
await clickText('Blocks');
|
||||
await clickText('Code');
|
||||
await clickXpath('//button[@title="Add Extension"]');
|
||||
await clickText('Pen', scope.modal); // Modal closes
|
||||
await new Promise(resolve => setTimeout(resolve, 1000)); // Wait for scroll animation
|
||||
|
||||
Reference in new issue
Block a user