This commit is contained in:
Viktor Scharf
2024-07-08 08:18:27 +02:00
parent 97bce8edd4
commit fab562674f
6 changed files with 61 additions and 59 deletions
@@ -6,7 +6,7 @@ Feature: accepting invitation
Background:
Given user "Alice" has been created with default attributes and without skeleton files
And using server "REMOTE"
Given these users have been created with default attributes and without skeleton files:
And these users have been created with default attributes and without skeleton files:
| username |
| Brian |
| Carol |
@@ -40,7 +40,7 @@ Feature: accepting invitation
And "Brian" accepts the last federation share invitation
Then the HTTP status code should be "200"
Scenario: user accepts invitation sent with email and description
Given using server "LOCAL"
When "Alice" creates the federation share invitation with email "alice@example.com" and description "a share invitation from Alice"
@@ -68,7 +68,7 @@ Feature: accepting invitation
When using server "REMOTE"
And "Brian" accepts the last federation share invitation
Then the HTTP status code should be "200"
Scenario: two users can accept one invitation
Given using server "LOCAL"
@@ -77,7 +77,7 @@ Feature: accepting invitation
And "Brian" accepts the last federation share invitation
Then the HTTP status code should be "200"
And "Carol" accepts the last federation share invitation
Then the HTTP status code should be "200"
And the HTTP status code should be "200"
Scenario: user tries to accept the invitation twice
@@ -2,7 +2,7 @@
Feature: search federation users
As a user
I can find federation users after accepting an invitation to share resources
Background:
Given these users have been created with default attributes and without skeleton files:
@@ -87,6 +87,7 @@ Feature: an user shares resources usin ScienceMesh application
}
"""
Scenario: users shares folder to federation users after accepting invitation
Given using server "LOCAL"
And "Alice" has created the federation share invitation
@@ -162,4 +163,4 @@ Feature: an user shares resources usin ScienceMesh application
}
}
}
"""
"""