Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pirasanthan-jesugeevegan/amt-appium-skyscanner
Automating Skyscanner native app using Appium and Webdriver
https://github.com/pirasanthan-jesugeevegan/amt-appium-skyscanner
appium appium-android appium-tests webdriver webdriverio
Last synced: 10 days ago
JSON representation
Automating Skyscanner native app using Appium and Webdriver
- Host: GitHub
- URL: https://github.com/pirasanthan-jesugeevegan/amt-appium-skyscanner
- Owner: pirasanthan-jesugeevegan
- Created: 2020-11-30T13:29:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-10T17:11:26.000Z (about 4 years ago)
- Last Synced: 2023-03-04T18:42:28.196Z (almost 2 years ago)
- Topics: appium, appium-android, appium-tests, webdriver, webdriverio
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Skyscanner | Appium | Webdriver
This is a task to Automate the Skyscanner Native App using Appium and Webdriver, Please see below for the Test Case that are automated
## **Test Scenario**: Login Function
| Test Case Number | Test Case |
|--|--|
|TC01| Verify that the login screen contains necessary elements |
|TC02| Verify that the user can login with valid creds|
|TC03| Verify if a user cannot login with a valid email and an invalid password |
|TC04| Verify if a user cannot login with a invalid email and an valid password |## **Test Scenario**: Onboarding Screen
| Test Case Number | Test Case |
|--|--|
|TC01| Verify that the onboarding contains necessary elements |
|TC02| Verify that the Policy Screen contains necessary elements|
|TC03| Verify that the user can complete the onboard flow successfully |Note - These are one of the few to be automated
## Install1. clone the repo
2. `npm install` or `yarn install`## Setting up
1. Configure your virtual device - Go to `wdio.android.app.conf.js` file and fill in your device detail
```
config.capabilities = [
{
// The defaults you need to have in your config
platformName: 'Android',
maxInstances: 1,
'appium:deviceName': '',
'appium:orientation': '',
// The path to the app
'appium:app': join(process.cwd(), ''),
noReset: false,
appWaitActivity: 'net.skyscanner*',
},
];
```
2. User login detail - Create a folder called `data` in the root folder, then create a `user.js` and add user details
```
module.exports = {
validUser: {
email: '',
password: '',
},
invalidUser: {
email: '',
password: '',
},
};```
## Run tests
**Android** - Run Locally on Android simulator
```
npm run android.app
```## Technology used:
- Appium
- Webdriver
- Mochawsome