mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-26 21:34:27 +00:00
feat(tests): updated tests (#4185)
Signed-off-by: Alex Velichko <nestor_007@mail.ru>
This commit is contained in:
parent
cd72d71ec5
commit
5d963eb87a
@ -18,7 +18,7 @@ test.describe('Collaborative tests for Application', () => {
|
||||
await (await page.goto(`${PlatformURI}/workbench/sanity-ws/recruit`))?.finished()
|
||||
})
|
||||
|
||||
test.skip('Add comment from several users', async ({ page, browser }) => {
|
||||
test('Add comment from several users', async ({ page, browser }) => {
|
||||
const vacancyName = 'Software Engineer'
|
||||
let talentName: TalentName
|
||||
// open second page
|
||||
|
@ -18,7 +18,7 @@ export class CommonRecruitingPage extends CalendarPage {
|
||||
this.page = page
|
||||
this.inputComment = page.locator('div.text-input div.tiptap')
|
||||
this.buttonSendComment = page.locator('g#Send')
|
||||
this.textComment = page.locator('div.msgactivity-container p')
|
||||
this.textComment = page.locator('div.showMore-content p')
|
||||
this.inputAddAttachment = page.locator('div.antiSection #file')
|
||||
this.textAttachmentName = page.locator('div.name a')
|
||||
this.buttonCreateFirstReview = page.locator('span:has-text("Create review")')
|
||||
|
@ -31,7 +31,7 @@ export class TemplateDetailsPage extends CommonTrackerPage {
|
||||
this.buttonEstimation = page.locator('(//span[text()="Estimation"]/../div/button)[3]')
|
||||
this.buttonDueDate = page.locator('(//span[text()="Due date"]/../div/button)[2]')
|
||||
this.buttonSaveDueDate = page.locator('div.footer > button')
|
||||
this.textComment = page.locator('div.labels-row')
|
||||
this.textComment = page.locator('div.grid div.header')
|
||||
this.buttonMoreActions = page.locator('div.popupPanel-title > div > button:nth-child(1)')
|
||||
this.buttonDelete = page.locator('button[class*="menuItem"] > span', { hasText: 'Delete' })
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ test.describe('Application tests', () => {
|
||||
await page.click('button:has-text("Chen Rosamund")')
|
||||
})
|
||||
|
||||
test.skip('Edit an Application', async ({ page }) => {
|
||||
test('Edit an Application', async ({ page }) => {
|
||||
const navigationMenuPage = new NavigationMenuPage(page)
|
||||
await navigationMenuPage.buttonApplications.click()
|
||||
|
||||
|
@ -64,7 +64,7 @@ test.describe('candidate/talents tests', () => {
|
||||
expect(await page.locator('.cover-channel >> input').inputValue()).toEqual(email)
|
||||
})
|
||||
|
||||
test.skip('Edit the Talent', async ({ page, context }) => {
|
||||
test('Edit the Talent', async ({ page, context }) => {
|
||||
const navigationMenuPage = new NavigationMenuPage(page)
|
||||
await navigationMenuPage.buttonTalents.click()
|
||||
|
||||
|
@ -80,7 +80,7 @@ test.describe('Vacancy tests', () => {
|
||||
// expect(await page.locator('.antiTable-body__row').count()).toBeGreaterThan(2)
|
||||
// })
|
||||
|
||||
test.skip('Edit a Vacancy', async ({ page }) => {
|
||||
test('Edit a Vacancy', async ({ page }) => {
|
||||
const vacancyName = 'Edit Vacancy ' + generateId(4)
|
||||
|
||||
const navigationMenuPage = new NavigationMenuPage(page)
|
||||
|
@ -94,6 +94,7 @@ test.describe('tracker layout tests', () => {
|
||||
const id = generateId(4)
|
||||
let issuesPropsP: Promise<IssueProps[]>
|
||||
let issuesProps: IssueProps[] = []
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await allure.parentSuite('Tracker tests')
|
||||
test.setTimeout(60000)
|
||||
|
@ -47,7 +47,7 @@ test.describe('Tracker template tests', () => {
|
||||
})
|
||||
})
|
||||
|
||||
test.skip('Edit a Template', async ({ page }) => {
|
||||
test('Edit a Template', async ({ page }) => {
|
||||
const newTemplate: NewIssue = {
|
||||
title: `Template for edit-${generateId()}`,
|
||||
description: 'Created template for edit'
|
||||
|
Loading…
Reference in New Issue
Block a user