angb / gauge-magento-test

An example Python Gauge test for Magento

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An example Python Gauge test for Magento

License:Apache License 2.0


Languages

Language:Python 100.0%