Skip to content

Commit

Permalink
remove skipOnOCIS tag from moveFiles test
Browse files Browse the repository at this point in the history
  • Loading branch information
swoichha committed Nov 10, 2020
1 parent 49d0699 commit d6ae7bd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ Feature: move files
| "question?" | "folder-with-question?" |
| "&and#hash" | "folder-with-&and#hash" |

@skipOnOCIS
Scenario: move files on a public share
Given user "user1" has shared folder "simple-folder" with link with "read, update, create, delete" permissions
And the public uses the webUI to access the last public link created by user "user1"
Expand Down
15 changes: 15 additions & 0 deletions tests/acceptance/pageObjects/filesPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,21 @@ module.exports = {
}
return null
},
/**
* Check if the breadcrumb element is visible or not
*
* @returns Promise
*/
checkBreadcrumbVisibility: async function(resourceBreadcrumbXpath) {
await this.useXpath()
.waitForElementVisible({
selector: resourceBreadcrumbXpath,
abortOnFailure: false
})
.waitForAnimationToFinish()
.useCss()
return this
},
/**
* Create a folder with the given name
*
Expand Down
2 changes: 2 additions & 0 deletions tests/acceptance/stepDefinitions/filesContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,8 @@ const assertBreadcrumbIsDisplayedFor = async function(resource, clickable, nonCl
abortOnFailure: false
})

await client.page.filesPage().checkBreadcrumbVisibility(resourceBreadcrumbXpath)

await client.element('xpath', resourceBreadcrumbXpath, result => {
if (result.status > -1) {
isBreadcrumbVisible = true
Expand Down

0 comments on commit d6ae7bd

Please sign in to comment.