Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: quiz attempts load issue #790

Merged
merged 1 commit into from
Apr 29, 2024
Merged

fix: quiz attempts load issue #790

merged 1 commit into from
Apr 29, 2024

Conversation

NagariaHussain
Copy link
Member

@NagariaHussain NagariaHussain commented Apr 29, 2024

Problem:

attempts resource was only getting reloaded onSuccess of quiz. But since quiz is cached, onSuccess does not run again on remount of the quiz (try switching between lessons). This results in max attempts exceeded message.

CleanShot 2024-04-29 at 19 36 30@2x

Solution:
Reload attempts whenever quiz data changes

Copy link

cypress bot commented Apr 29, 2024

1 failed test on run #500 ↗︎

1 0 0 0 Flakiness 0

Details:

Merge f452e1f into e7d7cff...
Project: lms Commit: 27cf80cc13 ℹ️
Status: Failed Duration: 01:09 💡
Started: Apr 29, 2024 2:08 PM Ended: Apr 29, 2024 2:09 PM
Failed  cypress/e2e/course_creation.cy.js • 1 failed test

View Output Video

Test Artifacts
Course Creation > creates a new course Screenshots Video

Review all test suite changes for PR #790 ↗︎

@NagariaHussain
Copy link
Member Author

Haven't touched server side code, but tests are failing ... unrelated.

@NagariaHussain NagariaHussain merged commit 180140c into develop Apr 29, 2024
2 of 5 checks passed
@NagariaHussain NagariaHussain deleted the fix-quix branch April 29, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant