@playkit-js/playkit-js-ivq 3.3.1-canary.0-863bc0e → 3.3.1-canary.0-5b3081c

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,12 +2,12 @@
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.3.1-canary.0-863bc0e (2023-05-31)
5
+ ### 3.3.1-canary.0-5b3081c (2023-06-02)
6
6
 
7
7
 
8
8
  ### Bug Fixes
9
9
 
10
- * **FEC-13208:** add translations to ja + missing ko new translations ([863bc0e](https://github.com/kaltura/playkit-js-ivq/commit/863bc0e))
10
+ * **FEC-13179:** when navigating in the quiz to a question in the KS it's not changing the question in the overlay ([#92](https://github.com/kaltura/playkit-js-ivq/issues/92)) ([5b3081c](https://github.com/kaltura/playkit-js-ivq/commit/5b3081c))
11
11
 
12
12
 
13
13
 
@@ -99,5 +99,18 @@ describe('IVQ plugin', () => {
99
99
  cy.get('[data-testid="reviewRetakeButton"]').should('exist').click({force: true});
100
100
  });
101
101
  });
102
+ it('should dispatch QuizQuestionChanged event with ques that has onClick handler', done => {
103
+ mockKalturaBe('quiz_welcome_page_disabled_with_attempt.json', 'ivq_QuizQuestionChanged_event/cues_1_question.json');
104
+ loadPlayer().then(player => {
105
+ player.addEventListener('QuizQuestionChanged', ({payload}: any) => {
106
+ const {onClick} = payload.qqa[0];
107
+ expect(typeof onClick === 'function').to.eq(true);
108
+ onClick();
109
+ cy.get('[data-testid="reflectionPointTitle"]').should('be.visible');
110
+ done();
111
+ });
112
+ cy.get('.playkit-pre-playback-play-button').click({force: true});
113
+ });
114
+ });
102
115
  });
103
116
  });
@@ -23,7 +23,7 @@
23
23
  "partnerId": 3188353,
24
24
  "createdAt": 1679985724,
25
25
  "updatedAt": 1679985724,
26
- "startTime": 1000,
26
+ "startTime": 3000,
27
27
  "userId": "lian.binyamin@kaltura.com",
28
28
  "isMomentary": true,
29
29
  "objectType": "KalturaQuestionCuePoint"