Add comments for iOS
This commit is contained in:
parent
e6da460619
commit
5f5ec78e78
2 changed files with 22 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ To setup, please refer at [https://maestro.mobile.dev](https://maestro.mobile.de
|
||||||
* [Output](#output)
|
* [Output](#output)
|
||||||
* [Write test](#write-test)
|
* [Write test](#write-test)
|
||||||
* [CI](#ci)
|
* [CI](#ci)
|
||||||
|
* [iOS](#ios)
|
||||||
* [Future](#future)
|
* [Future](#future)
|
||||||
|
|
||||||
<!--- END -->
|
<!--- END -->
|
||||||
|
|
@ -49,6 +50,19 @@ Note that sometimes, this prevent running the test. So kill the `meastro studio`
|
||||||
The CI is running maestro using the workflow `.github/worflow/maestro.yaml` and [maestro cloud](https://cloud.mobile.dev/). For now we are limited to 100 runs a month.
|
The CI is running maestro using the workflow `.github/worflow/maestro.yaml` and [maestro cloud](https://cloud.mobile.dev/). For now we are limited to 100 runs a month.
|
||||||
Some GitHub secrets are used to be able to do that: `MAESTRO_CLOUD_API_KEY`, for now api key from `benoitm@element.io` maestro cloud account, and `MATRIX_MAESTRO_ACCOUNT_PASSWORD` which is the password of the account `@maestroelement:matrix.org`. This account contains a room `MyRoom` to be able to run the maestro test suite.
|
Some GitHub secrets are used to be able to do that: `MAESTRO_CLOUD_API_KEY`, for now api key from `benoitm@element.io` maestro cloud account, and `MATRIX_MAESTRO_ACCOUNT_PASSWORD` which is the password of the account `@maestroelement:matrix.org`. This account contains a room `MyRoom` to be able to run the maestro test suite.
|
||||||
|
|
||||||
|
## iOS
|
||||||
|
|
||||||
|
Need to install `idb-companion` first
|
||||||
|
|
||||||
|
```shell
|
||||||
|
brew install idb-companion
|
||||||
|
```
|
||||||
|
|
||||||
|
Also:
|
||||||
|
https://github.com/mobile-dev-inc/maestro/issues/146
|
||||||
|
https://github.com/mobile-dev-inc/maestro/issues/107
|
||||||
|
So you have to change your input keyboard to QWERTY for it to work properly.
|
||||||
|
|
||||||
## Future
|
## Future
|
||||||
|
|
||||||
- run on Element X iOS. This is already working but it need some change on the test to make it works. Could pass a PLATFORM parameter to have unique test and use conditional test.
|
- run on Element X iOS. This is already working but it need some change on the test to make it works. Could pass a PLATFORM parameter to have unique test and use conditional test.
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,16 @@ appId: ${APP_ID}
|
||||||
- runFlow: changeServer.yaml
|
- runFlow: changeServer.yaml
|
||||||
- runFlow: ../assertions/assertLoginDisplayed.yaml
|
- runFlow: ../assertions/assertLoginDisplayed.yaml
|
||||||
- tapOn: "Email or username"
|
- tapOn: "Email or username"
|
||||||
|
# ios
|
||||||
|
# - tapOn:
|
||||||
|
# id: "usernameTextField"
|
||||||
|
# index: 0
|
||||||
- inputText: ${USERNAME}
|
- inputText: ${USERNAME}
|
||||||
- tapOn: "Password"
|
- tapOn: "Password"
|
||||||
|
# iOS
|
||||||
|
#- tapOn:
|
||||||
|
# id: "passwordTextField"
|
||||||
|
# index: 0
|
||||||
- inputText: ${PASSWORD}
|
- inputText: ${PASSWORD}
|
||||||
- tapOn: "Continue"
|
- tapOn: "Continue"
|
||||||
- runFlow: ../assertions/assertHomeDisplayed.yaml
|
- runFlow: ../assertions/assertHomeDisplayed.yaml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue