Skip to content

Commit 834dd8f

Browse files
Run test
Co-authored-by: SrinivasanTarget <srinivasan.sekar1990@gmail.com>
1 parent 85d262e commit 834dd8f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/appium3_macos.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,8 @@ jobs:
4848
npm install --no-package-lock
4949
npm run build-flutter-by-service
5050
npm run build
51+
appium driver list
5152
name: Install Appium and deps
53+
- run: |
54+
APP_PATH=$APP_PATH npm run wdio-macos
55+
name: Run WDIO macOS

mac.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const config: WebdriverIO.Config = {
99
platformName: 'mac',
1010
'appium:automationName': 'FlutterIntegration',
1111
'appium:orientation': 'PORTRAIT',
12-
'appium:app': "/Users/saikrishna/Documents/git/appium-flutter-server/demo-app/build/macos/Build/Products/Debug/appium_testing_app.app",
12+
'appium:app': process.env.APP_PATH,
1313
'appium:bundleId': "com.example.appiumTestingApp",
1414
'appium:newCommandTimeout': 240,
1515
'appium:flutterServerLaunchTimeout': 25000,

test/specs/test.e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('My Login application', () => {
7373
await handleAppManagement();
7474
});
7575

76-
it('Create Session with Flutter Integration Driver', async () => {
76+
it.only('Create Session with Flutter Integration Driver', async () => {
7777
await performLogin();
7878
await openScreen('Double Tap');
7979
const element = await browser

0 commit comments

Comments
 (0)