1
0
mirror of https://github.com/owncloud/ocis.git synced 2025-04-18 23:44:07 +03:00

Merge pull request #11230 from owncloud/test/rename-step

[tests-only] test: rename step name
This commit is contained in:
Sawjan Gurung 2025-04-11 16:45:49 +05:45 committed by GitHub
commit 01c687d3df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 14 deletions

View File

@ -2331,7 +2331,7 @@ class SharingNgContext implements Context {
}
/**
* @Then /^user "([^"]*)" should have the following shares of the (?:folder|file) "([^"]*)":$/
* @Then for user :user file/folder :resource should have the following shares:
*
* @param string $user
* @param string $resource

View File

@ -62,7 +62,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the file "textfile1.txt":
And for user "Brian" file "textfile1.txt" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <permissions-role> |
Examples:
@ -122,7 +122,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the folder "FolderToShare":
And for user "Brian" folder "FolderToShare" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <permissions-role> |
Examples:
@ -185,7 +185,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the file "textfile1.txt":
And for user "Brian" file "textfile1.txt" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <permissions-role> |
Examples:
@ -248,7 +248,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the folder "FolderToShare":
And for user "Brian" folder "FolderToShare" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <permissions-role> |
Examples:
@ -301,7 +301,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the file "textfile1.txt":
And for user "Brian" file "textfile1.txt" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <new-permissions-role> |
Examples:
@ -356,7 +356,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the folder "FolderToShare":
And for user "Brian" folder "FolderToShare" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <new-permissions-role> |
Examples:
@ -416,7 +416,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the file "textfile1.txt":
And for user "Brian" file "textfile1.txt" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <new-permissions-role> |
Examples:
@ -474,7 +474,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the folder "FolderToShare":
And for user "Brian" folder "FolderToShare" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <new-permissions-role> |
Examples:
@ -531,7 +531,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the file "textfile1.txt":
And for user "Brian" file "textfile1.txt" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <new-permissions-role> |
Examples:
@ -586,7 +586,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the folder "FolderToShare":
And for user "Brian" folder "FolderToShare" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <new-permissions-role> |
Examples:
@ -646,7 +646,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the file "textfile1.txt":
And for user "Brian" file "textfile1.txt" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <new-permissions-role> |
Examples:
@ -704,7 +704,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the folder "FolderToShare":
And for user "Brian" folder "FolderToShare" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | <new-permissions-role> |
Examples:
@ -1302,7 +1302,7 @@ Feature: ListGrants role
}
}
"""
And user "Brian" should have the following shares of the folder "folder":
And for user "Brian" folder "folder" should have the following shares:
| sharee | shareType | permissionsRole |
| Brian | user | Viewer |
| grp1 | group | <permissions-role> |