Skip to content
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

Merged
merged 4 commits into from
Jan 6, 2025

Conversation

ShayLevi
Copy link
Contributor

@ShayLevi ShayLevi commented Jan 5, 2025

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.

@ShayLevi ShayLevi requested a review from a team as a code owner January 5, 2025 12:27
@ShayLevi ShayLevi requested a review from refael-m January 5, 2025 12:27
Copy link

netlify bot commented Jan 5, 2025

Deploy Preview for cld-video-player ready!

Name Link
🔨 Latest commit ec0746e
🔍 Latest deploy log https://app.netlify.com/sites/cld-video-player/deploys/677b84573a578d000830cde9
😎 Deploy Preview https://deploy-preview-782--cld-video-player.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 5, 2025

Deploy Preview for cld-vp-esm-pages ready!

Name Link
🔨 Latest commit ec0746e
🔍 Latest deploy log https://app.netlify.com/sites/cld-vp-esm-pages/deploys/677b845719859100087c7c2d
😎 Deploy Preview https://deploy-preview-782--cld-vp-esm-pages.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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 () => {
Copy link
Contributor

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?

Copy link
Contributor Author

@ShayLevi ShayLevi Jan 6, 2025

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.

@ShayLevi ShayLevi requested a review from refael-m January 6, 2025 07:24
@ShayLevi ShayLevi merged commit 60c543c into edge Jan 6, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants