@@ -41,7 +41,7 @@ describe('Working with costumes', () => {
4141 await findByXpath ( "//input[@value='Abby-a']" ) ; // Should show editor for new costume
4242 const logs = await getLogs ( ) ;
4343 await expect ( logs ) . toEqual ( [ ] ) ;
44- } ) ;
44+ } , 60 * 1000 ) ;
4545
4646 test ( 'Adding a costume by surprise button' , async ( ) => {
4747 await loadUri ( uri ) ;
@@ -53,7 +53,7 @@ describe('Working with costumes', () => {
5353 await clickXpath ( '//button[@aria-label="Surprise"]' ) ;
5454 const logs = await getLogs ( ) ;
5555 await expect ( logs ) . toEqual ( [ ] ) ;
56- } ) ;
56+ } , 60 * 1000 ) ;
5757
5858 test ( 'Adding a costume by paint button' , async ( ) => {
5959 await loadUri ( uri ) ;
@@ -65,7 +65,7 @@ describe('Working with costumes', () => {
6565 await clickXpath ( '//button[@aria-label="Paint"]' ) ;
6666 const logs = await getLogs ( ) ;
6767 await expect ( logs ) . toEqual ( [ ] ) ;
68- } ) ;
68+ } , 60 * 1000 ) ;
6969
7070 test ( 'Duplicating a costume' , async ( ) => {
7171 await loadUri ( uri ) ;
@@ -80,7 +80,7 @@ describe('Working with costumes', () => {
8080
8181 const logs = await getLogs ( ) ;
8282 await expect ( logs ) . toEqual ( [ ] ) ;
83- } ) ;
83+ } , 60 * 1000 ) ;
8484
8585 test ( 'Converting bitmap/vector in paint editor' , async ( ) => {
8686 await loadUri ( uri ) ;
@@ -107,7 +107,7 @@ describe('Working with costumes', () => {
107107
108108 const logs = await getLogs ( ) ;
109109 await expect ( logs ) . toEqual ( [ ] ) ;
110- } ) ;
110+ } , 60 * 1000 ) ;
111111
112112 test ( 'Undo/redo in the paint editor' , async ( ) => {
113113 await loadUri ( uri ) ;
@@ -121,7 +121,7 @@ describe('Working with costumes', () => {
121121 await clickText ( 'Convert to Vector' , scope . costumesTab ) ;
122122 const logs = await getLogs ( ) ;
123123 await expect ( logs ) . toEqual ( [ ] ) ;
124- } ) ;
124+ } , 60 * 1000 ) ;
125125
126126 test ( 'Adding an svg from file' , async ( ) => {
127127 await loadUri ( uri ) ;
@@ -136,7 +136,7 @@ describe('Working with costumes', () => {
136136 await clickText ( '100 x 100' , scope . costumesTab ) ; // Size is right
137137 const logs = await getLogs ( ) ;
138138 await expect ( logs ) . toEqual ( [ ] ) ;
139- } ) ;
139+ } , 60 * 1000 ) ;
140140
141141 test ( 'Adding a png from file (gh-3582)' , async ( ) => {
142142 await loadUri ( uri ) ;
@@ -150,7 +150,7 @@ describe('Working with costumes', () => {
150150 await clickText ( 'gh-3582-png' , scope . costumesTab ) ;
151151 const logs = await getLogs ( ) ;
152152 await expect ( logs ) . toEqual ( [ ] ) ;
153- } ) ;
153+ } , 60 * 1000 ) ;
154154
155155 test ( 'Adding a bmp from file' , async ( ) => {
156156 await loadUri ( uri ) ;
@@ -164,7 +164,7 @@ describe('Working with costumes', () => {
164164 await clickText ( 'bmpfile' , scope . costumesTab ) ;
165165 const logs = await getLogs ( ) ;
166166 await expect ( logs ) . toEqual ( [ ] ) ;
167- } ) ;
167+ } , 60 * 1000 ) ;
168168
169169 test ( 'Adding several costumes with a gif' , async ( ) => {
170170 await loadUri ( uri ) ;
@@ -185,7 +185,7 @@ describe('Working with costumes', () => {
185185
186186 const logs = await getLogs ( ) ;
187187 await expect ( logs ) . toEqual ( [ ] ) ;
188- } ) ;
188+ } , 60 * 1000 ) ;
189189
190190 test ( 'Adding a letter costume through the Letters filter in the library' , async ( ) => {
191191 await loadUri ( uri ) ;
@@ -199,7 +199,7 @@ describe('Working with costumes', () => {
199199 await rightClickText ( 'Block-a' , scope . costumesTab ) ; // Make sure it is there
200200 const logs = await getLogs ( ) ;
201201 await expect ( logs ) . toEqual ( [ ] ) ;
202- } ) ;
202+ } , 60 * 1000 ) ;
203203
204204 test ( 'Costumes animate on mouseover' , async ( ) => {
205205 await loadUri ( uri ) ;
@@ -214,7 +214,7 @@ describe('Working with costumes', () => {
214214 await findByXpath ( '//img[@src="https://cdn.assets.scratch.mit.edu/internalapi/asset/45de34b47a2ce22f6f5d28bb35a44ff5.svg/get/"]' ) ;
215215 const logs = await getLogs ( ) ;
216216 await expect ( logs ) . toEqual ( [ ] ) ;
217- } ) ;
217+ } , 60 * 1000 ) ;
218218
219219 test ( 'Adding multiple costumes at the same time' , async ( ) => {
220220 const files = [
@@ -235,7 +235,7 @@ describe('Working with costumes', () => {
235235
236236 const logs = await getLogs ( ) ;
237237 await expect ( logs ) . toEqual ( [ ] ) ;
238- } ) ;
238+ } , 60 * 1000 ) ;
239239
240240 test ( 'Load an invalid svg from scratch3 as costume' , async ( ) => { // eslint-disable-line no-disabled-tests
241241 await loadUri ( uri ) ;
@@ -249,7 +249,7 @@ describe('Working with costumes', () => {
249249 const costumeTile = await findByText ( 'corrupt-from-scratch3' , scope . costumesTab ) ; // Name from filename
250250 const tileVisible = await costumeTile . isDisplayed ( ) ;
251251 await expect ( tileVisible ) . toBe ( true ) ;
252- } ) ;
252+ } , 60 * 1000 ) ;
253253
254254 test ( 'Load an invalid svg from scratch2 as costume' , async ( ) => { // eslint-disable-line no-disabled-tests
255255 await loadUri ( uri ) ;
@@ -263,5 +263,5 @@ describe('Working with costumes', () => {
263263 const costumeTile = await findByText ( 'scratch2-corrupted' , scope . costumesTab ) ; // Name from filename
264264 const tileVisible = await costumeTile . isDisplayed ( ) ;
265265 await expect ( tileVisible ) . toBe ( true ) ;
266- } ) ;
266+ } , 60 * 1000 ) ;
267267} ) ;
0 commit comments