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

[tests-only] add API tests to search user/group with special chars #9015

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

saw-jan
Copy link
Member

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

Description

Added the following user/group search scenarios:

Scenario Outline: user searches for groups with special characters (search term with quotation)
      | tea-lovers | -lovers |
      | tea@lovers | @lovers |
      | -_.ocgrp   | -_.     |
      | _ocgrp@    | _oc     |
Scenario: user searches for a non-existent user/group
Scenario Outline: user searches for other users having special characters in displayname (search term with quotation)
      | -_.ocusr         | -_.         |
      | _ocusr@          | _oc         |
      | Alice-Wonderland | -Wonderland |
      | Alice@Wonderland | @Wonderland |

Taken from owncloud/web#10858

Related Issue

How Has This Been Tested?

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-user-group-search branch from e7cbf93 to 6987010 Compare April 30, 2024 06:55
@saw-jan saw-jan marked this pull request as ready for review April 30, 2024 06:55
Copy link

sonarcloud bot commented Apr 30, 2024

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

@saw-jan saw-jan merged commit bf1d189 into master Apr 30, 2024
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the tests/extend-user-group-search branch April 30, 2024 07:27
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