-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests-only]logout user from client (#8663)
* [tests-only]logout user from client * add snooze
- Loading branch information
Showing
5 changed files
with
148 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Feature: Logout users | ||
As a user | ||
I want to be able to login and logout of my account | ||
So that I can protect my work and identity and be assured of privacy | ||
|
||
Background: | ||
Given user "Alice" has been created on the server with default attributes and without skeleton files | ||
|
||
Scenario: logging out | ||
Given user "Alice" has set up a client with default settings | ||
When the user logs out of the client-UI | ||
Then user "Alice" should be signed out | ||
|
||
Scenario: login after loggin out | ||
Given user "Alice" has set up a client with default settings | ||
And user "Alice" has logged out of the client-UI | ||
When user "Alice" logs in to the client-UI | ||
Then user "Alice" should be connect to the client-UI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
source(findFile('scripts', 'python/bdd.py')) | ||
|
||
setupHooks('../shared/scripts/bdd_hooks.py') | ||
collectStepDefinitions('./steps', '../shared/steps') | ||
|
||
|
||
def main(): | ||
testSettings.throwOnFailure = True | ||
runFeatureFile('test.feature') |