/uz-search

:station: Search tickets on UZ booking site using selenium-webdriver, cucumber and phantomjs

Primary LanguageJavaScript

uz-search

Search tickets on Ukrzaliznytsia booking site using selenium-webdriver, cucumber and phantomjs

  Scenario: Search tickets
    Given I am on the UZ booking site
    When I choose departure station Киев
    And I choose arrival station Ивано-Франковск
    And I choose date 2017-01-13
    And I do search
    Then I should see available trains

If tickets found - sends email with screenshot

Install

  • install nodejs 8
  • npm i
  • npm start

It will run ./node_modules/.bin/cucumber-js and test features described in features directory.

Configure