Skip to content

Commit

Permalink
E2E: Reduce VideoPress upload timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
lupus2k committed May 24, 2024
1 parent ebc69a7 commit 2da2f3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/calypso-e2e/src/lib/blocks/videopress-block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export class VideoPressBlock {

await block.locator( 'input' ).setInputFiles( path );

await block.getByText( 'Upload Complete!' ).waitFor( { timeout: 50 * 1000 } );
// We reduced it to 10 seconds because it is taking too long when it fails and is causing
// some execution timeout tests. (p1716579913775549/1716577210.067319-slack-CBTN58FTJ)
await block.getByText( 'Upload Complete!' ).waitFor( { timeout: 10 * 1000 } );
await block.getByRole( 'button', { name: 'Done' } ).click();

await block.getByText( 'We are converting this video for optimal playback' ).waitFor( {
Expand Down

0 comments on commit 2da2f3d

Please sign in to comment.