Skip to content

Commit

Permalink
Use references to Appium 1.x docs
Browse files Browse the repository at this point in the history
  • Loading branch information
derekblank committed Jun 8, 2023
1 parent 6400615 commit aa1c9c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Using one or a combination of these tools will make it much easier to identify w

- You'll write any functions needed to interact with the page in the `EditorPage` page object and then call those interactions within the test. The code you'll need to write to actually do the finding will use a combination of

- Appium's spec https://appium.io/docs/en/2.0/ which you can find examples of a variety of functions under the commands tab
- Appium's spec https://github.com/appium/appium/blob/1.x/docs/en/about-appium/intro.md which you can find examples of a variety of functions under the commands tab
- WebDriver I/O Appium protocols https://webdriver.io/docs/api/appium.html which provides examples and descriptions of what those look like.

It takes some getting used to but looking at the existing code should be helpful in identifying common commands that it'd help to be familiar with.
2 changes: 1 addition & 1 deletion packages/react-native-editor/__device-tests__/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Appium uses a config object that contains `capabilities` to define how it will c
- `platformVersion` which is the platform version of a connected adb device. e.g `9.0` for Android or `12.2` for iOS. The version used here is upper bounded by the max allowed on CI but feel free to change this value locally as needed.
- `app` which is the absolute path to the `.app` or `.apk` file or the path relative to the **Appium root**. It's important to note that when using the relative paths it's not to the project folder but to the appium server, since by default we start up appium in the project root when running the paths appear relative to the root but if you were using another instance of the Appium server the relative path would need to come from there.

A full spec on the capabilities can be found [here](https://appium.io/docs/en/2.0/guides/caps/). If you'd like to change configurations like
A full spec on the capabilities can be found [here](https://github.com/appium/appium/blob/1.x/docs/en/writing-running-appium/caps.md). If you'd like to change configurations like
what port appium runs on or what device or emulator the tests should be executed on that file would be where you'd like to make that update.

## The run process
Expand Down

0 comments on commit aa1c9c3

Please sign in to comment.