forked from znsio/teswiz
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new sample tests and some code cleanup (znsio#146)
* added new method in Driver * removed duplicate method in Driver * added web implementation for Indigo gift voucher * added sample for Indigo and Dineout * deleted sample apks from repo and instead pointed to a url for auto download at runtime * started adding confengine scenario for android * made logging changes * updated github action versions * refresh dependencies during ci build * more changes in github actions * run github actions on newSamples * changed ATD version
- Loading branch information
1 parent
ac97906
commit 26fdc61
Showing
69 changed files
with
1,521 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"android": { | ||
"adbExecTimeout": 45000, | ||
"app": { | ||
"local": "./src/test/resources/sampleApps/confEngine-devApi-debug.apk" | ||
}, | ||
"appActivity": "com.confengine.confengine.activity.Html5Activity", | ||
"appPackage": "com.confengine.confengine", | ||
"appWaitDuration": 45000, | ||
"automationName": "UiAutomator2", | ||
"autoGrantPermissions": true, | ||
"deviceName": "android", | ||
"dontStopAppOnReset": true, | ||
"enablePerformanceLogging": true, | ||
"eventTimings": true, | ||
"newCommandTimeout": 12000, | ||
"noSign": true, | ||
"platformName": "android", | ||
"platformVersion": "11.0", | ||
"printPageSourceOnFindFailure": true, | ||
"skipUnlock": true, | ||
"noReset": false | ||
}, | ||
"hostMachines": [ | ||
{ | ||
"machineIP": "127.0.0.1", | ||
"simulators": [ | ||
{ | ||
"deviceName": "iPhone 11", | ||
"OS": "13.5" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"android": { | ||
"adbExecTimeout": 45000, | ||
"app": { | ||
"local": "https://github.com/anandbagmar/sampleAppsForNativeMobileAutomation/raw/main/dineout.book_2022-10-18.apk" | ||
}, | ||
"appActivity": "com.dineout.book.splash.presentation.view.NewSplashActivity", | ||
"appPackage": "com.dineout.book", | ||
"appWaitDuration": 45000, | ||
"automationName": "UiAutomator2", | ||
"autoGrantPermissions": true, | ||
"deviceName": "android", | ||
"dontStopAppOnReset": true, | ||
"enablePerformanceLogging": true, | ||
"eventTimings": true, | ||
"newCommandTimeout": 12000, | ||
"noSign": true, | ||
"platformName": "android", | ||
"platformVersion": "11.0", | ||
"printPageSourceOnFindFailure": true, | ||
"skipUnlock": true, | ||
"noReset": false | ||
}, | ||
"hostMachines": [ | ||
{ | ||
"machineIP": "127.0.0.1", | ||
"simulators": [ | ||
{ | ||
"deviceName": "iPhone 11", | ||
"OS": "13.5" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"android": { | ||
"adbExecTimeout": 45000, | ||
"app": { | ||
"local": "https://github.com/anandbagmar/sampleAppsForNativeMobileAutomation/raw/main/IndiGoFlight-App_5.0.85.apk" | ||
}, | ||
"appActivity": "in.goindigo.android.ui.modules.splash.SplashActivity", | ||
"appPackage": "in.goindigo.android", | ||
"appWaitDuration": 45000, | ||
"automationName": "UiAutomator2", | ||
"autoGrantPermissions": true, | ||
"deviceName": "android", | ||
"dontStopAppOnReset": true, | ||
"enablePerformanceLogging": true, | ||
"eventTimings": true, | ||
"newCommandTimeout": 12000, | ||
"noSign": true, | ||
"platformName": "android", | ||
"platformVersion": "11.0", | ||
"printPageSourceOnFindFailure": true, | ||
"skipUnlock": true, | ||
"noReset": false | ||
}, | ||
"hostMachines": [ | ||
{ | ||
"machineIP": "127.0.0.1", | ||
"simulators": [ | ||
{ | ||
"deviceName": "iPhone 11", | ||
"OS": "13.5" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
RUNNER=distribute | ||
FRAMEWORK=cucumber | ||
RUNNER_LEVEL=methods | ||
CAPS=./caps/confengine_local_capabilities.json | ||
APP_NAME=ConfEngine | ||
APP_PACKAGE_NAME=com.confengine.confengine | ||
APPLITOOLS_CONFIGURATION=./configs/applitools_config.json | ||
BASE_URL_FOR_WEB=CONFENGINE_BASE_URL | ||
BROWSER=chrome | ||
ENVIRONMENT_CONFIG_FILE=./src/test/resources/environments.json | ||
IS_VISUAL=false | ||
LOG_DIR=target | ||
LOG_PROPERTIES_FILE=./src/test/resources/log4j.properties | ||
PARALLEL=1 | ||
PLATFORM=android | ||
PROXY_KEY=HTTP_PROXY | ||
REPORT_PORTAL_FILE=src/test/resources/reportportal.properties | ||
RUN_IN_CI=false | ||
TARGET_ENVIRONMENT=dev | ||
LAUNCH_NAME_SUFFIX= on 'dev' Environment | ||
TEST_DATA_FILE=./src/test/resources/testData.json | ||
CLEANUP_DEVICE_BEFORE_STARTING_EXECUTION=false | ||
BROWSER_CONFIG_FILE=./configs/browser_config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
RUNNER=distribute | ||
FRAMEWORK=cucumber | ||
RUNNER_LEVEL=methods | ||
CAPS=./caps/dineout_local_capabilities.json | ||
APP_NAME=Dineout | ||
APP_PACKAGE_NAME=indigo_local_config.properties | ||
APPLITOOLS_CONFIGURATION=./configs/applitools_config.json | ||
BASE_URL_FOR_WEB=DINEOUT_BASE_URL | ||
BROWSER=chrome | ||
ENVIRONMENT_CONFIG_FILE=./src/test/resources/environments.json | ||
IS_VISUAL=false | ||
LOG_DIR=target | ||
LOG_PROPERTIES_FILE=./src/test/resources/log4j.properties | ||
PARALLEL=1 | ||
PLATFORM=android | ||
PROXY_KEY=HTTP_PROXY | ||
REPORT_PORTAL_FILE=src/test/resources/reportportal.properties | ||
RUN_IN_CI=false | ||
TARGET_ENVIRONMENT=prod | ||
LAUNCH_NAME_SUFFIX= on 'prod' Environment | ||
TEST_DATA_FILE=./src/test/resources/testData.json | ||
CLEANUP_DEVICE_BEFORE_STARTING_EXECUTION=false | ||
BROWSER_CONFIG_FILE=./configs/browser_config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
RUNNER=distribute | ||
FRAMEWORK=cucumber | ||
RUNNER_LEVEL=methods | ||
CAPS=./caps/indigo_local_capabilities.json | ||
APP_NAME=Indigo | ||
APP_PACKAGE_NAME=in.goindigo.android | ||
APPLITOOLS_CONFIGURATION=./configs/applitools_config.json | ||
BASE_URL_FOR_WEB=INDIGO_BASE_URL | ||
BROWSER=chrome | ||
ENVIRONMENT_CONFIG_FILE=./src/test/resources/environments.json | ||
IS_VISUAL=false | ||
LOG_DIR=target | ||
LOG_PROPERTIES_FILE=./src/test/resources/log4j.properties | ||
PARALLEL=1 | ||
PLATFORM=android | ||
PROXY_KEY=HTTP_PROXY | ||
REPORT_PORTAL_FILE=src/test/resources/reportportal.properties | ||
RUN_IN_CI=false | ||
TARGET_ENVIRONMENT=prod | ||
LAUNCH_NAME_SUFFIX= on 'prod' Environment | ||
TEST_DATA_FILE=./src/test/resources/testData.json | ||
CLEANUP_DEVICE_BEFORE_STARTING_EXECUTION=false | ||
BROWSER_CONFIG_FILE=./configs/browser_config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.