-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tests Only] add test for enable/disable vfs (#8835)
* [Tests Only] add test for vfs * add test for disabling vfs * vfs object from model * make code DRY * added few comment for coordinates
- Loading branch information
1 parent
a41bc4a
commit c625d2d
Showing
5 changed files
with
96 additions
and
2 deletions.
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,20 @@ | ||
Feature: Enable/disable virtual file support | ||
|
||
As a user | ||
I want to enable virtual file support | ||
So that I can synchronize virtual files with local folder | ||
|
||
|
||
Scenario: Enable VFS | ||
Given user "Alice" has been created on the server with default attributes and without skeleton files | ||
And user "Alice" has set up a client with default settings | ||
When the user enables virtual file support | ||
Then the "Disable virtual file support..." button should be available | ||
|
||
|
||
Scenario: Disable VFS | ||
Given user "Alice" has been created on the server with default attributes and without skeleton files | ||
And user "Alice" has set up a client with default settings | ||
And the user has enabled virtual file support | ||
When the user disables virtual file support | ||
Then the "Enable virtual file support (experimental)..." button should be available |
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') |