Skip to content

feature test for share autocomplete list in webUI#35153

Merged
phil-davis merged 1 commit into
owncloud:masterfrom
haribhandari07:sharing-autocomplete-2
May 14, 2019
Merged

feature test for share autocomplete list in webUI#35153
phil-davis merged 1 commit into
owncloud:masterfrom
haribhandari07:sharing-autocomplete-2

Conversation

@haribhandari07

@haribhandari07 haribhandari07 commented May 6, 2019

Copy link
Copy Markdown
Contributor

Description

Test for autocompletion feature in share dialog using webUI.
Includes test for allowing user to opt-out of autocomplete in sharing dialog #34942
and admin disabling share dialog user enumeration

Related Issue

  • Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

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)

Comment thread tests/acceptance/features/lib/PersonalSharingSettingsPage.php
Comment thread tests/acceptance/features/bootstrap/WebUISharingContext.php
@codecov

codecov Bot commented May 6, 2019

Copy link
Copy Markdown

Codecov Report

Merging #35153 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #35153      +/-   ##
============================================
+ Coverage     65.48%   65.49%   +<.01%     
  Complexity    18636    18636              
============================================
  Files          1217     1217              
  Lines         70536    70536              
  Branches       1296     1296              
============================================
+ Hits          46194    46195       +1     
+ Misses        23965    23964       -1     
  Partials        377      377
Flag Coverage Δ Complexity Δ
#javascript 53.5% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 66.87% <ø> (ø) 18636 <ø> (ø) ⬇️
Impacted Files Coverage Δ Complexity Δ
lib/private/Server.php 86.68% <0%> (+0.11%) 253% <0%> (ø) ⬇️

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 cc5f317...b864d18. Read the comment docs.

@codecov

codecov Bot commented May 6, 2019

Copy link
Copy Markdown

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #35153   +/-   ##
=========================================
  Coverage     65.53%   65.53%           
  Complexity    18645    18645           
=========================================
  Files          1218     1218           
  Lines         70540    70540           
  Branches       1288     1288           
=========================================
  Hits          46231    46231           
  Misses        23932    23932           
  Partials        377      377
Flag Coverage Δ Complexity Δ
#javascript 53.69% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 66.9% <ø> (ø) 18645 <ø> (ø) ⬇️

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 801c978...47d70df. Read the comment docs.

Comment thread tests/acceptance/features/webUISharingInternalUsers/shareAutocompletion.feature Outdated
Comment thread tests/acceptance/features/webUISharingInternalUsers/shareAutocompletion.feature Outdated
Comment thread tests/acceptance/features/webUISharingInternalUsers/shareAutocompletion.feature Outdated
Comment thread tests/acceptance/features/bootstrap/WebUIPersonalSharingSettingsContext.php Outdated

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

paurakhsharma
paurakhsharma previously approved these changes May 13, 2019

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

Looks good to me 👍

@individual-it individual-it left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

add tests

  • to check if user has disallowed autocompleting but sharer types full username
  • to check if typing full display name when autocompletion is disabled (admin and user)

Comment thread tests/acceptance/features/bootstrap/WebUISharingContext.php Outdated
Comment thread tests/acceptance/features/lib/PersonalSharingSettingsPage.php Outdated
@haribhandari07

Copy link
Copy Markdown
Contributor Author

backport on #35217

@individual-it

Copy link
Copy Markdown
Member

@ownclouders rebase

@lock lock Bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants