You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow users to wait a certain amount of time
- they can pass a callback to instead wait until a specific condition passed eg until button text equals something
Why:
We need to be sure that the Dom is loaded properly when the location is awaited, to test this, we could add a basic Dom content loaded handler that adds text to the Dom, assert we see the text
another thing I want to make sure we can cover is say the JS is what loads the content on the page eg API calls, React/Vue, where a basic view is displayed, and API calls are made once pagebis loaded to get a use rod users or whatever
There is also wait(‘$.active’) I used in Laravel, investigate this to see if it can help in waiting for these things
Acceptance Criteria
Below is a list of tasks that must be completed before this issue can be closed.
Write documentation
Write unit tests
Write integration tests
{add more checkboxes required by this issue as needed}
Example Pseudo Code (for implementation)
// Add example pseudo code for implementation
The text was updated successfully, but these errors were encountered:
Summary
What:
Wait for:
- they can pass a callback to instead wait until a specific condition passed eg until button text equals something
Why:
We need to be sure that the Dom is loaded properly when the location is awaited, to test this, we could add a basic Dom content loaded handler that adds text to the Dom, assert we see the text
another thing I want to make sure we can cover is say the JS is what loads the content on the page eg API calls, React/Vue, where a basic view is displayed, and API calls are made once pagebis loaded to get a use rod users or whatever
There is also
wait(‘$.active’)
I used in Laravel, investigate this to see if it can help in waiting for these thingsAcceptance Criteria
Below is a list of tasks that must be completed before this issue can be closed.
Example Pseudo Code (for implementation)
// Add example pseudo code for implementation
The text was updated successfully, but these errors were encountered: