Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-roch committed Oct 7, 2024
1 parent a7a5a26 commit 4233c58
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/es-modules/raw-url.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h3 class="mb-4">Video with raw URL - ABR</h3>

const player = videoPlayer('player', config);

player.source('https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_10mb.mp4');
player.source('https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4');

const abrPlayer = videoPlayer('abrPlayer', config);

Expand Down
4 changes: 2 additions & 2 deletions docs/raw-url.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

player = cloudinary.videoPlayer('player', config);

player.source('https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_10mb.mp4');
player.source('https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4');

adpPlayer = cloudinary.videoPlayer('adpPlayer',config);

Expand Down Expand Up @@ -106,7 +106,7 @@ <h3 class="mt-4">Example Code:</h3>

player = cloudinary.videoPlayer('player', config);

player.source('https://res.cloudinary.com/demo/video/upload/sea_turtle.mp4');
player.source('https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4');

adpPlayer = cloudinary.videoPlayer('adpPlayer',config);

Expand Down
1 change: 0 additions & 1 deletion test/e2e/specs/linksConsolErros.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { validatePageErrors } from '../src/helpers/validatePageErrors';
for (const link of LINKS) {
vpTest(`Test console errors on link ${link.name}`, async ({ page, consoleErrors, vpExamples }) => {
vpTest.skip(link.name === 'Adaptive Streaming', 'Flaky on CI');
vpTest.skip(link.name === 'Raw URL', 'Flaky');
await vpExamples.clickLinkByName(link.name);
await waitForPageToLoadWithTimeout(page, 5000);
expect(page.url()).toContain(link.endpoint);
Expand Down
1 change: 0 additions & 1 deletion test/e2e/specs/linksConsoleErrorsEsmPage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const ESM_URL = 'https://cld-vp-esm-pages.netlify.app/';
for (const link of ESM_LINKS) {
vpTest(`Test console errors on link ${link.name}`, async ({ page, consoleErrors, vpExamples }) => {
vpTest.skip(link.name === 'Adaptive Streaming', 'Flaky on CI');
vpTest.skip(link.name === 'Raw URL', 'Flaky');
/**
* Navigate to ESM Imports examples page
*/
Expand Down

0 comments on commit 4233c58

Please sign in to comment.