@playkit-js/playkit-js-ivq 3.4.9 → 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 CHANGED
@@ -2,6 +2,15 @@
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.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
+
5
14
  ### 3.4.9 (2024-01-07)
6
15
 
7
16
 
@@ -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('GET', '**/index.php?service=analytics*', {});
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('GET', '**/index.php?service=analytics*', {});
11
+ cy.intercept('POST', '**/index.php?service=analytics*', {});
12
12
  });
13
13
 
14
14
  describe('quiz review', () => {
@@ -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('GET', '**/index.php?service=analytics*', {});
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"] [data-testid="ivqSpinner"]').should('exist');
153
+ cy.get('[data-testid="ivqPopupSubmitButton"][aria-busy="true"]').should('exist');
158
154
  cy.wait('@submit');
159
155
  });
160
156
  });