-
Notifications
You must be signed in to change notification settings - Fork 25
me-17993: test if videos are playing on ESM colors api page and adding… #837
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
Conversation
… ids to video elements on ESM colors api page
✅ Deploy Preview for cld-vp-esm-pages ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cld-video-player ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
| import { ExampleLinkName } from '../../testData/ExampleLinkNames'; | ||
| import { getEsmLinkByName } from '../../testData/esmPageLinksData'; | ||
| import { ESM_URL } from '../../testData/esmUrl'; | ||
| import { testCodecsAndFormatsPageVideoIsPlaying } from '../commonSpecs/codecsAndFormatsVideoPlaying'; |
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.
Shouldn't this be testColorsApiPageVideoIsPlaying ?
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.
Fixed
tsi
left a comment
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.
👍
Relevant task - https://cloudinary.atlassian.net/browse/ME-17993
This test is navigating to ESM colors api page and make sure that video elements are playing.
As it share common steps as
colorsApiPage.spec.tsthat was already implemented I created common spec functiontestColorsApiPageVideoIsPlayingand using it on both specs.Also added id's to videos elements on ESM colors API page be the same as the equivalent base example page (https://cloudinary.github.io/cloudinary-video-player/colors.html)