Skip to content

Commit

Permalink
#2 Fix test library names in lock-archive-metadata.feature
Browse files Browse the repository at this point in the history
-> Test data (like libraries) should have unique names. When scenarios
get executed in parallel different named test data prevent unintended
interactions between scenarios
- Use different names for the test libraries in
lock-archive-metadata.feature
  • Loading branch information
helkv committed Jan 22, 2020
1 parent 603860b commit bf2a833
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/test/resources/features/lockArchiveMetadata.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Feature: Lock Archive Metadata
@createLibrary
Scenario: Lock and unlock archive metadata
Given Logged in as User
And Create new Library "New UI Test Library 3"
And Open Library "New UI Test Library 3"
And Create new Library "New UI Test Library 3.1"
And Open Library "New UI Test Library 3.1"
When Lock archive-metadata.md file
Then Lock symbole displayed for archive-metadata.md
When Unlock archive-metadata.md file
Expand All @@ -16,8 +16,8 @@ Feature: Lock Archive Metadata
@createLibrary
Scenario: Owner can edit locked archive metadata
Given Logged in as User
And Create new Library "New UI Test Library 3"
And Open Library "New UI Test Library 3"
And Create new Library "New UI Test Library 3.2"
And Open Library "New UI Test Library 3.2"
When Lock archive-metadata.md file
And Open Markdown element archive-metadata.md
And Edit archive metadata:
Expand All @@ -37,8 +37,8 @@ Feature: Lock Archive Metadata
@createLibrary
Scenario: Owner can edit unlocked archive metadata
Given Logged in as User
And Create new Library "New UI Test Library 3"
And Open Library "New UI Test Library 3"
And Create new Library "New UI Test Library 3.3"
And Open Library "New UI Test Library 3.3"
And Lock archive-metadata.md file
Then Unlock archive-metadata.md file
And Open Markdown element archive-metadata.md
Expand Down

0 comments on commit bf2a833

Please sign in to comment.