Allow workspace owners to edit spaces (#9194)

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
This commit is contained in:
Anton Alexeyev
2025-06-10 16:51:21 +07:00
committed by GitHub
parent 4bf8176bad
commit ba57b3a9bf
6 changed files with 44 additions and 13 deletions
@@ -21,7 +21,9 @@ export class CommonRecruitingPage extends CalendarPage {
this.page.locator('.popupPanel > .hulyHeader-container > .hulyHeader-buttonsGroup.actions > button').first()
readonly buttonDelete = (): Locator => this.page.locator('button[class*="menuItem"] span', { hasText: 'Delete' })
readonly buttonAddSocialLinks = (): Locator => this.page.locator('button[id="presentation:string:AddSocialLinks"]')
readonly buttonAddSocialLinks = (): Locator =>
this.page.locator('button[id="presentation:string:AddSocialLinks"]').last()
readonly buttonContactPhone = (): Locator =>
this.page.locator('div[class^="popupPanel-body"] div.horizontal button[id="contact:string:Phone"]')
@@ -43,7 +43,7 @@ export class TalentsPage extends CommonRecruitingPage {
talentsTab = (): Locator => this.page.locator('.antiPanel-navigator').locator('text=Talents')
newTalentButton = (): Locator => this.page.locator('button:has-text("New Talent")')
addSocialLinksButton = (): Locator => this.page.locator('[id="presentation\\:string\\:AddSocialLinks"]')
addSocialLinksButton = (): Locator => this.page.locator('[id="presentation\\:string\\:AddSocialLinks"]').last()
emailSelectorButton = (): Locator => this.page.locator('.antiPopup').locator('text=Email')
confirmEmailButton = (): Locator => this.page.locator('#channel-ok.antiButton')
createTalentButton = (): Locator => this.page.locator('.antiCard button:has-text("Create")')