/cucumber-selenium-tests

Tests examples using cucumber-jvm framework.

Primary LanguageJava

Cucumber Selenium Tests

Tests CucumberReports: Tests

This repository includes cucumber selenium tests examples using wikipedia.org.

Run tests

To run tests on your local machine, you need to do the following steps:

  1. Create the /tmp/driver/ folders structure
    mkdir -p /tmp/driver
  2. Create environment variable
    export CHROMEDRIVER_FULL_PATH=/tmp/driver/chromedriver
  3. Check your local Chrome browser version and download corresponding chromedriver on your local machine
  4. Unzip downloaded archive to aa pre-defined path
    unzip chromedriver_mac64.zip -d /tmp/driver
  5. Add permission to execute the file
    chmod +x /tmp/driver/chromedriver
  6. Clone this repository
    git clone https://github.com/vznd/cucumber-selenium-tests.git
  7. Run tests
    mvn test