@playkit-js/playkit-js-ivq 3.4.9-canary.0-d36ee69 → 3.4.10-canary.0-8c6b65d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -1
- package/cypress/e2e/env.ts +4 -0
- package/cypress/e2e/ivq-question-changed-event.cy.ts +1 -1
- package/cypress/e2e/ivq-review.cy.ts +1 -1
- package/cypress/e2e/ivq.cy.ts +2 -6
- package/dist/playkit-ivq.js +1 -1
- package/dist/playkit-ivq.js.LICENSE.txt +6 -0
- package/dist/playkit-ivq.js.map +1 -1
- package/package.json +2 -2
- package/translations/en.i18n.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### 3.4.
|
|
5
|
+
### 3.4.10-canary.0-8c6b65d (2024-01-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **FEC-13595:** IVQ popup changes (FEC-13593) ([#114](https://github.com/kaltura/playkit-js-ivq/issues/114)) ([8c6b65d](https://github.com/kaltura/playkit-js-ivq/commit/8c6b65d))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### 3.4.9 (2024-01-07)
|
|
6
15
|
|
|
7
16
|
|
|
8
17
|
|
package/cypress/e2e/env.ts
CHANGED
|
@@ -8,6 +8,10 @@ export const MANIFEST_SAFARI = `#EXTM3U
|
|
|
8
8
|
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=504265,RESOLUTION=480x272,AUDIO="audio",SUBTITLES="subs"
|
|
9
9
|
${location.origin}/media/index.m3u8`;
|
|
10
10
|
|
|
11
|
+
Cypress.on('uncaught:exception', (err, runnable) => {
|
|
12
|
+
return false;
|
|
13
|
+
});
|
|
14
|
+
|
|
11
15
|
export const getPlayer = () => {
|
|
12
16
|
// @ts-ignore
|
|
13
17
|
return cy.window().then($win => $win.KalturaPlayer.getPlayers()['player-placeholder']);
|
|
@@ -8,7 +8,7 @@ describe('IVQ plugin', () => {
|
|
|
8
8
|
cy.intercept('GET', '**/width/164/vid_slices/100', {fixture: '100.jpeg'});
|
|
9
9
|
cy.intercept('GET', '**/height/360/width/640', {fixture: '640.jpeg'});
|
|
10
10
|
// kava
|
|
11
|
-
cy.intercept('
|
|
11
|
+
cy.intercept('POST', '**/index.php?service=analytics*', {});
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
describe('QuizQuestionChanged event', () => {
|
|
@@ -8,7 +8,7 @@ describe('IVQ review', () => {
|
|
|
8
8
|
cy.intercept('GET', '**/width/164/vid_slices/100', {fixture: '100.jpeg'});
|
|
9
9
|
cy.intercept('GET', '**/height/360/width/640', {fixture: '640.jpeg'});
|
|
10
10
|
// kava
|
|
11
|
-
cy.intercept('
|
|
11
|
+
cy.intercept('POST', '**/index.php?service=analytics*', {});
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
describe('quiz review', () => {
|
package/cypress/e2e/ivq.cy.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import {mockKalturaBe, loadPlayer, MANIFEST, MANIFEST_SAFARI} from './env';
|
|
2
2
|
|
|
3
|
-
Cypress.on('uncaught:exception', (err, runnable) => {
|
|
4
|
-
return false;
|
|
5
|
-
});
|
|
6
|
-
|
|
7
3
|
describe('IVQ plugin', () => {
|
|
8
4
|
beforeEach(() => {
|
|
9
5
|
// manifest
|
|
@@ -12,7 +8,7 @@ describe('IVQ plugin', () => {
|
|
|
12
8
|
cy.intercept('GET', '**/width/164/vid_slices/100', {fixture: '100.jpeg'});
|
|
13
9
|
cy.intercept('GET', '**/height/360/width/640', {fixture: '640.jpeg'});
|
|
14
10
|
// kava
|
|
15
|
-
cy.intercept('
|
|
11
|
+
cy.intercept('POST', '**/index.php?service=analytics*', {});
|
|
16
12
|
});
|
|
17
13
|
|
|
18
14
|
describe('welcome screen', () => {
|
|
@@ -154,7 +150,7 @@ describe('IVQ plugin', () => {
|
|
|
154
150
|
mockKalturaBe('quiz_welcome_page_disabled_with_attempt.json', 'cues_4_question.json');
|
|
155
151
|
loadPlayer({}, {autoplay: true}).then(() => {
|
|
156
152
|
cy.get('[data-testid="ivqPopupSubmitButton"]').click({force: true});
|
|
157
|
-
cy.get('[data-testid="ivqPopupSubmitButton"]
|
|
153
|
+
cy.get('[data-testid="ivqPopupSubmitButton"][aria-busy="true"]').should('exist');
|
|
158
154
|
cy.wait('@submit');
|
|
159
155
|
});
|
|
160
156
|
});
|