Closed gumaerc closed 1 year ago
To see the issue more explicitly, I would run yarn test:e2e video.spec --debug
. Navigate to http://localhost:3010/courses/ocw-ci-test-course/pages/video-series-overview/ ...
This seems like it must have been caused by an update to Chromium. Playwright's browsers are not pinned, I believe.
Expected Behavior
All end to end tests should pass
Current Behavior
The test titled "Transcripts start time matches video start time" times out and fails after 30 seconds when running
const activeCaption = await videoSection.transcript.activeLine().getAttribute("data-begin")
, after runningawait videoSection.playButton().click()
Steps to Reproduce
yarn test:e2e
Possible Solution
The problem seems to be related to the Chromium browser that Playwright downloads not being able to start playing back a video. If a solution cannot be found to get Chromium to play the video within the Playwright testing context, the test should be removed for now until a solution can be found in the future.
Additional Details
This is the full stack trace of the error as seen by Github Actions: