-
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-17961: test if videos on colors api page are playing #770
Conversation
✅ 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. |
test/e2e/specs/colorsApiPage.spec.ts
Outdated
await test.step('Validating that the first video is playing (in case isPause is false)', async () => { | ||
expect(await pomPages.colorsApiPage.colorsApiColorSkinVideoComponent.validateVideoPaused(false)); | ||
}); | ||
await test.step('Validating that the second video is playing (in case isPause is false)', async () => { | ||
expect(await pomPages.colorsApiPage.colorsApiDarkSkinVideoComponent.validateVideoPaused(false)); | ||
}); | ||
await test.step('Scroll until the third video element is visible', async () => { | ||
await pomPages.colorsApiPage.colorsApiLightSkinVideoComponent.locator.scrollIntoViewIfNeeded(); | ||
}); |
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.
I would name the videos by their configuration description so instead of first video i would say for example validating that the modified colors video
or for example the dark skin video
... this will make it easier to understand what failed when tests fail.
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.
Modified the test steps description
Relevant task - https://cloudinary.atlassian.net/browse/ME-17961
This test is navigating to colors API page (colors.html) and make sure that 3 videos element are playing (checking that the video is not paused).