-
Notifications
You must be signed in to change notification settings - Fork 105
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: end to end test bugs #5557
Fix: end to end test bugs #5557
Conversation
4e89ea5
to
4ef59d7
Compare
This doesn't fix all the test bugs in the end to end tests, but it does fix a number of them. Notably, we now create the appropriate fiscal year, we also removed writes to the We still fail in the stock lots tests though, because of the changes to handling unique lots. I'm at the point where I think we should just rewrite the stock tests with a coherent dataset, like we did for stock integration testing. @lomamech can you try to run these and see how they work on your machine? |
I just did it and twice in a row the E2E fails with the test |
Thanks @lomamech! That reflects what I found as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise it would take a great investigation
01a91e2
to
39cc2a9
Compare
This change normalizes the CHROME_OPTIONS environmental variable so that we can pass multiple options into the CHROME_BIN. Basically, you can now set your ~/.bashrc to have: CHROME_OPTIONS="--headless --disable-gpu --no-dev-shm" and everything will work correctly.
Fixes the employee end to end tests.
Updates the fiscal years for 2021.
Removes the integration table reference from the stored procedure to import stock.
This commit fixes the end to end tests for stock lots and movements so we have reasonable numbers.
Fixes a bug in the edit password behavior that broke the user registry.
Ensures that the tests work with the bhCheckboxTree component.
@lomamech I've confirmed that this works on my local machine and on @jmcameron's machine. If you can confirm it works for you, we can get this merged. |
39cc2a9
to
69b74d9
Compare
This commit waits for the return result from HTTP before reloading the registry after attempting to delete a record. Found with excellent help from @jmcameron.
69b74d9
to
94e7c97
Compare
Looks like this finally works on everyone's machines. We still have some flakey issues to work out, but this should solve a lot of issues. bors r+ |
Build succeeded: |
Fixes a number of test bugs introduced by the transition to Jenkins and the changes we've made to Stock Management.