Skip to content

Commit

Permalink
fix: update android universal apk path for e2e test (GaloyMoney#792)
Browse files Browse the repository at this point in the history
* fix: update android universal apk path for e2e test

* chore: remove config

* fix: extra line
  • Loading branch information
ntheile authored Jan 5, 2023
1 parent 5f540a5 commit 3c94e9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Android

```
TEST_DEVICE_ANDROID="Pixel 3 API 29" yarn test:e2e:android
TEST_APK_PATH="./android/app/build/outputs/apk/debug/app-universal-debug.apk"
```

IOS
Expand Down
7 changes: 0 additions & 7 deletions e2e/02-login-flow.e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ describe("Login Flow", async () => {
await browser.pause(8000)
})

it("click Save Changes", async () => {
const changeTokenButton = await $(selector("Save Changes"))
await changeTokenButton.waitForDisplayed({ timeout })
await changeTokenButton.click()
await browser.pause(2000)
})

it("input token", async () => {
try {
const tokenInput = await $(selector("Input access token", "SecureTextField"))
Expand Down
4 changes: 3 additions & 1 deletion e2e/config/wdio.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
let capabilities = {
platformName: "Android",
deviceName: process.env.TEST_DEVICE_ANDROID || "generic_x86",
app: "./android/app/build/outputs/apk/debug/app-debug.apk", // "./android/app/release/app-release.apk",
app:
process.env.TEST_APK_PATH ||
"./android/app/build/outputs/apk/debug/app-universal-debug.apk", // "./android/app/release/app-release.apk",
automationName: "UiAutomator2",
snapshotMaxDepth: 1000,
autoGrantPermissions: true,
Expand Down

0 comments on commit 3c94e9e

Please sign in to comment.