diff --git a/test/gui/shared/steps/sync_context.py b/test/gui/shared/steps/sync_context.py index c3a6c2ff3d7..e5f840b6602 100644 --- a/test/gui/shared/steps/sync_context.py +++ b/test/gui/shared/steps/sync_context.py @@ -288,3 +288,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|" in the activity tab') +def step(context, file_name, status): + Activity.hasSyncStatus(file_name, status) diff --git a/test/gui/tst_syncing/test.feature b/test/gui/tst_syncing/test.feature index e7f4bf5736f..8f53de0cf4e 100644 --- a/test/gui/tst_syncing/test.feature +++ b/test/gui/tst_syncing/test.feature @@ -15,7 +15,10 @@ Feature: Syncing files test content """ And the user waits for file "lorem-for-upload.txt" to be synced - Then as "Alice" the file "lorem-for-upload.txt" should have the content "test content" in the server + And the user clicks on the activity tab + And the user selects "Local Activity" tab in the activity + Then the file "lorem-for-upload.txt" should have status "Uploaded" in the activity tab + And as "Alice" the file "lorem-for-upload.txt" should have the content "test content" in the server Scenario: Syncing all files and folders from the server