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

[QA] Refactor steps and functions #8840

Closed
swoichha opened this issue Jul 26, 2021 · 1 comment · Fixed by #8845
Closed

[QA] Refactor steps and functions #8840

swoichha opened this issue Jul 26, 2021 · 1 comment · Fixed by #8845
Assignees
Labels

Comments

@swoichha
Copy link
Contributor

Description

After https://github.com/owncloud/client/pull/8814/files has been merged now we have a method called waitForFolderToBeSynced. So, now we can refactor steps using

    waitFor(
        lambda: isFolderSynced(context.userData['clientSyncPath']),
        context.userData['clientSyncTimeout'] * 1000,
    )

and use the newly added method.

Also, refactor Given steps that has on the server in them and change them and add on the server at the end of the step.

@swoichha
Copy link
Contributor Author

swoichha commented Aug 2, 2021

#8845 has been merged so closing this issue now.

@swoichha swoichha closed this as completed Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant