Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
## Install

1. 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