DEV: Scope query to the testing container (#12152)

We don't want it to find QUnit UI elements… This fixes some Ember CLI test failures.
This commit is contained in:
Jarek Radosz 2021-02-22 15:26:50 +01:00 committed by GitHub
parent d0d54bbead
commit 24f828c467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,7 +413,7 @@ export function queryAll(selector, context) {
}
export function query() {
return document.querySelector(...arguments);
return document.querySelector("#ember-testing").querySelector(...arguments);
}
export function invisible(selector) {