Skip to content

Commit

Permalink
add test to check the sync activity in Sync Protocal tab
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwolAmatya committed Jul 4, 2024
1 parent b7253cd commit de120ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions test/gui/shared/steps/sync_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,8 @@ def step(context):
def step(context):
SyncConnection.remove_folder_sync_connection()
SyncConnection.confirm_folder_sync_connection_removal()


@Then('the file "|any|" should have status "|any|"')
def step(context, file_name, status):
Activity.hasSyncStatus(file_name, status)
5 changes: 4 additions & 1 deletion test/gui/tst_syncing/test.feature
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,10 @@ Feature: Syncing files
test contents
"""
And the user waits for file "file with space.txt" to be synced
Then as "Alice" file "file with space.txt" should exist in the server
When the user clicks on the activity tab
And the user selects "Sync Protocol" tab in the activity
Then the file "file with space.txt" should have status "Uploaded"
And as "Alice" file "file with space.txt" should exist in the server


Scenario: Syncing folders each having 500 files
Expand Down

0 comments on commit de120ac

Please sign in to comment.