Skip to content

test(gui): port tst_deleteFilesFolders suite - #872

Merged
saw-jan merged 3 commits into
test/port-to-appiumfrom
test/port-tst-deleteFilesFolders-appium
Apr 21, 2026
Merged

saw-jan merged 3 commits into
test/port-to-appiumfrom
test/port-tst-deleteFilesFolders-appium

Conversation

@anon-pradip

@anon-pradip anon-pradip commented Apr 20, 2026 •

Copy link
Copy Markdown
Contributor

Part of #861

enable following test scenarios:

@smoke
Scenario Outline: Delete a file
@smoke
Scenario Outline: Delete a folder
@smoke
Scenario: Delete a file and a folder

@anon-pradip anon-pradip self-assigned this Apr 20, 2026
@anon-pradip anon-pradip mentioned this pull request Apr 20, 2026
30 tasks done
@anon-pradip
anon-pradip force-pushed the test/port-tst-deleteFilesFolders-appium branch from f1a3269 to faffda9 Compare April 20, 2026 09:13
Comment on lines +11 to +15
@parse.with_pattern(r"file|folder")
def parse_resource_type(text):
return text

register_type(ResourceType=parse_resource_type)

@anon-pradip anon-pradip Apr 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for accepting file or folder like previous (file|folder)

@anon-pradip anon-pradip changed the title test: port tst_deleteFilesFolders suite to appium test: port tst_deleteFilesFolders suite Apr 20, 2026
@anon-pradip
anon-pradip marked this pull request as ready for review April 20, 2026 09:23
Comment thread test/gui/steps/file_context.py Resolved
Comment thread test/gui/steps/file_context.py Resolved
Comment thread test/gui/steps/sync_context.py Resolved
@anon-pradip
anon-pradip force-pushed the test/port-tst-deleteFilesFolders-appium branch from 9cc6d9d to f8abf61 Compare April 21, 2026 06:53
@anon-pradip
anon-pradip requested a review from saw-jan April 21, 2026 06:55
@saw-jan saw-jan changed the title test: port tst_deleteFilesFolders suite test(gui): port tst_deleteFilesFolders suite Apr 21, 2026
def step(context, user_name, resource_type, resource_name):
resource_exists = webdav.resource_exists(user_name, resource_name)

with ensure('{0} "{1}" should not exist, but it does', resource_type.capitalize(), resource_name):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@saw-jan
saw-jan merged commit de9d8db into test/port-to-appium Apr 21, 2026
0 of 3 checks passed
@saw-jan
saw-jan deleted the test/port-tst-deleteFilesFolders-appium branch April 21, 2026 08:51
saw-jan pushed a commit that referenced this pull request May 12, 2026
* test: port tst_deleteFilesFolders suite

* test: fix placement of files

* test: use ensure instead of assert
saw-jan pushed a commit that referenced this pull request May 13, 2026
* test: port tst_deleteFilesFolders suite

* test: fix placement of files

* test: use ensure instead of assert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants