Skip to content

Conversation

@ShayLevi
Copy link
Contributor

@ShayLevi ShayLevi commented Jan 19, 2025

Relevant task - https://cloudinary.atlassian.net/browse/ME-17978
This test is navigating to vast and vpaid page (vast-vpaid.html) and make sure that videos element are playing.
New optional parameter called timeout was added to validateVideoIsPlaying function because this page tests ads before videos and we need to wait minimum of 10 seconds until the ad finishes and the videos is starting. In all other cases timeout is set to default of 3 seconds.

@ShayLevi ShayLevi requested a review from a team as a code owner January 19, 2025 11:13
@netlify
Copy link

netlify bot commented Jan 19, 2025

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

Name Link
🔨 Latest commit 54b838c
🔍 Latest deploy log https://app.netlify.com/sites/cld-vp-esm-pages/deploys/678cfe5b0976080008220e09
😎 Deploy Preview https://deploy-preview-795--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.

@netlify
Copy link

netlify bot commented Jan 19, 2025

Deploy Preview for cld-video-player ready!

Name Link
🔨 Latest commit 54b838c
🔍 Latest deploy log https://app.netlify.com/sites/cld-video-player/deploys/678cfe5bcb67760008b30bac
😎 Deploy Preview https://deploy-preview-795--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.

@ShayLevi ShayLevi requested a review from refael-m January 19, 2025 11:13
Copy link
Contributor

@ehab-cl ehab-cl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

await pomPages.vastAndVpaidPage.singleVideoWithAdsVideoComponent.validateVideoIsPlaying(true, 12000);
});
await test.step('Validating that playlist with ads video is playing', async () => {
await pomPages.vastAndVpaidPage.playlistWithAdsVideoComponent.validateVideoIsPlaying(true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also specify the timeout here, this is more explicit rather than what is currently implicit (The fact that this test is using the timeout of the previous step)... this in my eyes makes the test more readable

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

@ShayLevi ShayLevi merged commit dd69d85 into edge Jan 19, 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.

3 participants