Skip to content
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

chore: update master #752

Merged
merged 75 commits into from
Dec 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
28f3ec5
chore: release-manual
tsi Jun 10, 2024
5a3edf0
chore: release-manual
tsi Jun 10, 2024
5dc594b
fix: use videojs events & re-trigger to analytics package with custom…
jakub-roch Jun 11, 2024
6f1b323
Update release-edge.yml
tsi Jun 16, 2024
23831cb
Update release-manual.yml
tsi Jun 16, 2024
5518a84
chore(edge): release 2.0.4-edge.0 (#656)
cloudinary-jenkins Jun 16, 2024
3e89bc1
fix: remove polyfill (#665)
tsi Jun 26, 2024
694b423
chore(edge): release 2.0.5-edge.0 (#666)
cloudinary-jenkins Jun 26, 2024
e2cfc09
fix: separate edge/master changelogs (#663)
tsi Jun 26, 2024
4e6e721
fix: fetchLatestRelease
tsi Jun 26, 2024
861f614
fix: fetchLatestRelease
tsi Jun 26, 2024
831959a
fix: fetchLatestRelease
tsi Jun 26, 2024
42207bb
fix: fetchLatestRelease
tsi Jun 26, 2024
61a0403
chore(edge): release 2.0.5-edge.1 (#667)
cloudinary-jenkins Jun 26, 2024
a0c5496
fix: security issue braces (#668)
jakub-roch Jun 28, 2024
637ed0d
ME-16623 - creating first VP automation test (#664)
ShayLevi Jul 1, 2024
3c728c1
fix: custom profile docs example (#673)
jakub-roch Jul 8, 2024
124663f
fix: chapters innerHTML to innerText (#671)
tsi Jul 9, 2024
658d18b
fix: remove braces override (#670)
jakub-roch Jul 9, 2024
a935846
chore(edge): release 2.0.5-edge.2 (#669)
cloudinary-jenkins Jul 9, 2024
ad70e46
vp test: handle flaky tests (#674)
ShayLevi Jul 10, 2024
9058e88
vp test: adding workflow and action for CI (#675)
ShayLevi Jul 10, 2024
b9f124d
Edit workflow (#676)
AlexeyCL Jul 10, 2024
fe50f00
Update update_master.yml
tsi Jul 14, 2024
a977216
Update update_master.yml
tsi Jul 14, 2024
c28cc70
Update update_master.yml
tsi Jul 14, 2024
f48d479
Update update_master.yml
tsi Jul 14, 2024
e8edab6
Update update_master.yml
tsi Jul 14, 2024
83153e0
Update update_master.yml
tsi Jul 15, 2024
1aeca0b
Update update_master.yml
tsi Jul 15, 2024
1dee392
Update update_master.yml
tsi Jul 15, 2024
8bf2691
Update update_master.yml
tsi Jul 15, 2024
8dbdb71
Update update_master.yml
tsi Jul 15, 2024
6c3b442
Update update_master.yml
tsi Jul 15, 2024
3253a47
Update update_master.yml
tsi Jul 15, 2024
3cc024b
Update update_master.yml
tsi Jul 15, 2024
945366f
fix: profiles docs link (#683)
jakub-roch Jul 17, 2024
afa898f
vp test: adding new test to handle ESM page + small refactoring (#684)
ShayLevi Jul 18, 2024
95098c0
feat: new 'player' method with support async loading & profiles (#678)
jakub-roch Jul 24, 2024
3f5f828
feat: custom data video analytics param (#687)
jakub-roch Jul 30, 2024
2105a81
fix: update dependencies (#688)
tsi Aug 4, 2024
e771770
fix: docs for profiles & analytics, analytics options (#689)
jakub-roch Aug 8, 2024
3030408
chore(edge): release 2.0.6-edge.0 (#685)
cloudinary-jenkins Aug 12, 2024
a6666e7
Publish playwright report to reports repo (#690)
refael-m Aug 14, 2024
e078cce
vp test: adding error message to ignore errors for ESM pages (#695)
ShayLevi Sep 26, 2024
d60cb4f
feat: add url template for video player profiles (#696)
jakub-roch Oct 7, 2024
0d95b76
fix: default secure option for new method (#698)
jakub-roch Oct 7, 2024
b79f961
chore(edge): release 2.1.1-edge.0 (#697)
cloudinary-jenkins Oct 7, 2024
a1c8c1e
feat: add internal analytics about new method & profiles (#699)
jakub-roch Oct 18, 2024
59de3ba
chore(edge): release 2.1.1-edge.1 (#700)
cloudinary-jenkins Oct 18, 2024
1083b94
fix: use cld player profiles package for default profiles (#701)
jakub-roch Oct 27, 2024
b8f121f
chore(edge): release 2.1.1-edge.2 (#702)
cloudinary-jenkins Oct 27, 2024
e6c9a9c
Me 18059 esm tests over preview build (#727)
ShayLevi Nov 4, 2024
7552998
fix: one event for internal analytics (#728)
jakub-roch Nov 7, 2024
9707d4d
chore(edge): release 2.1.2-edge.0 (#732)
cloudinary-jenkins Nov 7, 2024
0048b95
ME-17952: test if video is playing on main page (#733)
ShayLevi Nov 10, 2024
26d00d5
Me 17953 test video on ai highlights graph page (#734)
ShayLevi Nov 13, 2024
7e95fae
vp test: modify test description (#735)
ShayLevi Nov 13, 2024
bc732f9
vp test: refactor to support ExampleLinkName enum (#736)
ShayLevi Nov 17, 2024
6c6f126
fix: source analytics (#738)
tsi Nov 26, 2024
69dfde2
chore(edge): release 2.1.2-edge.1 (#739)
cloudinary-jenkins Nov 26, 2024
6cd4bc8
feat: allow transcript from url (#737)
tsi Nov 26, 2024
6be7e4c
chore(edge): release 2.1.2-edge.2 (#740)
cloudinary-jenkins Nov 26, 2024
ac1fc1d
feat: auto-fetch transcripts from language (#741)
tsi Nov 27, 2024
63dabf4
chore(edge): release 2.1.2-edge.3 (#742)
cloudinary-jenkins Nov 27, 2024
665019f
chore: examples
tsi Nov 27, 2024
c9cb32a
Merge branch 'edge' of github.com:cloudinary/cloudinary-video-player …
tsi Nov 27, 2024
7787c36
fix: videojs 8 deprecation warning for videojs.bind (#744)
tsi Dec 4, 2024
3461a76
feat: support srt subtitle format (#743)
tsi Dec 5, 2024
ac0688f
chore(edge): release 2.1.2-edge.4 (#745)
cloudinary-jenkins Dec 5, 2024
f549240
fix: programatic text-tracks in Safari (#747)
tsi Dec 8, 2024
a990f5f
chore(edge): release 2.1.2-edge.5 (#748)
cloudinary-jenkins Dec 8, 2024
5c98ded
me-18308: refactor to use page manager (#749)
ShayLevi Dec 9, 2024
f51a1e1
me-17954: test if video on analytics page is playing (#750)
ShayLevi Dec 9, 2024
b408157
Merge branch 'master' into update-master-from-edge
tsi Dec 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
me-17954: test if video on analytics page is playing (#750)
* vp test: test if video on analytics page is playing

* vp test: change component name based on review

* vp test: rename spec file
  • Loading branch information
ShayLevi authored Dec 9, 2024
commit f51a1e1fe965ef2d98403d96fdcb5ec8f985f773
20 changes: 20 additions & 0 deletions test/e2e/specs/analyticsPage.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { vpTest } from '../fixtures/vpTest';
import { expect, test } from '@playwright/test';
import { waitForPageToLoadWithTimeout } from '../src/helpers/waitForPageToLoadWithTimeout';
import { getLinkByName } from '../testData/pageLinksData';
import { ExampleLinkName } from '../testData/ExampleLinkNames';

// Link to Analytics page
const link = getLinkByName(ExampleLinkName.Analytics);
/**
* Testing if video on analytics page is playing by checking that is pause return false.
*/
vpTest(`Test if video on analytics page is playing as expected`, async ({ page, pomPages }) => {
await test.step('Navigate to analytics page by clicking on link', async () => {
await pomPages.mainPage.clickLinkByName(link.name);
await waitForPageToLoadWithTimeout(page, 5000);
});
await test.step('Validating that the video is playing (in case isPause is false)', async () => {
expect(await pomPages.analyticsPage.analyticsVideoComponent.isPaused()).toEqual(false);
});
});
8 changes: 8 additions & 0 deletions test/e2e/src/pom/PageManager.ts
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ import { Page } from '@playwright/test';
import { HighlightsGraphPage } from './highlightsGraphPage';
import { BasePage } from './BasePage';
import { MainPage } from './mainPage';
import { AnalyticsPage } from './analyticsPage';

/**
* Page manager,
@@ -40,5 +41,12 @@ export class PageManager {
public get highlightGraphPage(): HighlightsGraphPage {
return this.getPage(HighlightsGraphPage);
}

/**
* Returns Analytics page object
*/
public get analyticsPage(): AnalyticsPage {
return this.getPage(AnalyticsPage);
}
}
export default PageManager;
16 changes: 16 additions & 0 deletions test/e2e/src/pom/analyticsPage.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Page } from '@playwright/test';
import { VideoComponent } from '../../components/videoComponent';
import { BasePage } from './BasePage';
const ANALYTICS_PAGE_VIDEO_SELECTOR = '//*[@id="player_html5_api"]';

/**
* Video player examples analytics page object
*/
export class AnalyticsPage extends BasePage {
public analyticsVideoComponent: VideoComponent;

constructor(page: Page) {
super(page);
this.analyticsVideoComponent = new VideoComponent(page, ANALYTICS_PAGE_VIDEO_SELECTOR);
}
}
Loading