File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ test.describe('compression', () => {
151151 await page . goto ( '/wp-admin/upload.php' ) ;
152152
153153 await page . getByRole ( 'button' , { name : 'Compress' , exact : true } ) . click ( ) ;
154- await expect ( page . getByText ( '2 sizes compressed' ) ) . toBeVisible ( ) ;
154+ await expect ( page . getByText ( '2 sizes compressed' ) ) . toBeVisible ( { timeout : 2000 } ) ;
155155 } ) ;
156156
157157 test ( 'compress button in edit screen should compress webp images' , async ( ) => {
@@ -167,7 +167,7 @@ test.describe('compression', () => {
167167 await page . goto ( '/wp-admin/upload.php' ) ;
168168
169169 await page . getByRole ( 'button' , { name : 'Compress' , exact : true } ) . click ( ) ;
170- await expect ( page . getByText ( '3 sizes compressed' ) ) . toBeVisible ( ) ;
170+ await expect ( page . getByText ( '3 sizes compressed' ) ) . toBeVisible ( { timeout : 2000 } ) ;
171171 } ) ;
172172
173173 test ( 'compress button should compress uncompressed sizes' , async ( ) => {
You can’t perform that action at this time.
0 commit comments