mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
sharing: Update functional test to use syncthing-access group
'syncthing' group name was replaced by 'syncthing-access' in MR !1995, update the sharing app functional test to use this new group name. Test: - Update the sharing app Apache2 configuration. Run the sharing app tests. All tests pass. Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
a022eed0eb
commit
566fef18b2
@ -32,8 +32,8 @@ Scenario: Remove a share
|
|||||||
|
|
||||||
Scenario: Share permissions
|
Scenario: Share permissions
|
||||||
When I remove share tmp
|
When I remove share tmp
|
||||||
And I add a share tmp from path /tmp for syncthing
|
And I add a share tmp from path /tmp for syncthing-access
|
||||||
Then the share tmp should be listed from path /tmp for syncthing
|
Then the share tmp should be listed from path /tmp for syncthing-access
|
||||||
And the share tmp should not be accessible
|
And the share tmp should not be accessible
|
||||||
|
|
||||||
Scenario: Public share
|
Scenario: Public share
|
||||||
|
|||||||
@ -17,7 +17,7 @@ def remove_share(session_browser, name):
|
|||||||
_remove_share(session_browser, name)
|
_remove_share(session_browser, name)
|
||||||
|
|
||||||
|
|
||||||
@when(parsers.parse('I add a share {name:w} from path {path} for {group:w}'))
|
@when(parsers.parse('I add a share {name:w} from path {path} for {group:S}'))
|
||||||
def add_share(session_browser, name, path, group):
|
def add_share(session_browser, name, path, group):
|
||||||
_add_share(session_browser, name, path, group)
|
_add_share(session_browser, name, path, group)
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ def edit_share_public_access(session_browser, name):
|
|||||||
|
|
||||||
@then(
|
@then(
|
||||||
parsers.parse(
|
parsers.parse(
|
||||||
'the share {name:w} should be listed from path {path} for {group:w}'))
|
'the share {name:w} should be listed from path {path} for {group:S}'))
|
||||||
def verify_share(session_browser, name, path, group):
|
def verify_share(session_browser, name, path, group):
|
||||||
_verify_share(session_browser, name, path, group)
|
_verify_share(session_browser, name, path, group)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user