-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acceptance test: check for the tabs displayed in details of public share page #2580
Conversation
9892d34
to
dbdcbb5
Compare
07d4b41
to
d67bc1b
Compare
1f21cd9
to
f1bc7dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
const visibleTabsCollection = this.elements.tabsInSideBar.selector | ||
const tabs = [] | ||
let elements | ||
await this.api.elements('xpath', visibleTabsCollection, function (result) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use the location strategy of this.elements.tabsInSideBar
here
f1bc7dc
to
849dcfe
Compare
getVisibleTabs: async function () { | ||
const tabs = [] | ||
let elements | ||
await this.api.elements('xpath', this.elements.tabsInSideBar, function (result) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't use hard-coded locator strategy here
849dcfe
to
ba3efc6
Compare
getVisibleTabs: async function () { | ||
const tabs = [] | ||
let elements | ||
await this.api.elements(this.elements.tabsInSideBar, function (result) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
await this.api.elements(this.elements.tabsInSideBar, function (result) { | |
await this.api.elements('@tabsInSideBar', function (result) { |
ba3efc6
to
95c57f7
Compare
Description
When public link share is accessed,
collaborators
,links
andversions
tabs are visible. This PR adds an acceptance test to verify this scenario, which is a bug as addressed in this issue: #2090Related Issue
#2090
Motivation and Context
How Has This Been Tested?
CI
Screenshots (if appropriate):
Types of changes
Checklist: