Sha256: 97f635760dd0bc946d0f2fef535bfba2429ff4a2d0838416a1374ab76c4e1e67

Contents?: true

Size: 1.54 KB

Versions: 6

Compression:

Stored size: 1.54 KB

Contents

Feature: Generate Rake Artifacts Tasks

  In order to be able to view screenshot failures and decide whether accept or reject them
  As a Help Centre developer
  I want to be able to compare screenshots

  Scenario: App just runs
    When I get help for "compaa"
    Then the exit status should be 0
    And the banner should be present
    And the banner should document that this app takes options
    And the following options should be documented:
      | --version |
    And the banner should document that this app takes no arguments

  Scenario: Compare screenshots and approve
    Given a sample reference screenshot
    And a sample generated screenshot
    And a sample difference screenshot
    When I run `compaa` interactively
    And I approve the screenshot
    Then the new reference screenshot should be the same as the sample generated screenshot
    And the difference image should have been deleted

  Scenario: Compare screenshots and reject
    Given a sample reference screenshot
    And a sample generated screenshot
    And a sample difference screenshot
    When I run `compaa` interactively
    And I reject the screenshot
    Then the new reference screenshot should be the same as the original reference screenshot

	Scenario: Generated images without corresponding reference images require approval
    Given a sample generated screenshot
		And no reference images or difference images
    When I run `compaa` interactively
    And I approve the screenshot
    Then the new reference screenshot should be the same as the sample generated screenshot

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
compaa-0.0.4 features/compaa.feature
compaa-0.0.3 features/compaa.feature
compaa-0.0.2 features/compaa.feature
compaa-0.0.1.3 features/compaa.feature
compaa-0.0.1.2 features/compaa.feature
compaa-0.0.1.1 features/compaa.feature