Skip to content

Commit c19d235

Browse files
committed
test: wait to show start
1 parent f973f96 commit c19d235

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

test/integration/ruby-tab/control.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const {
1111
scope,
1212
getDriver,
1313
loadUri,
14+
notExistsByXpath,
1415
urlFor
1516
} = seleniumHelper;
1617

@@ -34,6 +35,7 @@ describe('Ruby Tab: Control category blocks', () => {
3435

3536
test('Ruby -> Code -> Ruby', async () => {
3637
await loadUri(urlFor('/'));
38+
await notExistsByXpath('//*[div[contains(@class, "loader_background")]]');
3739
await clickXpath('//button[@aria-label="Choose a Sprite"]');
3840
await clickText('Abby', scope.modal);
3941
await findByXpath(

test/integration/ruby-tab/motion.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const {
99
scope,
1010
getDriver,
1111
loadUri,
12+
notExistsByXpath,
1213
urlFor
1314
} = seleniumHelper;
1415

@@ -30,6 +31,7 @@ describe('Ruby Tab: Motion category blocks', () => {
3031

3132
test('Ruby -> Code -> Ruby', async () => {
3233
await loadUri(urlFor('/'));
34+
await notExistsByXpath('//*[div[contains(@class, "loader_background")]]');
3335
await clickXpath('//button[@aria-label="Choose a Sprite"]');
3436
await clickText('Abby', scope.modal);
3537
await clickText('Sprite1', scope.spriteItems);

test/integration/ruby-tab/sensing.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const {
99
scope,
1010
getDriver,
1111
loadUri,
12+
notExistsByXpath,
1213
urlFor
1314
} = seleniumHelper;
1415

@@ -30,6 +31,7 @@ describe('Ruby Tab: Control category blocks', () => {
3031

3132
test('Ruby -> Code -> Ruby', async () => {
3233
await loadUri(urlFor('/'));
34+
await notExistsByXpath('//*[div[contains(@class, "loader_background")]]');
3335
await clickXpath('//button[@aria-label="Choose a Sprite"]');
3436
await clickText('Abby', scope.modal);
3537
await clickText('Sprite1', scope.spriteItems);

0 commit comments

Comments
 (0)