File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,13 @@ export const InteractionObserver: Story = {
100
100
play : async ( { canvasElement } ) => {
101
101
const canvas = within ( canvasElement ) ;
102
102
103
- await sleep ( 300 ) ; // Allow enough time for the autoplay video to start.
103
+ await sleep ( 500 ) ; // Allow enough time for the autoplay video to start.
104
104
canvas . getByTestId ( 'page-end' ) . scrollIntoView ( ) ;
105
105
106
106
const progressBar = await canvas . findByRole ( 'progressbar' ) ;
107
107
const progress = Number ( progressBar . ariaValueNow ) ;
108
108
109
- await sleep ( 200 ) ; // Allow enough time to be confident that the video is paused.
109
+ await sleep ( 500 ) ; // Allow enough time to be confident that the video is paused.
110
110
await expect ( Number ( progressBar . ariaValueNow ) ) . toEqual ( progress ) ;
111
111
await expect ( canvas . queryByTestId ( 'play-icon' ) ) . not . toBeInTheDocument ( ) ;
112
112
} ,
You can’t perform that action at this time.
0 commit comments