-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
me-17969: test if video on playlist by tag page is playing #782
Conversation
✅ Deploy Preview for cld-video-player ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cld-vp-esm-pages ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -12,7 +12,9 @@ vpTest(`Test if 4 videos on Cloudinary analytics page are playing as expected`, | |||
await waitForPageToLoadWithTimeout(page, 5000); | |||
}); | |||
await test.step('Validating that Cloudinary analytics video is playing', async () => { | |||
await pomPages.cldAnalyticsPage.cldAnalyticsVideoComponent.validateVideoIsPlaying(true); | |||
await expect(async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you add wrap it with toPass?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cloudinary Analytics page video spec was failing and failed the PR. It takes some time to the video start playing so I added toPass to the first video and it works. After discussion the toPass wrap moved to validateVideoIsPlaying inside as part of the video component.
Relevant task - https://cloudinary.atlassian.net/browse/ME-17969
This test is navigating to playlist by tag page (playlist-by-tag-captions.html) and make sure that video element is playing.