-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2 Add 'Lock archive metadata' Feature
- Add: lockArchiveMetadata.feature - Enhance: LibrariesSteps, LibraryPage
- Loading branch information
Showing
3 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Feature: Lock Archive Metadata | ||
Logged in user can lock the Archive Metadata file of a library. | ||
|
||
@KP-19 | ||
@LockArchiveMetadata | ||
Scenario: Lock archive metadata | ||
Given Logged in as User | ||
And Create new Library | ||
And Open new Library | ||
When Lock archive metadata file | ||
Then Archive metadata lock symbole is displayed | ||
When Unlock archive metadata file | ||
Then Archive metadata lock symbole is not displayed | ||
# @After LibrariesSteps.deleteLibrary() | ||
|
||
#TODO: Archive metadata can be edited (by owner) while locked and after the lock | ||
|
||
#TODO: Further test case: Extract the unlock in an extra test case | ||
|
||
#TODO: Further test case: other user (with edit rights) can not edit file while locked |