mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
feat(tests): updated create-vacancy test (#4091)
Signed-off-by: Alex Velichko <nestor_007@mail.ru>
This commit is contained in:
parent
77c2b029b3
commit
58a004e53f
@ -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
|
||||
@ -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' })
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user