DEV: Also reset horizontal scroll after each test (#17527)
🤞 maybe this will cover the remaining out-of-viewport flakes
This commit is contained in:
parent
eef358dc13
commit
1b4dea75ee
|
@ -311,8 +311,10 @@ export default function setupTests(config) {
|
|||
let testing = document.getElementById("ember-testing");
|
||||
testing.removeAttribute("class");
|
||||
testing.removeAttribute("style");
|
||||
let testContainer = document.getElementById("ember-testing-container");
|
||||
|
||||
const testContainer = document.getElementById("ember-testing-container");
|
||||
testContainer.scrollTop = 0;
|
||||
testContainer.scrollLeft = 0;
|
||||
|
||||
flushMap();
|
||||
|
||||
|
|
Loading…
Reference in New Issue