Sha256: 460fd87fd586a45e76306134e6491b07d8e96097fd2e7ab4b0f385f2b9cf60b2

Contents?: true

Size: 708 Bytes

Versions: 13

Compression:

Stored size: 708 Bytes

Contents

@integration
Feature: Screenshots of failed scenarios

  As a developer writing and running tests, it would be helpful to have a
  screenshot of the browser window at the point where each scenario has
  failed.

  Background:
    Given I have configured my environment with:
      """
      screenshot_failures: true
      screenshot_failures_path: tmp/screenshots
      """
      And the "tmp/screenshots" directory exists
      And I am using the screenshot helper

  Scenario: A screenshot is taken for failed scenarios
    Given the current scenario name is "Some scenario"
      And I have started a browser
    When the scenario fails
    Then the file "tmp/screenshots/Some scenario.png" should exist

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mediawiki_selenium-1.8.1 features/screenshots.feature
mediawiki_selenium-1.8.0 features/screenshots.feature
mediawiki_selenium-1.7.4 features/screenshots.feature
mediawiki_selenium-1.7.3 features/screenshots.feature
mediawiki_selenium-1.7.2 features/screenshots.feature
mediawiki_selenium-1.7.1 features/screenshots.feature
mediawiki_selenium-1.7.0 features/screenshots.feature
mediawiki_selenium-1.6.5 features/screenshots.feature
mediawiki_selenium-1.6.4 features/screenshots.feature
mediawiki_selenium-1.6.3 features/screenshots.feature
mediawiki_selenium-1.6.2 features/screenshots.feature
mediawiki_selenium-1.6.1 features/screenshots.feature
mediawiki_selenium-1.6.0 features/screenshots.feature