Skip to content

Commit 369b096

Browse files
committed
chore(tests): Add missing timeout(0) calls (when PAUSE_TIME is nonzero)
These two files were inadvertently omitted from commit 14d619c.
1 parent 30ca84f commit 369b096

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/webdriverio/test/toast_test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import * as Blockly from 'blockly/core';
99
import {PAUSE_TIME, testFileLocations, testSetup} from './test_setup.js';
1010

1111
suite('HTML toasts', function () {
12+
// Disable timeouts when non-zero PAUSE_TIME is used to watch tests run.
13+
if (PAUSE_TIME) this.timeout(0);
14+
1215
// Clear the workspace and load start blocks.
1316
setup(async function () {
1417
this.browser = await testSetup(testFileLocations.BASE);

test/webdriverio/test/workspace_comment_test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ import {
2323
import {Key} from 'webdriverio';
2424

2525
suite('Workspace comment navigation', function () {
26+
// Disable timeouts when non-zero PAUSE_TIME is used to watch tests run.
27+
if (PAUSE_TIME) this.timeout(0);
28+
2629
// Clear the workspace and load start blocks.
2730
setup(async function () {
2831
this.browser = await testSetup(testFileLocations.NAVIGATION_TEST_BLOCKS);

0 commit comments

Comments
 (0)