You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to using Detox but it appears to me that primitives are not being properly set as jest globals following the setup and usage guides I could find in the documentation. I get the code in the console ReferenceError: element is not defined. Maybe there is a way to improve the logging to clarify these config errors for good
Detox v8.1.6^
Node v8.9.4,
React Native v0.56.0
Device iphone 7 sim release and debug,
Xcode v and macOS Versions
Device and verbose Detox logs
ReferenceError: element is not defined
14 | })
15 |
> 16 | it(':ios: shows splash screen and then login', async () => {
| ^
17 | await expect(element(by.label('animateLoginLabel'))).toBeVisible()
The text was updated successfully, but these errors were encountered:
Kielan
changed the title
Detoz Primitive ReferenceError: Element is not defined
Detox Primitive ReferenceError: Element is not defined
Aug 21, 2018
We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the detox tag.
potentially related issues
#795
Description
I am new to using Detox but it appears to me that primitives are not being properly set as jest globals following the setup and usage guides I could find in the documentation. I get the code in the console ReferenceError: element is not defined. Maybe there is a way to improve the logging to clarify these config errors for good
Repo to reproduce:
https://github.com/Kielan/OnyxWalletReactNative
Detox v8.1.6^
Node v8.9.4,
React Native v0.56.0
Device iphone 7 sim release and debug,
Xcode v and macOS Versions
Device and verbose Detox logs
The text was updated successfully, but these errors were encountered: