-
Notifications
You must be signed in to change notification settings - Fork 4
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
The DOM has changed, we must update #389
Comments
Observations:
|
In https://github.com/plocket/docassemble-ALAutomatedTestingTests, we changed some of the multiple choice with |
Maybe page load isn't being checked for correctly anymore. Trying to figure out why tests keep working locally and failing on GitHub. |
[Context: Tests time out when the server is reloading. Most troublesome - the first test that is run always times out because of server reload from uploading the code for that test itself.] Page is just not loading anymore. Jonathan says he's never seen a "ModuleNotFound" error. I swear to god it was a thing. Anyway, that means that the page just hangs, the special timeout doesn't get triggered, and the step times out, then the next loop is triggered somehow and the interview gets loaded again. Ideas1. Guess at (only the first test's) load timeUse the full timeout to try to load the page for the first test. Repeat that 3 or 4 times. Maybe let the user know that's happening. Pros:
Cons:
2. API keyIf we get the developer to put an API key in the secrets:
Pseudo code for pressing button or following a link in the middle of tests maybe (rationale - if another person causes a server restart in the middle of a test, it will create the same problem)
What about links to outside pages? I guess it doesn't do much harm to wait till the da server is free anyway. Pros: More consistent, able to help at any time possibly
During setup, we will need to walk people through: ConclusionWe'll probably end up implementing Option 2 at some point. At this point, I think the question is whether we use Option 1 temporarily so we can push out v3 and get people's tests working again. |
DecisionAfter some feedback, we're going to attempt to take a couple hours to implement option 1 for a quick fix and bump to v3, then work on option 2 later. |
This will bump us to v3.
See SuffolkLITLab/docassemble-ALKilnSetup#59 for fields that need to be checked and possibly updated.
See SuffolkLITLab/docassemble-ALKilnSetup#160 for updating the DOM on those fields.
The text was updated successfully, but these errors were encountered: