Skip to content

Commit

Permalink
feat(tests): updated create-vacancy test (#4091)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Velichko <nestor_007@mail.ru>
  • Loading branch information
nestoragent authored Nov 29, 2023
1 parent 77c2b02 commit 58a004e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/sanity/tests/recruiting/vacancies.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { NavigationMenuPage } from '../model/recruiting/navigation-menu-page'
import { VacanciesPage } from '../model/recruiting/vacancies-page'
import { VacancyDetailsPage } from '../model/recruiting/vacancy-details-page'
import { allure } from 'allure-playwright'
import { CommonPage } from '../model/common-page'

test.use({
storageState: PlatformSetting
Expand Down Expand Up @@ -32,7 +33,8 @@ test.describe('Vacancy tests', () => {
// Create Application1
await page.click('button:has-text("Application")')
await page.click('form[id="recruit:string:CreateApplication"] [id="vacancy.talant.selector"]')
await page.click('button:has-text("P. Alex")')

await new CommonPage().selectAssignee(page, 'Alex')
await page.click('form[id="recruit:string:CreateApplication"] button:has-text("Create")')
await page.waitForSelector('form.antiCard', { state: 'detached' })

Expand Down

0 comments on commit 58a004e

Please sign in to comment.