Skip to content

Commit 7f30e2b

Browse files
committed
refactor: alphabetize SDK types in selectors
Made-with: Cursor
1 parent 954e860 commit 7f30e2b

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/actions/appium-e2e/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ inputs:
2828
required: false
2929
default: 'tests/specs/**/*.spec.ts'
3030
onesignal-app-id:
31-
description: 'OneSignal App ID dedicated to E2E tests'
31+
description: 'OneSignal App ID for E2E tests (org var: APPIUM_ONESIGNAL_APP_ID)'
3232
required: false
3333
onesignal-api-key:
34-
description: 'OneSignal API key dedicated to E2E tests'
34+
description: 'OneSignal API key for E2E tests (org secret: APPIUM_ONESIGNAL_API_KEY)'
3535
required: false
3636
build-name:
3737
description: 'Label for the BrowserStack session'

appium/tests/helpers/selectors.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
type SdkType =
2-
| "react-native"
3-
| "flutter"
2+
| "android"
43
| "capacitor"
5-
| "unity"
64
| "cordova"
75
| "dotnet"
6+
| "flutter"
87
| "ios"
9-
| "android";
8+
| "react-native"
9+
| "unity";
1010

1111
const VALID_SDK_TYPES = new Set<string>([
12-
"react-native",
13-
"flutter",
12+
"android",
1413
"capacitor",
15-
"unity",
1614
"cordova",
1715
"dotnet",
16+
"flutter",
1817
"ios",
19-
"android",
18+
"react-native",
19+
"unity",
2020
]);
2121

2222
type Platform = "ios" | "android";

0 commit comments

Comments
 (0)