Skip to content

[tests-only] add API tests for file download and rename edge cases - #9018

Merged
saw-jan merged 8 commits into
masterfrom
tests/extend-download-test
May 2, 2024
Merged

saw-jan merged 8 commits into
masterfrom
tests/extend-download-test

Conversation

@saw-jan

@saw-jan saw-jan commented Apr 30, 2024 •

Copy link
Copy Markdown
Member

Description

Added the following scenarios:

Scenario: try to download recently deleted file
Scenario Outline: rename a folder
Scenario Outline: rename folder to/from special characters
Scenario Outline: try to rename folder to name having white space at the end
Scenario Outline: try to rename folder to same name
Scenario Outline: rename a folder to existing folder name
Scenario Outline: try to rename folder to . and ..

Taken from owncloud/web#10861

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@saw-jan
saw-jan force-pushed the tests/extend-download-test branch from 48d297f to b3cc01c Compare May 2, 2024 04:49
@saw-jan
saw-jan marked this pull request as ready for review May 2, 2024 04:52
@saw-jan saw-jan changed the title [tests-only] add API tests for trying to download deleted file [tests-only] add API tests for file download and rename edge cases May 2, 2024
@sonarqubecloud

sonarqubecloud Bot commented May 2, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@v-scharf v-scharf left a comment

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.

LGTM

@saw-jan
saw-jan merged commit 5c7c363 into master May 2, 2024
@delete-merged-branch
delete-merged-branch Bot deleted the tests/extend-download-test branch May 2, 2024 06:36
ownclouders pushed a commit that referenced this pull request May 2, 2024
…9018)

* test: add API tests to download deleted file

* test: add more MOVE/rename API tests

* do not reuse step def method

* remove unused step

* fix typo

* fix tests

* update expected failure

* update expected failure
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 this pull request may close these issues.

2 participants