An example Python Gauge test for Magento
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
env/default
specs
step_impl
.gitattributes
.gitignore
LICENSE
manifest.json
readme.md
requirements.txt

readme.md

Example Gauge Python Scenario/Rest API Test of Magento

This is an example of using Gauge for testing Magento. Uses Selenium and Magento Rest APIs (to simulate a mobile application)

Prerequisites

  gauge --install python

Magento Test System setup

Use magento in docker as described [here] (https://alankent.me/gsd/introduction-to-docker/)

Or from cmd line run: docker run -d -i -t -p 80:80 -p 3000:3000 -p 3001:3001 -p 2222:22 --name gsd alankent/gsd

Execute tests

Install dependencies

pip install -r requirements.txt

Add Magento host IP to env/default/default.properties

Run Test:

gauge specs