Skip to content

Commit

Permalink
tests: fix remove new collaborator selector
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHirt committed Apr 7, 2021
1 parent 6a80150 commit 092d630
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
</oc-autocomplete>
<div v-if="selectedCollaborators.length > 0">
<translate tag="div">Selected people</translate>
<ul class="uk-list files-collaborators-collaborator-autocomplete-item oc-mt-s oc-mb-m">
<ul class="uk-list files-collaborators-collaborator-autocomplete-items oc-mt-s oc-mb-m">
<li
v-for="collaborator in selectedCollaborators"
:key="collaborator.value.shareWith + '-' + collaborator.value.shareType"
class="uk-flex"
class="uk-flex files-collaborators-collaborator-autocomplete-item"
>
<oc-button
:aria-label="$gettext('Delete share')"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ module.exports = {
},
newCollaboratorItems: {
selector:
"//div[@id='oc-files-sharing-sidebar']//table[contains(@class, 'files-collaborators-collaborator-autocomplete-item')]//div[contains(., '%s')]/ancestor::tr[position()=1]"
"//span[contains(@class, 'files-collaborators-autocomplete-username') and contains(., '%s')]/ancestor::li[contains(@class, 'files-collaborators-collaborator-autocomplete-item')]/button[contains(@class, 'files-collaborators-collaborator-autocomplete-item-remove')]"
},
newCollaboratorRemoveButton: {
selector:
Expand Down

0 comments on commit 092d630

Please sign in to comment.