Skip to content

Commit

Permalink
test(gui): fix Windows vfs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Apr 30, 2024
1 parent 253dc7b commit 160e8c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/gui/shared/scripts/pageObjects/SyncConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ def resumeSync():

@staticmethod
def enableVFS():
SyncConnection.performAction("Enable virtual file support...")
SyncConnection.performAction("Enable virtual file support")

@staticmethod
def disableVFS():
SyncConnection.performAction("Disable virtual file support...")
SyncConnection.performAction("Disable virtual file support")
squish.clickButton(
squish.waitForObject(SyncConnection.DISABLE_VFS_CONFIRMATION_BUTTON)
)
Expand Down
2 changes: 1 addition & 1 deletion test/gui/tst_addAccount/test.feature
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Feature: adding accounts
| user | Alice |
| password | 1234 |
When the user selects download everything option in advanced section
Then the "Enable virtual file support..." button should be available
Then the "Enable virtual file support" button should be available

@skipOnOC10
Scenario: Add space manually from sync connection window
Expand Down
6 changes: 3 additions & 3 deletions test/gui/tst_vfs/test.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Feature: Enable/disable virtual file support
And the placeholder of file "folder2/lorem.txt" should exist on the file system
And the "Choose what to sync" button should not be available
When the user disables virtual file support
Then the "Enable virtual file support..." button should be available
Then the "Enable virtual file support" button should be available
And the file "testFile.txt" should be downloaded
And the file "folder1/lorem.txt" should be downloaded
And the file "folder2/lorem.txt" should be downloaded
Expand All @@ -28,7 +28,7 @@ Feature: Enable/disable virtual file support
Then the folder "folder1" should not exist on the file system
And the file "folder2/lorem.txt" should exist on the file system
When the user enables virtual file support
Then the "Disable virtual file support..." button should be available
Then the "Disable virtual file support" button should be available
And the placeholder of file "folder1/lorem.txt" should exist on the file system
And the file "testFile.txt" should be downloaded
And the file "folder2/lorem.txt" should be downloaded
Expand Down Expand Up @@ -84,4 +84,4 @@ Feature: Enable/disable virtual file support
And the user enables virtual file support
And the user disables virtual file support
And the user enables virtual file support
Then the "Disable virtual file support..." button should be available
Then the "Disable virtual file support" button should be available

0 comments on commit 160e8c6

Please sign in to comment.