@@ -41,7 +41,7 @@ describe('Working with costumes', () => {
41
41
await findByXpath ( "//input[@value='Abby-a']" ) ; // Should show editor for new costume
42
42
const logs = await getLogs ( ) ;
43
43
await expect ( logs ) . toEqual ( [ ] ) ;
44
- } ) ;
44
+ } , 60 * 1000 ) ;
45
45
46
46
test ( 'Adding a costume by surprise button' , async ( ) => {
47
47
await loadUri ( uri ) ;
@@ -53,7 +53,7 @@ describe('Working with costumes', () => {
53
53
await clickXpath ( '//button[@aria-label="Surprise"]' ) ;
54
54
const logs = await getLogs ( ) ;
55
55
await expect ( logs ) . toEqual ( [ ] ) ;
56
- } ) ;
56
+ } , 60 * 1000 ) ;
57
57
58
58
test ( 'Adding a costume by paint button' , async ( ) => {
59
59
await loadUri ( uri ) ;
@@ -65,7 +65,7 @@ describe('Working with costumes', () => {
65
65
await clickXpath ( '//button[@aria-label="Paint"]' ) ;
66
66
const logs = await getLogs ( ) ;
67
67
await expect ( logs ) . toEqual ( [ ] ) ;
68
- } ) ;
68
+ } , 60 * 1000 ) ;
69
69
70
70
test ( 'Duplicating a costume' , async ( ) => {
71
71
await loadUri ( uri ) ;
@@ -80,7 +80,7 @@ describe('Working with costumes', () => {
80
80
81
81
const logs = await getLogs ( ) ;
82
82
await expect ( logs ) . toEqual ( [ ] ) ;
83
- } ) ;
83
+ } , 60 * 1000 ) ;
84
84
85
85
test ( 'Converting bitmap/vector in paint editor' , async ( ) => {
86
86
await loadUri ( uri ) ;
@@ -107,7 +107,7 @@ describe('Working with costumes', () => {
107
107
108
108
const logs = await getLogs ( ) ;
109
109
await expect ( logs ) . toEqual ( [ ] ) ;
110
- } ) ;
110
+ } , 60 * 1000 ) ;
111
111
112
112
test ( 'Undo/redo in the paint editor' , async ( ) => {
113
113
await loadUri ( uri ) ;
@@ -121,7 +121,7 @@ describe('Working with costumes', () => {
121
121
await clickText ( 'Convert to Vector' , scope . costumesTab ) ;
122
122
const logs = await getLogs ( ) ;
123
123
await expect ( logs ) . toEqual ( [ ] ) ;
124
- } ) ;
124
+ } , 60 * 1000 ) ;
125
125
126
126
test ( 'Adding an svg from file' , async ( ) => {
127
127
await loadUri ( uri ) ;
@@ -136,7 +136,7 @@ describe('Working with costumes', () => {
136
136
await clickText ( '100 x 100' , scope . costumesTab ) ; // Size is right
137
137
const logs = await getLogs ( ) ;
138
138
await expect ( logs ) . toEqual ( [ ] ) ;
139
- } ) ;
139
+ } , 60 * 1000 ) ;
140
140
141
141
test ( 'Adding a png from file (gh-3582)' , async ( ) => {
142
142
await loadUri ( uri ) ;
@@ -150,7 +150,7 @@ describe('Working with costumes', () => {
150
150
await clickText ( 'gh-3582-png' , scope . costumesTab ) ;
151
151
const logs = await getLogs ( ) ;
152
152
await expect ( logs ) . toEqual ( [ ] ) ;
153
- } ) ;
153
+ } , 60 * 1000 ) ;
154
154
155
155
test ( 'Adding a bmp from file' , async ( ) => {
156
156
await loadUri ( uri ) ;
@@ -164,7 +164,7 @@ describe('Working with costumes', () => {
164
164
await clickText ( 'bmpfile' , scope . costumesTab ) ;
165
165
const logs = await getLogs ( ) ;
166
166
await expect ( logs ) . toEqual ( [ ] ) ;
167
- } ) ;
167
+ } , 60 * 1000 ) ;
168
168
169
169
test ( 'Adding several costumes with a gif' , async ( ) => {
170
170
await loadUri ( uri ) ;
@@ -185,7 +185,7 @@ describe('Working with costumes', () => {
185
185
186
186
const logs = await getLogs ( ) ;
187
187
await expect ( logs ) . toEqual ( [ ] ) ;
188
- } ) ;
188
+ } , 60 * 1000 ) ;
189
189
190
190
test ( 'Adding a letter costume through the Letters filter in the library' , async ( ) => {
191
191
await loadUri ( uri ) ;
@@ -199,7 +199,7 @@ describe('Working with costumes', () => {
199
199
await rightClickText ( 'Block-a' , scope . costumesTab ) ; // Make sure it is there
200
200
const logs = await getLogs ( ) ;
201
201
await expect ( logs ) . toEqual ( [ ] ) ;
202
- } ) ;
202
+ } , 60 * 1000 ) ;
203
203
204
204
test ( 'Costumes animate on mouseover' , async ( ) => {
205
205
await loadUri ( uri ) ;
@@ -214,7 +214,7 @@ describe('Working with costumes', () => {
214
214
await findByXpath ( '//img[@src="https://cdn.assets.scratch.mit.edu/internalapi/asset/45de34b47a2ce22f6f5d28bb35a44ff5.svg/get/"]' ) ;
215
215
const logs = await getLogs ( ) ;
216
216
await expect ( logs ) . toEqual ( [ ] ) ;
217
- } ) ;
217
+ } , 60 * 1000 ) ;
218
218
219
219
test ( 'Adding multiple costumes at the same time' , async ( ) => {
220
220
const files = [
@@ -235,7 +235,7 @@ describe('Working with costumes', () => {
235
235
236
236
const logs = await getLogs ( ) ;
237
237
await expect ( logs ) . toEqual ( [ ] ) ;
238
- } ) ;
238
+ } , 60 * 1000 ) ;
239
239
240
240
test ( 'Load an invalid svg from scratch3 as costume' , async ( ) => { // eslint-disable-line no-disabled-tests
241
241
await loadUri ( uri ) ;
@@ -249,7 +249,7 @@ describe('Working with costumes', () => {
249
249
const costumeTile = await findByText ( 'corrupt-from-scratch3' , scope . costumesTab ) ; // Name from filename
250
250
const tileVisible = await costumeTile . isDisplayed ( ) ;
251
251
await expect ( tileVisible ) . toBe ( true ) ;
252
- } ) ;
252
+ } , 60 * 1000 ) ;
253
253
254
254
test ( 'Load an invalid svg from scratch2 as costume' , async ( ) => { // eslint-disable-line no-disabled-tests
255
255
await loadUri ( uri ) ;
@@ -263,5 +263,5 @@ describe('Working with costumes', () => {
263
263
const costumeTile = await findByText ( 'scratch2-corrupted' , scope . costumesTab ) ; // Name from filename
264
264
const tileVisible = await costumeTile . isDisplayed ( ) ;
265
265
await expect ( tileVisible ) . toBe ( true ) ;
266
- } ) ;
266
+ } , 60 * 1000 ) ;
267
267
} ) ;
0 commit comments