Skip to content

Test medial search autocompletion for accounts and groups#35313

Merged
skshetry merged 1 commit into
masterfrom
groupMedialSearchAutocompletion
May 31, 2019
Merged

Test medial search autocompletion for accounts and groups#35313
skshetry merged 1 commit into
masterfrom
groupMedialSearchAutocompletion

Conversation

@individual-it

@individual-it individual-it commented May 23, 2019

Copy link
Copy Markdown
Member

Description

This adds a test regarding medial searches for accounts and groups.

Related Issue

  • Fixes #

Motivation and Context

How Has This Been Tested?

  • locally
  • :robots:

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • 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:

Open tasks:

  • Backport (if applicable set "backport-request" label and remove when the backport was done)

@skshetry
skshetry force-pushed the groupMedialSearchAutocompletion branch 2 times, most recently from cf99735 to 2cd43cd Compare May 24, 2019 07:32
@codecov

codecov Bot commented May 24, 2019

Copy link
Copy Markdown

Codecov Report

Merging #35313 into master will increase coverage by 16.66%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #35313       +/-   ##
=============================================
+ Coverage     48.87%   65.54%   +16.66%     
- Complexity        0    18647    +18647     
=============================================
  Files           109     1218     +1109     
  Lines         10560    70546    +59986     
  Branches       1288     1288               
=============================================
+ Hits           5161    46236    +41075     
- Misses         5022    23933    +18911     
  Partials        377      377
Flag Coverage Δ Complexity Δ
#javascript 53.69% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 66.9% <ø> (+28.72%) 18647 <ø> (+18647) ⬆️
Impacted Files Coverage Δ Complexity Δ
apps/files_external/lib/config.php 10.71% <0%> (-20.87%) 19% <0%> (+19%)
apps/updatenotification/templates/admin.php 0% <0%> (ø) 0% <0%> (?)
lib/private/Encryption/Keys/Storage.php 88.03% <0%> (ø) 48% <0%> (?)
lib/private/App/CodeChecker/NodeVisitor.php 95.86% <0%> (ø) 54% <0%> (?)
lib/private/RedisFactory.php 0% <0%> (ø) 19% <0%> (?)
apps/dav/lib/Avatars/AvatarNode.php 72% <0%> (ø) 9% <0%> (?)
...s/dav/appinfo/Migrations/Version20170202213905.php 21.05% <0%> (ø) 12% <0%> (?)
apps/dav/lib/Upload/ChunkLocationProvider.php 100% <0%> (ø) 4% <0%> (?)
apps/files/lib/AppInfo/Application.php 40.47% <0%> (ø) 7% <0%> (?)
apps/systemtags/list.php 0% <0%> (ø) 0% <0%> (?)
... and 1101 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2f25d1...2cd43cd. Read the comment docs.

@codecov

codecov Bot commented May 24, 2019

Copy link
Copy Markdown

Codecov Report

Merging #35313 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #35313   +/-   ##
=========================================
  Coverage     65.53%   65.53%           
  Complexity    18648    18648           
=========================================
  Files          1218     1218           
  Lines         70549    70549           
  Branches       1288     1288           
=========================================
  Hits          46236    46236           
  Misses        23936    23936           
  Partials        377      377
Flag Coverage Δ Complexity Δ
#javascript 53.69% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 66.89% <ø> (ø) 18648 <ø> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fac319...867286b. Read the comment docs.

@skshetry
skshetry force-pushed the groupMedialSearchAutocompletion branch from 2cd43cd to 433aecd Compare May 24, 2019 07:36
@skshetry skshetry changed the title Group medial search autocompletion Test medial search autocompletion for accounts and groups May 24, 2019
@skshetry
skshetry requested a review from dpakach May 24, 2019 09:25
@skshetry
skshetry requested a review from paurakhsharma May 24, 2019 09:26
And the user has browsed to the files page
And the user has opened the share dialog for folder "simple-folder"
When the user types "ce2" in the share-with-field
Then all users and groups that contain the string "finance2" in their name should be listed in the autocomplete list on the webUI

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.

Suggested change
Then all users and groups that contain the string "finance2" in their name should be listed in the autocomplete list on the webUI
Then all users and groups that contain the string "ce2" in their name should be listed in the autocomplete list on the webUI

Comment thread tests/acceptance/features/webUISharingInternalUsers/shareAutocompletion.feature Outdated

@paurakhsharma paurakhsharma 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.

Scenarios look good to me.
Maybe we can move group related scenarios to webUISharingInternalGroups.
Also, we can add another step saying
user :user should be listed in the autocomplete list
But can be done in another PR.

Comment thread tests/acceptance/features/bootstrap/WebUISharingContext.php Outdated
@skshetry

Copy link
Copy Markdown
Contributor

@paurakhsharma, yeah, I'll create a issue for that later.

@dpakach dpakach 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 👍

Comment thread tests/acceptance/features/webUISharingInternalUsers/shareAutocompletion.feature Outdated
Comment thread tests/acceptance/features/webUISharingInternalUsers/shareAutocompletion.feature Outdated
@phil-davis
phil-davis self-requested a review May 30, 2019 08:37
@phil-davis
phil-davis force-pushed the groupMedialSearchAutocompletion branch from 4ea417a to 867286b Compare May 30, 2019 09:34
@phil-davis

Copy link
Copy Markdown
Contributor

I squashed the 7 commits into 1 just now.

@phil-davis

Copy link
Copy Markdown
Contributor

Backport stable10 #35381

@skshetry
skshetry merged commit bb0c93d into master May 31, 2019
@delete-merged-branch
delete-merged-branch Bot deleted the groupMedialSearchAutocompletion branch May 31, 2019 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants