Skip to content

Commit 612b65d

Browse files
committed
test: wait more time
1 parent ffc0488 commit 612b65d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

test/integration/blocks.test.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('Working with the blocks', () => {
4141
await findByText('apple banana', scope.reportedValue); // Tooltip with result
4242
const logs = await getLogs();
4343
await expect(logs).toEqual([]);
44-
});
44+
}, 60 * 1000);
4545

4646
test('Switching sprites updates the block menus', async () => {
4747
await loadUri(uri);
@@ -56,7 +56,7 @@ describe('Working with the blocks', () => {
5656

5757
const logs = await getLogs();
5858
await expect(logs).toEqual([]);
59-
});
59+
}, 60 * 1000);
6060

6161
test('Creating variables', async () => {
6262
await loadUri(uri);
@@ -103,7 +103,7 @@ describe('Working with the blocks', () => {
103103

104104
const logs = await getLogs();
105105
await expect(logs).toEqual([]);
106-
});
106+
}, 60 * 1000);
107107

108108
test('Creating a list', async () => {
109109
await loadUri(uri);
@@ -143,7 +143,7 @@ describe('Working with the blocks', () => {
143143

144144
const logs = await getLogs();
145145
await expect(logs).toEqual([]);
146-
});
146+
}, 60 * 1000);
147147

148148
test('Custom procedures', async () => {
149149
await loadUri(uri);
@@ -160,7 +160,7 @@ describe('Working with the blocks', () => {
160160

161161
const logs = await getLogs();
162162
await expect(logs).toEqual([]);
163-
});
163+
}, 60 * 1000);
164164

165165
test('Adding an extension', async () => {
166166
await loadUri(uri);
@@ -173,7 +173,7 @@ describe('Working with the blocks', () => {
173173

174174
const logs = await getLogs();
175175
await expect(logs).toEqual([]);
176-
});
176+
}, 60 * 1000);
177177

178178
test('Record option from sound block menu opens sound recorder', async () => {
179179
await loadUri(uri);
@@ -207,7 +207,7 @@ describe('Working with the blocks', () => {
207207
await clickText('Code');
208208
await clickBlocksCategory('Looks');
209209
await clickText('newname', scope.blocksTab);
210-
});
210+
}, 60 * 1000);
211211

212212
test.skip('Renaming costume with a special character should not break toolbox', async () => {
213213
await loadUri(uri);
@@ -228,7 +228,7 @@ describe('Working with the blocks', () => {
228228
await clickText('<NewCostume>', scope.blocksTab);
229229

230230
await clickBlocksCategory('Sound');
231-
});
231+
}, 60 * 1000);
232232

233233
test('Adding costumes DOES update the default costume name in the toolbox', async () => {
234234
await loadUri(uri);
@@ -251,7 +251,7 @@ describe('Working with the blocks', () => {
251251
// Check that the menu has been updated
252252
await clickText('Code');
253253
await clickText('costume2', scope.blocksTab);
254-
});
254+
}, 60 * 1000);
255255

256256
// Skipped because it was flakey on travis, but seems to run locally ok
257257
test('Adding a sound DOES update the default sound name in the toolbox', async () => {
@@ -265,7 +265,7 @@ describe('Working with the blocks', () => {
265265
await clickText('Code');
266266
await clickBlocksCategory('Sound');
267267
await clickText('A\u00A0Bass', scope.blocksTab); // Need &nbsp; for block text
268-
});
268+
}, 60 * 1000);
269269

270270
// Regression test for switching between editor/player causing toolbox to stop updating
271271
test('"See inside" after being on project page re-initializing variables', async () => {
@@ -280,7 +280,7 @@ describe('Working with the blocks', () => {
280280

281281
await clickBlocksCategory('Variables');
282282
await clickText('my\u00A0variable');
283-
});
283+
}, 60 * 1000);
284284

285285
// Regression test for switching editor tabs causing toolbox to stop updating
286286
test('Creating variables after adding extensions updates the toolbox', async () => {
@@ -293,7 +293,7 @@ describe('Working with the blocks', () => {
293293
await el.sendKeys('list1');
294294
await clickButton('OK');
295295
await clickText('list1', scope.blocksTab);
296-
});
296+
}, 60 * 1000);
297297

298298
test('Use variable blocks after switching languages', async () => {
299299
const myVariable = 'my\u00A0variable';
@@ -335,5 +335,5 @@ describe('Working with the blocks', () => {
335335
// check it is turned up to 11
336336
await clickText(myVariable);
337337
await findByText('11', scope.reportedValue);
338-
});
338+
}, 60 * 1000);
339339
});

0 commit comments

Comments
 (0)