refactor scenario example table (#6694)

This commit is contained in:
Prajwol Amatya
2023-07-04 15:54:16 +05:45
committed by GitHub
parent 6535e689a2
commit 941ef59cc9
27 changed files with 353 additions and 420 deletions
@@ -186,7 +186,7 @@ Feature: edit user
| User | Admin |
| User Light | Space Admin |
| User Light | User |
| User Light | User Light |
| User Light | User Light |
| User Light | Admin |
@@ -209,11 +209,11 @@ Feature: edit user
}
"""
Examples:
| action description | newDisplayName | code | displayNameAsResult |
| change to a display name | Olaf Scholz | 200 | Olaf Scholz |
| override to existing display name | Carol King | 200 | Carol King |
| change to an empty display name | | 400 | Brian Murphy |
| displayName with characters | *:!;_+-&#(?) | 200 | *:!;_+-&#(?) |
| action description | newDisplayName | displayNameAsResult |
| change to a display name | Olaf Scholz | Olaf Scholz |
| override to existing display name | Carol King | Carol King |
| change to an empty display name | | Brian Murphy |
| displayName with characters | *:!;_+-&#(?) | *:!;_+-&#(?) |
Scenario Outline: normal user should not be able to change his/her own display name
@@ -239,7 +239,7 @@ Feature: edit user
| role |
| Space Admin |
| User |
| User Light |
| User Light |
Scenario Outline: normal user should not be able to edit another user's display name
@@ -500,4 +500,4 @@ Feature: edit user
| role |
| Space Admin |
| User |
| User Light |
| User Light |
@@ -90,7 +90,7 @@ Feature: get users
| User | Admin |
| User Light | Space Admin |
| User Light | User |
| User Light | User Light |
| User Light | User Light |
| User Light | Admin |
@skipOnStable2.0