Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui-tests][full-ci]add test to check the sync activity in Sync Protocal tab #11726

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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)
5 changes: 4 additions & 1 deletion test/gui/tst_syncing/test.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading