mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 18:02:46 +08:00
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:
parent
d0d54bbead
commit
24f828c467
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user