Skip to content
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

TESTS-70: feat(tests): updated tests #4185

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/sanity/tests/collaborative/applications.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")')
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/tests/model/tracker/template-details-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
}
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/tests/recruiting/applications.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/tests/recruiting/talents.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/tests/recruiting/vacancies.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions tests/sanity/tests/tracker/layout.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/tests/tracker/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down