Sha256: 10a69253bca8c89dc3239bd67cc315b2e8e2d0c16598d3b738f1eb96d2c5e11b

Contents?: true

Size: 1.43 KB

Versions: 50

Compression:

Stored size: 1.43 KB

Contents

@javascript
Feature: Conflict
  When I am editing a card and somebody else changes it at the same time I want to
  get a helpful message to solve the conflict.

  Background:
    Given I am signed in as Joe Admin
    And I create Phrase card "Duck Soup" with content "Laurel and Hardy"

  Scenario: Two edits on a card at the same time
    When I edit "Duck Soup" filling in "Stan Hardy"
    And I open a new window for Joe User
    And I edit "Duck Soup" setting content to "Oliver Laurel"

    # We still have Joe Admin's edit in the first window but we're globally signed in as Joe User.
    # We resign-in as Joe Admin in Joe User's window so that we submit Joe Admin's edit as Joe Admin
    And I am signed out
    And I wait a sec
    And I am signed in as Joe Admin
    And I close window
    And I submit
    Then I should see "Conflict!"
    And I should see "Joe User has also been making changes."
    And I should see "Oliver " in color green
    And I should see "Stan" in color red

  Scenario: Two edits on a card at the same time but with the same change
    When I edit "Duck Soup" filling in "Stan Laurel"
    And I open a new window for Joe User
    And I edit "Duck Soup" setting content to "Stan Laurel"
    And I am signed out
    And I wait a sec
    And I am signed in as Joe Admin
    And I close window
    And I submit
    Then I should see "Conflict!"
    #And I should see "No difference between your changes and Joe User's version."




Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
wagn-1.21.1 features/conflict.feature
decko-0.3.3 features/conflict.feature
decko-0.3.2 features/conflict.feature
decko-0.3.1 features/conflict.feature
decko-0.3.0 features/conflict.feature
decko-0.2.2 features/conflict.feature
decko-0.2.1 features/conflict.feature
decko-0.2 features/conflict.feature
decko-0.1 features/conflict.feature
wagn-1.21.0 features/conflict.feature
wagn-1.20.4 features/conflict.feature
wagn-1.20.3 features/conflict.feature
wagn-1.20.2 features/conflict.feature
wagn-1.20.1 features/conflict.feature
wagn-1.20.0 features/conflict.feature
wagn-1.19.6 features/conflict.feature
wagn-1.19.5 features/conflict.feature
wagn-1.19.4 features/conflict.feature
wagn-1.19.3 features/conflict.feature
wagn-1.19.2 features/conflict.feature