-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[CLA Approved] test: add e2e test for tracking time conductor history in fixed mode #5906
[CLA Approved] test: add e2e test for tracking time conductor history in fixed mode #5906
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5906 +/- ##
==========================================
- Coverage 54.51% 54.49% -0.02%
==========================================
Files 599 599
Lines 23331 23331
Branches 2080 2080
==========================================
- Hits 12718 12714 -4
- Misses 10028 10032 +4
Partials 585 585
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
@sabrinapowell Thank you for this submission. It looks great! I'm going to do a more thorough review this afternoon. It looks like it's failing in CI. Do you know why that might be? Is it related to the bug you mentioned? |
Right, the bug is causing the test to fail. |
Hi @unlikelyzero, please let me know when you get a chance to check out the bug. In the meantime, I am available to take another task. |
@sabrinapowell sorry! I'm having git issues due to xcode shenangans and just got this checked out! Let me take a look and get back to you. It sounds like a legit bug and in that case, we'd want to file and issue and use the .annotation() api to link to. |
@sabrinapowell There is a timing issue when running at full speed. I've added some logic to the test to wait for menus to collapse. Will push to your branch |
@unlikelyzero Thanks for looking into it. I'll check out the change once it has been pushed. I also want to write tests for the remaining tests in the file. |
@sabrinapowell unfortunately, we're going to have to close this PR as we're doing a total rewrite of our time conductor plugin. This is, in part, due to the number of bugs you uncovered when writing these tests! When the rewrite is available, I'll ping you in the discussion :) If you'd like to move onto another area to tackle, please ping me back in the #4303 |
Closes #5905
Describe your changes:
E2E tests were added for tracking time conductor history in fixed mode. The test updates the start and end times and checks that the time conductor history is also updated.
NB: I am seeing a bug with the feature being tested. When the end time is updated, the history does not always update. The error happens more than half of the times I have tested it.
Testing
To test the changes, run
npm run test:e2e:local -- timeConductor
.All Submissions:
Author Checklist
Reviewer Checklist