Skip to content

Conversation

@Elena-Galina
Copy link
Collaborator

Assert.assertEquals(actualHeadingText, expectedHeadingText);
}

private void createFreestyleProject(String name) {
Copy link
Collaborator

@1user11 1user11 Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Привет @Elena-Galina! Я бы перенесла метод createFreestyleProject() из тестового класса в Page (Home Page) в этом PR. А позже надо будет подумать как написать этот метод более универсально, для create любого проекта, передавая ему два параметра - тип проекта, и имя. Что ты думаешь по этому поводу?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Привет, да, были мысли по поводу необходимости базового метода для создания любого проекта. Об этом надо отдельно подумать. Сейчас, считаю, переносить createFreestyleProject() в HomePage особо ничего не даст, т.к. он используется только в текущем тестовом классе. И на данный момент в других классах тоже существует метод create....(). Надо это сделать сразу для всех страниц. Там тоже скорее всего придется использовать дженерик.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ок, тогда пока оставляем как есть.

@Elena-Galina Elena-Galina merged commit e4cd320 into main Jan 17, 2026
2 checks passed
@Elena-Galina Elena-Galina deleted the eg/Freestyle-Error-NoWorkspace branch January 17, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AT_18.005.02 | Freestyle Project Management > View Workspace of the Project > Checking the display of an Error message when there is no Workspace

4 participants