Skip to content

Conversation

@ShayLevi
Copy link
Contributor

Relevant task - https://cloudinary.atlassian.net/browse/ME-17990
This test is navigating to ESM chapters page and make sure that videos element are playing.
As it share common steps as chaptersPage.spec.ts that was already implemented I created common spec function testChaptersPageVideosArePlaying and using it on both specs.

@ShayLevi ShayLevi requested a review from a team as a code owner March 13, 2025 12:40
@ShayLevi ShayLevi requested a review from refael-m March 13, 2025 12:40
@netlify
Copy link

netlify bot commented Mar 13, 2025

Deploy Preview for cld-video-player ready!

Name Link
🔨 Latest commit cd3ed31
🔍 Latest deploy log https://app.netlify.com/sites/cld-video-player/deploys/67d2d24ba35f590008bcd857
😎 Deploy Preview https://deploy-preview-829--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.

@netlify
Copy link

netlify bot commented Mar 13, 2025

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

Name Link
🔨 Latest commit cd3ed31
🔍 Latest deploy log https://app.netlify.com/sites/cld-vp-esm-pages/deploys/67d2d24b8afa1d00084998a9
😎 Deploy Preview https://deploy-preview-829--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.


const link = getEsmLinkByName(ExampleLinkName.Chapters);

vpTest(`Test if 3 videos on ESM chapters page are playing as expected`, async ({ page, pomPages }) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why 3 videos? Is it critical in some one?
Asking for me to understand

Copy link
Contributor Author

@ShayLevi ShayLevi Mar 13, 2025

Choose a reason for hiding this comment

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

We have 3 different videos which example different uses: one is from a VTT file, second is from a config object and third one is automatically taken VTT file so I need to verify each one of them is playing.

@ShayLevi ShayLevi merged commit d604941 into master Mar 13, 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.

4 participants