This project simulate a user interaction with App.
I used a App from Infinitepay
- Cucumber
- Rspec
- Appium
- Appium Doctor
- Selenium
- First of all you should Install ruby
- Install Appium
npm install -g appium
- Install appium-doctor check
npm install -g appium-doctor
- Clone the repository:
git@github.com:luizlohn/ifood-automation-testing.git
- Access the project root folder:
cd ifood-automation-tests
- Instal bundle:
gem install bundle
- Install the dependencies:
bundle install
The project is already to be used.
Before run, you should verify some dependeces:
appium-doctor
You should have all "Diagnostic for necessary dependencies" installed.
You should have on Diagnostic for optional dependencies installed:
- opencv4nodejs
- mjpeg-consumer
- set-simulator-location
- idb and idb_companion
- ios-deploy
- gst-launch and gst-inspect
Execute this command inside the project:
$ rake start[OPERATION_SYSTEM,RUNNER,PROFILE]
Understand command:
OPERATION_SYSTEM: android, ios
RUNNER: local
PROFILE: profiles
Example:
$ bundle exec rake start[android,smoke_test]
If you got a error, use this:
$ noglob bundle exec rake start[android,local,login]
This is only a automation testing using a app that you can find on apk download site