Sunbird-Saral / Community

This is the Saral community repo where docs, discussions, and issue tracker is enabled.
MIT License
2 stars 3 forks source link

Locking the exams for scanning(recommencation from u.p implementation) #41

Closed dileep-gadiraju closed 1 year ago

dileep-gadiraju commented 2 years ago

Locking the exams for scanning(recommendation from u.p implementation)

Tentative Dev Completion Date: 28th Nov 2022

apurvabisht97 commented 1 year ago

PR:--https://github.com/Sunbird-Saral/Project-Saral/pull/307

TEST CASES

  1. Locking is possible according to state, district and schoolId.
  2. In online mode when lock flag is enabled it will not allow to do login .
  3. In online mode when lock flag is enabled and if we select class and section it will not allow us to go on next page and show error message .
  4. In online mode when lock flag is enabled it will not allow to save local storage data to backend .
  5. In online mode when lock flag is enabled and if it has data on local storage or its fails for drop down menu for class/sec
  6. it will not allow us to logout .
  7. In offline storage if we scan any layout then when we go to online mode and lock is enabled then it show error message .
  8. In minimal mode when lock flag is enabled it will not allow us to do login .
  9. In minimal mode when lock flag is enabled it will not allow to save local storage data to backend.
  10. In minimal mode if lock flag is enabled and have data in local storage then it will not allow us to logout from app.
  11. Locking in autoSync functionality should not save any data to db and should not show error message .
navin9584 commented 1 year ago

PR:--https://github.com/Sunbird-Saral/Project-Saral/pull/307 By this PR now able to Locking the exams for scanning verified all the test cases it is working