Skip to content

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

Merged
saw-jan merged 1 commit into
masterfrom
tests/extend-user-group-search
Apr 30, 2024
Merged

saw-jan merged 1 commit into
masterfrom
tests/extend-user-group-search

Conversation

@saw-jan

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

Copy link
Copy Markdown
Member

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
@sonarqubecloud

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

@saw-jan
saw-jan merged commit bf1d189 into master Apr 30, 2024
@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