Skip to content

Commit

Permalink
Merge pull request #5174 from owncloud/refactor-tries-to-privatelink
Browse files Browse the repository at this point in the history
[tests-only] Adjust steps that try to navigate private links
  • Loading branch information
individual-it authored Jun 1, 2021
2 parents 2a0e504 + 1f4a6af commit 62ea1e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/acceptance/stepDefinitions/privateLinksContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ When(
'the user tries to navigate to the private link created by user {string} for file/folder {string}',
async function(user, resource) {
const item = await webdav.getProperties(resource, user, ['oc:privatelink'])
await client.url(item['oc:privatelink'])
await client
.url(item['oc:privatelink'])
.page.webPage()
.waitForElementNotPresent('@webContainer')
}
)

0 comments on commit 62ea1e6

Please sign in to comment.