Skip to content

Commit

Permalink
tests: use select wrapper selector
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHirt committed Apr 23, 2021
1 parent 447230f commit 0c7f680
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<oc-select
v-model="selectedRole"
input-id="files-collaborators-role-button"
class="files-collaborators-role-button-wrapper"
:options="roles"
:clearable="false"
label="label"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
:options="roles"
:clearable="false"
label="label"
class="oc-mb"
class="oc-mb files-file-link-role-button-wrapper"
>
<template v-slot:option="option">
<role-item :role="option" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ module.exports = {
selector: '#files-sidebar-private-link-icon-copied'
},
publicLinkRoleSelectionDropdown: {
selector: '//div[@id="files-file-link-role-button"]//span[.="%s"]',
selector: '//div[contains(@class, "files-file-link-role-button-wrapper")]//span[.="%s"]',
locateStrategy: 'xpath'
}
}
Expand Down

0 comments on commit 0c7f680

Please sign in to comment.