Skip to content
Snippets Groups Projects
Commit 2ad075e8 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Update language in integration tests

parent 2a6e60f8
No related branches found
No related tags found
No related merge requests found
...@@ -74,11 +74,11 @@ describe('blocks example', () => { ...@@ -74,11 +74,11 @@ describe('blocks example', () => {
await clickText('Operators'); await clickText('Operators');
await clickText('Data'); await clickText('Data');
await new Promise(resolve => setTimeout(resolve, 1000)); // Wait for scroll animation await new Promise(resolve => setTimeout(resolve, 1000)); // Wait for scroll animation
await clickText('Create variable...'); await clickText('Make a Variable');
let el = await findByXpath("//input[@placeholder='']"); let el = await findByXpath("//input[@placeholder='']");
await el.sendKeys('score'); await el.sendKeys('score');
await clickButton('OK'); await clickButton('OK');
await clickText('Create variable...'); await clickText('Make a Variable');
el = await findByXpath("//input[@placeholder='']"); el = await findByXpath("//input[@placeholder='']");
await el.sendKeys('second variable'); await el.sendKeys('second variable');
await clickButton('OK'); await clickButton('OK');
......
...@@ -161,11 +161,11 @@ describe('costumes, sounds and variables', () => { ...@@ -161,11 +161,11 @@ describe('costumes, sounds and variables', () => {
await clickText('Blocks'); await clickText('Blocks');
await clickText('Data', blocksTabScope); await clickText('Data', blocksTabScope);
await new Promise(resolve => setTimeout(resolve, 1000)); // Wait for scroll animation await new Promise(resolve => setTimeout(resolve, 1000)); // Wait for scroll animation
await clickText('Create variable...'); await clickText('Make a Variable');
let el = await findByXpath("//input[@placeholder='']"); let el = await findByXpath("//input[@placeholder='']");
await el.sendKeys('score'); await el.sendKeys('score');
await clickButton('OK'); await clickButton('OK');
await clickText('Create variable...'); await clickText('Make a Variable');
el = await findByXpath("//input[@placeholder='']"); el = await findByXpath("//input[@placeholder='']");
await el.sendKeys('second variable'); await el.sendKeys('second variable');
await clickButton('OK'); await clickButton('OK');
...@@ -221,7 +221,7 @@ describe('costumes, sounds and variables', () => { ...@@ -221,7 +221,7 @@ describe('costumes, sounds and variables', () => {
await loadUri(uri); await loadUri(uri);
await clickText('My Blocks'); await clickText('My Blocks');
await new Promise(resolve => setTimeout(resolve, 1000)); // Wait for scroll animation await new Promise(resolve => setTimeout(resolve, 1000)); // Wait for scroll animation
await clickText('Make a Block...'); await clickText('Make a Block');
// Click on the "add an input" buttons // Click on the "add an input" buttons
await clickText('number or text', modalScope); await clickText('number or text', modalScope);
await clickText('boolean', modalScope); await clickText('boolean', modalScope);
......
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