Closed Formasitchijoh closed 1 day ago
The test failures were inconsistent and unstable, with different tests failing on each build. While many tests pass consistently when run locally, some tests fail both locally and in production, suggesting potential changes in the code or resources that are not aligned across environments.
Race Conditions: The RSpec test suite seems to suffer from race conditions, causing tests to interfere with each other. This indicates shared state or dependencies between tests, leading to failures unrelated to the changes being tested.
Feature Test Failures: Many feature tests fail because the pages are not fully loaded before assertions are made, often resulting in NoMethodError due to missing elements or methods.
I believe identifying these flaky tests, addressing potential race conditions and shared state issues, and adding explicit waits in feature tests could help resolve some of these failures. I can start working on this after I am done with this task, if that’s okay with you
Thanks! Can you rebase this so that in only includes the changes relevant to the new feature?
Thanks! Can you rebase this so that in only includes the changes relevant to the new feature?
@ragesoss i've rebased to the feature changes
Hello @ragesoss Just checking in regarding this task. Is there anything specific I need to do to complete it or any additional updates required from my end?
I still need to manually test this. However, I note that this PR includes an unexpected removal of a large number of messages from en.yml. Perhaps in needs to be rebased?
I still need to manually test this. However, I note that this PR includes an unexpected removal of a large number of messages from en.yml. Perhaps in needs to be rebased?
Alright updating that
It looks like you've squashed the commits from @prathamVaidya's PR into the first commit, but it also includes additional changes that you've made? I'd prefer to either leave the commits from the other PR as separate commits, or squash them into a single one that represents only those commits, and add any additional changes in new commits.
It looks like you've squashed the commits from @prathamVaidya's PR into the first commit, but it also includes additional changes that you've made? I'd prefer to either leave the commits from the other PR as separate commits, or squash them into a single one that represents only those commits, and add any additional changes in new commits.
Alright I have updated it
Could i start with something else while you are reviewing this
Could i start with something else while you are reviewing this
Yes
Looks good! Thanks @prathamVaidya and @Formasitchijoh !
What this PR does
This PR fixes the failing test from pull request #5783, and update functionality of sending instructor alerts. All necessary tests have been written to cover various scenarios and edge cases.
ScreenShot of Email Sent
@ragesoss please can you review this when you are chanced