webdriverio/wdio-cucumber-framework

View on GitHub
test/fixtures/sample.feature

Summary

Maintainability
Test Coverage
Feature: Example feature
  As a test script of wdio-cucumber-framework
  I should pass
  to get get published

  Background: Some repeated setup
    Given I go on the website "http://webdriver.io"

  Scenario: Foo Bar
    When  I click on link "=Google"
    Then  should the title of the page be "Google"

  Scenario: Foo Baz
    When  I click on link "=Also Google"
    Then  should the title of the page be "Google"

  Scenario Outline: Foo Bar Baz
     When  I click on link "<link>"
     Then  should the title of the page be "<pageTitle>"

     Examples:
         | link          | pageTitle |
         | =Google       | Google    |
         | =Also Google  | Google    |