Skip to content

Commit

Permalink
wait for sharing indicators to be visible before checking them
Browse files Browse the repository at this point in the history
  • Loading branch information
individual-it committed Mar 31, 2021
1 parent 74db318 commit 42f50a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/acceptance/pageObjects/FilesPageElement/filesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,12 @@ module.exports = {
const indicators = []

await this.waitForFileVisible(fileName)

await this.waitForElementVisible({
selector: shareIndicatorsXpath,
locateStrategy: this.elements.shareIndicatorsInFileRow.locateStrategy,
abortOnFailure: false,
timeout: client.globals.waitForNegativeConditionTimeout
})
await this.api.elements(
this.elements.shareIndicatorsInFileRow.locateStrategy,
shareIndicatorsXpath,
Expand Down

0 comments on commit 42f50a5

Please sign in to comment.