Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32,471 changes: 11,978 additions & 20,493 deletions examples/android-apps/package-lock.json

Large diffs are not rendered by default.

51 changes: 46 additions & 5 deletions examples/android-apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,57 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"check": "tsc --noEmit",
"test:e2e": "testplane"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"appium": "^2.18.0",
"appium-uiautomator2-driver": "^4.2.3",
"html-reporter": "10.17.1",
"appium": "^3.6.0",
"html-reporter": "^11.14.1",
"testplane": "latest",
"ts-node": "10.9.2"
"ts-node": "10.9.2",
"typescript": "5.8.3"
},
"overrides": {
"@testplane/devtools": {
"uuid": "11.1.1"
},
"@testplane/webdriver": {
"undici": "6.28.0"
},
"edgedriver": "6.3.0",
"form-data": "4.0.6",
"js-yaml": "4.3.1",
"lodash": "4.18.1",
"micromatch": "4.0.8",
"mocha": "11.8.0",
"serialize-javascript": "7.0.7",
"shell-quote": "1.10.0",
"socket.io-parser": "4.2.7",
"tar-fs": "3.1.3",
"ws": "8.21.1",
"testplane": {
"vite": "6.4.3",
"socket.io": "4.8.3",
"socket.io-client": "4.8.3"
},
"brace-expansion@^1.0.0": "1.1.18",
"brace-expansion@^2.0.0": "2.1.4",
"brace-expansion@^5.0.0": "5.0.9",
"body-parser": "2.3.0",
"fast-uri": "3.1.5",
"ip-address": "10.4.0",
"postcss": "8.5.26",
"minimatch@^9.0.0": "9.0.9",
"diff": "8.0.3",
"@testplane/webdriverio": {
"minimatch": "9.0.9"
}
},
"engines": {
"node": ">=22.12",
"npm": ">=10"
Comment on lines +56 to +58

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Align the Android example's Node version with its setup

The Android example's README instructs users to run nvm use, but its tracked .nvmrc still selects Node 20 while this new engine declaration requires Node 22.12 or newer. Following the documented setup consequently runs npm ci and the upgraded Testplane/Appium stack on an explicitly unsupported Node version; update .nvmrc alongside this requirement.

Useful? React with 👍 / 👎.

}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { describe, it } from "testplane";

const useWithoutAnAccountBtnSelector = 'android=new UiSelector().resourceId("com.android.chrome:id/signin_fre_dismiss_button")';
const gotItBtnSelector = 'android=new UiSelector().resourceId("com.android.chrome:id/ack_button")';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { describe, it } from "testplane";

const openAlarmViewSelector = 'android=new UiSelector().resourceId("com.google.android.deskclock:id/tab_menu_alarm")';
const addAlarmBtnSelector = 'android=new UiSelector().resourceId("com.google.android.deskclock:id/fab")';
const chooseHourSelector = 'android=new UiSelector().text("12")';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { describe, it } from "testplane";

describe("web, chrome app", () => {
it("should lead to the project repository when click on github link", async ({browser}) => {
await browser.url("https://testplane.io");
Expand Down
9 changes: 8 additions & 1 deletion examples/android-apps/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"compilerOptions": {
"target": "ES2021",
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
"skipLibCheck": true,
"strict": true,
"types": [
"testplane"
]
],
"noEmit": true
}
}
Loading
Loading