Closed LayMuiToh closed 5 years ago
@LayMuiToh I had a similar issue in android and have a pending pull request to fix it. Can you please see if you get "Error: InvalidSelectorStrategy" from Login.username.setValue(validEmail); to make sure it's the same error?
@LayMuiToh please use proper markdown to format your code otherwise it is impossible to read. Just pasting your wdio config is not useful too. We need appium logs or wdio logs and maybe even better a minimal reproducible example.
@LayMuiToh Just update to 5.2.1. I'd consider it as a bug which was fixed yesterday. https://github.com/webdriverio/webdriverio/pull/3226
Closing this then.
Hello
Where I can take this object driver
? I see only browser
.
Where I can take this object
driver
? I see onlybrowser
.
Please have a look at our appium boilerplate https://github.com/webdriverio/appium-boilerplate
[//]: # NOTE: This repository only maintains packages that are listed in the Readme. Please make sure that your issue is directly caused by one of these packages and if not file an issue in the correct 3rd party package repository.
Environment (please complete the following information):
Additional wdio packages used (if applicable): "@wdio/allure-reporter": "^5.1.0", "@wdio/cli": "^5.1.2", "@wdio/local-runner": "^5.1.1", "@wdio/mocha-framework": "^5.1.0", "@wdio/sync": "^5.1.0", Config of WebdriverIO An example of how you configured WebdriverIO config
*Describe the bug**
To Reproduce Steps to reproduce the behavior:
[Include code or an example repository that can easily be set up] Login.page.js:
export default new Login();
app.login.spec.js:
Page.js:
Expected behavior node_modules/.bin/wdio wdio.conf.js --suite login test case should run the automation action on the mobile, but the app just launch and exit
Log No log in appium.log although appium is started [Appium] Welcome to Appium v1.9.1 [Appium] Appium REST http interface listener started on 0.0.0.0:4723 Additional context RUNNING 0-0 in - /test/spec/app.login.spec.js
Test Suites: 0 passed, 1 total (0% completed) Time: 🕕 185.67s but nothing is run on the mobile.