aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/OCP/toast.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/OCP/toast.js')
-rw-r--r--core/src/OCP/toast.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OCP/toast.js b/core/src/OCP/toast.js
index a9c96f14a70..66272919f21 100644
--- a/core/src/OCP/toast.js
+++ b/core/src/OCP/toast.js
@@ -75,7 +75,7 @@ const Toast = {
callback: options.callback,
close: options.close,
gravity: 'top',
- selector: 'content',
+ selector: !window.TESTING ? 'content' : 'testArea',
positionLeft: false,
backgroundColor: '',
className: 'toast ' + classes