test: sharing: Fix tests that check text in English

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati authored and James Valleroy committed 2018-04-08 12:36:14 -04:00
1 parent 2ac2726752
commit a152811d70
3 files changed
+24 -22

No files matched your search

+11 -11
View File
@@ -26,27 +26,27 @@ Scenario: Add new share
Given share tmp is not available
When I add a share tmp from path /tmp for admin
Then the share tmp should be listed from path /tmp for admin
Then the share tmp should be accessible
And the share tmp should be accessible
Scenario: Edit a share
Given share tmp is not available
When I remove share boot
When I add a share tmp from path /tmp for admin
When I edit share tmp to boot from path /boot for admin
And I add a share tmp from path /tmp for admin
And I edit share tmp to boot from path /boot for admin
Then the share tmp should not be listed
Then the share tmp should not exist
Then the share boot should be listed from path /boot for admin
Then the share boot should be accessible
And the share tmp should not exist
And the share boot should be listed from path /boot for admin
And the share boot should be accessible
Scenario: Remove a share
When I remove share tmp
When I add a share tmp from path /tmp for admin
When I remove share tmp
And I add a share tmp from path /tmp for admin
And I remove share tmp
Then the share tmp should not be listed
Then the share tmp should not exist
And the share tmp should not exist
Scenario: Share permissions
When I remove share tmp
When I add a share tmp from path /tmp for syncthing
And I add a share tmp from path /tmp for syncthing
Then the share tmp should be listed from path /tmp for syncthing
Then the share tmp should not be accessible
And the share tmp should not be accessible