• Robert Knight's avatar
    Wait for URL change after calling `history.back()` · 146898d6
    Robert Knight authored
    Avoid the temporary URL navigation done by VitalSource tests from affecting
    other tests by pausing in `afterEach` until the async `history.back()` operation
    has completed. Note this API doesn't return a promise. Waiting for `popstate` is
    how MDN recommends waiting.
    
    Fixes #5004
    146898d6
vitalsource-test.js 21.2 KB