Closed pavankumar0408 closed 11 months ago
-> Added changes for allowing user to select server side evaluation or client side evaluation of the test. -> If creator has been selected 'server', test evaluation will happen at server side and questions that are added will be evaluated at server side in player. No answer will be shown at client side. -> If creator has been selected 'client', test evaluation will happen at client side and questions that are added will be evaluated at client side in player(Which is existing flow)
@pavankumar0408 Don't we have JIRA ticket for the feature?
Jira description action is failing, the PR title should be in the below format
Issue #IQ-xxx feat: Proper message for PR header or the Jira ticket title
@pavankumar0408
SonarCloud Quality Gate is failing
1 Bug and 2 code smells
is getting detected. Could you please fix it.
Please improve the code coverage to 80% in the PR.
@pavankumar0408
Please change the package version to "version": "7.0.0-beta.0"
here:-
https://github.com/Sunbird-inQuiry/editor/blob/main/projects/questionset-editor-library/package.json#L3
Also the web-component version is to be upgraded after building the web component using the command
npm run build-web-component
For reference - https://github.com/Sunbird-inQuiry/editor/commit/723e56414e1b938557437ebd5e967e743ac23b0e
Note: Make sure the web component is working fine.
For running the web component hit the localhost:3000
in browser while running server.js
file.
@rajnishdargan @sajeshkayyath , review comments have been fixed. Test cases have been added for written code.
Please provide access for adding reviewers also please let me know the jira link where can I create ticket for this.
@rajnishdargan @sajeshkayyath have added few more test cases its improved in PR.
Note: In local the code has been covered but here in sonar cloud code is not covered. How to check this
@rajnishdargan @sajeshkayyath , I am finding difficulty in covering these 5 lines but while taking average of these coverages I am getting more than 80%. In sonarcloud it is showing 69%. Please allow this PR to get merge if this can be exceptional case.
@pavankumar0408 Please update @project-sunbird/sunbird-quml-player-web-component
to 3.0.0-beta.0
and @project-sunbird/sunbird-resource-library
to 7.0.0-beta.0
@rajnishdargan , packages have updated cc @sajeshkayyath
@pavankumar0408 Please build the web component once again and push the changes of sunbird-questionset-editor.js
in the PR
@rajnishdargan, build done and pushed the changes
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
69.8% Coverage
0.0% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change
Please choose appropriate options.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes in the below checkboxes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: