Skip to content

Commit 69896a2

Browse files
committed
chore: Re-enable all suites and tests.
1 parent 339667e commit 69896a2

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

test/webdriverio/test/flyout_test.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
setSynchronizeCoreBlocklyRendering,
2626
} from './test_setup.js';
2727

28-
suite.only('Toolbox and flyout test', function () {
28+
suite('Toolbox and flyout test', function () {
2929
// Disable timeouts when non-zero PAUSE_TIME is used to watch tests run.
3030
if (PAUSE_TIME) this.timeout(0);
3131

@@ -39,7 +39,7 @@ suite.only('Toolbox and flyout test', function () {
3939
await checkForFailures(this.browser, this.currentTest!.title, this.currentTest?.state);
4040
});
4141

42-
test.skip('Tab navigating to toolbox should open flyout', async function () {
42+
test('Tab navigating to toolbox should open flyout', async function () {
4343
// Two tabs should navigate to the toolbox (initial element is skipped).
4444
await tabNavigateForward(this.browser);
4545

@@ -50,7 +50,7 @@ suite.only('Toolbox and flyout test', function () {
5050
chai.assert.isTrue(flyoutIsOpen);
5151
});
5252

53-
test.skip('Tab navigating to flyout should auto-select first block', async function () {
53+
test('Tab navigating to flyout should auto-select first block', async function () {
5454
// Three tabs should navigate to the flyout (initial element is skipped).
5555
await tabNavigateForward(this.browser);
5656
await tabNavigateForward(this.browser);
@@ -63,7 +63,7 @@ suite.only('Toolbox and flyout test', function () {
6363
chai.assert.strictEqual(blockId, 'if_block');
6464
});
6565

66-
test.skip('Tab navigating to toolbox then right arrow key should auto-select first block in flyout', async function () {
66+
test('Tab navigating to toolbox then right arrow key should auto-select first block in flyout', async function () {
6767
// Two tabs should navigate to the toolbox (initial element is skipped). One
6868
// right arrow key should select a block on the flyout.
6969
await tabNavigateForward(this.browser);
@@ -77,7 +77,7 @@ suite.only('Toolbox and flyout test', function () {
7777
chai.assert.strictEqual(blockId, 'if_block');
7878
});
7979

80-
test.skip('Keyboard nav to different toolbox category should auto-select first block', async function () {
80+
test('Keyboard nav to different toolbox category should auto-select first block', async function () {
8181
// Two tabs should navigate to the toolbox (initial element is skipped),
8282
// then keys for a different category with a tab to select the flyout.
8383
await tabNavigateForward(this.browser);
@@ -91,7 +91,7 @@ suite.only('Toolbox and flyout test', function () {
9191
chai.assert.strictEqual(blockId, 'text_block');
9292
});
9393

94-
test.skip('Keyboard nav to different toolbox category and block should select different block', async function () {
94+
test('Keyboard nav to different toolbox category and block should select different block', async function () {
9595
// Two tabs should navigate to the toolbox (initial element is skipped),
9696
// then keys for a different category with a tab to select the flyout and
9797
// finally keys to select a different block.
@@ -107,7 +107,7 @@ suite.only('Toolbox and flyout test', function () {
107107
chai.assert.strictEqual(blockId, 'append_text_block');
108108
});
109109

110-
test.skip('Tab navigate away from toolbox restores focus to initial element', async function () {
110+
test('Tab navigate away from toolbox restores focus to initial element', async function () {
111111
// Two tabs should navigate to the toolbox. One tab back should leave it.
112112
await tabNavigateForward(this.browser);
113113
await tabNavigateForward(this.browser);
@@ -122,7 +122,7 @@ suite.only('Toolbox and flyout test', function () {
122122
chai.assert.strictEqual(activeElementId, 'focusableDiv');
123123
});
124124

125-
test.skip('Tab navigate away from toolbox closes flyout', async function () {
125+
test('Tab navigate away from toolbox closes flyout', async function () {
126126
// Two tabs should navigate to the toolbox. One tab back should leave it.
127127
await tabNavigateForward(this.browser);
128128
await tabNavigateForward(this.browser);
@@ -135,7 +135,7 @@ suite.only('Toolbox and flyout test', function () {
135135
chai.assert.isFalse(flyoutIsOpen);
136136
});
137137

138-
test.skip('Tab navigate away from flyout to toolbox and away closes flyout', async function () {
138+
test('Tab navigate away from flyout to toolbox and away closes flyout', async function () {
139139
// Three tabs should navigate to the flyout, and two tabs back should close.
140140
await tabNavigateForward(this.browser);
141141
await tabNavigateForward(this.browser);
@@ -149,7 +149,7 @@ suite.only('Toolbox and flyout test', function () {
149149
chai.assert.isFalse(flyoutIsOpen);
150150
});
151151

152-
test.skip('Tabbing to the workspace should close the flyout', async function () {
152+
test('Tabbing to the workspace should close the flyout', async function () {
153153
await tabNavigateToWorkspace(this.browser);
154154
await idle(this.browser);
155155

@@ -158,7 +158,7 @@ suite.only('Toolbox and flyout test', function () {
158158
chai.assert.isFalse(flyoutIsOpen);
159159
});
160160

161-
test.skip('Tabbing to the workspace after selecting flyout block should close the flyout', async function () {
161+
test('Tabbing to the workspace after selecting flyout block should close the flyout', async function () {
162162
// Two tabs should navigate to the toolbox (initial element is skipped),
163163
// then use right key to specifically navigate into the flyout before
164164
// navigating to the workspace.
@@ -174,7 +174,7 @@ suite.only('Toolbox and flyout test', function () {
174174
chai.assert.isFalse(flyoutIsOpen);
175175
});
176176

177-
test.skip('Tabbing to the workspace after selecting flyout block via workspace toolbox shortcut should close the flyout', async function () {
177+
test('Tabbing to the workspace after selecting flyout block via workspace toolbox shortcut should close the flyout', async function () {
178178
await tabNavigateToWorkspace(this.browser);
179179

180180
await sendKeyAndWait(this.browser, 't');
@@ -187,7 +187,7 @@ suite.only('Toolbox and flyout test', function () {
187187
chai.assert.isFalse(flyoutIsOpen);
188188
});
189189

190-
test.skip('Tabbing back from workspace should reopen the flyout', async function () {
190+
test('Tabbing back from workspace should reopen the flyout', async function () {
191191
await tabNavigateToWorkspace(this.browser);
192192

193193
await tabNavigateBackward(this.browser);
@@ -198,7 +198,7 @@ suite.only('Toolbox and flyout test', function () {
198198
chai.assert.isTrue(flyoutIsOpen);
199199
});
200200

201-
test.skip('Navigation position in workspace should be retained when tabbing to flyout and back', async function () {
201+
test('Navigation position in workspace should be retained when tabbing to flyout and back', async function () {
202202
// Navigate to the workspace and select a non-default block.
203203
await tabNavigateToWorkspace(this.browser);
204204

@@ -214,7 +214,7 @@ suite.only('Toolbox and flyout test', function () {
214214
chai.assert.strictEqual(blockId, 'p5_draw_1');
215215
});
216216

217-
test.skip('Clicking outside Blockly with focused toolbox closes the flyout', async function () {
217+
test('Clicking outside Blockly with focused toolbox closes the flyout', async function () {
218218
// Two tabs should navigate to the toolbox. One click to unfocus.
219219
await tabNavigateForward(this.browser);
220220
await tabNavigateForward(this.browser);
@@ -227,7 +227,7 @@ suite.only('Toolbox and flyout test', function () {
227227
chai.assert.isFalse(flyoutIsOpen);
228228
});
229229

230-
test.skip('Clicking outside Blockly with focused flyout closes the flyout', async function () {
230+
test('Clicking outside Blockly with focused flyout closes the flyout', async function () {
231231
// Two tabs should navigate to the toolbox. One key to select the flyout.
232232
await tabNavigateForward(this.browser);
233233
await tabNavigateForward(this.browser);
@@ -242,7 +242,7 @@ suite.only('Toolbox and flyout test', function () {
242242
chai.assert.isFalse(flyoutIsOpen);
243243
});
244244

245-
test.skip('Clicking on toolbox category focuses it and opens flyout', async function () {
245+
test('Clicking on toolbox category focuses it and opens flyout', async function () {
246246
const elemId = await findToolboxCategoryIdByName(this.browser, 'Loops');
247247
const elem = this.browser.$(`#${elemId}`);
248248
await elem.click();
@@ -311,7 +311,7 @@ suite.only('Toolbox and flyout test', function () {
311311
await this.browser.getAlertText();
312312
});
313313

314-
test.skip('callbackKey is activated with enter', async function () {
314+
test('callbackKey is activated with enter', async function () {
315315
setSynchronizeCoreBlocklyRendering(false);
316316
await tabNavigateToToolbox(this.browser);
317317
await idle(this.browser);

test/webdriverio/test/move_test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
idle,
2121
} from './test_setup.js';
2222

23-
suite.only('Move start tests', function () {
23+
suite('Move start tests', function () {
2424
// Increase timeout to 10s for this longer test (but disable
2525
// timeouts if when non-zero PAUSE_TIME is used to watch tests) run.
2626
this.timeout(PAUSE_TIME ? 0 : 10000);
@@ -46,7 +46,7 @@ suite.only('Move start tests', function () {
4646
//
4747
// Also tests initating a move using the shortcut key.
4848
test('Start moving statement blocks', async function () {
49-
for (let i = 1; i < 2; i++) {
49+
for (let i = 1; i < 7; i++) {
5050
// Navigate to statement_<i>.
5151
await focusOnBlock(this.browser, `statement_${i}`);
5252

@@ -110,7 +110,7 @@ suite.only('Move start tests', function () {
110110
//
111111
// Also tests initiating a move via the context menu.
112112
test('Start moving value blocks', async function () {
113-
for (let i = 1; i < 2; i++) {
113+
for (let i = 1; i < 7; i++) {
114114
// Navigate to statement_<i>.
115115
await focusOnBlock(this.browser, `value_${i}`);
116116

0 commit comments

Comments
 (0)