Skip to content

Rf build test 2#1067

Merged
yerkezhanm merged 18 commits into
mainfrom
RF-Build-Test-2
Jun 4, 2026
Merged

Rf build test 2#1067
yerkezhanm merged 18 commits into
mainfrom
RF-Build-Test-2

Conversation

@yerkezhanm
Copy link
Copy Markdown
Collaborator

No description provided.

.clickItemNewJob()
.setProjectName(PROJECT_NAME)
.selectFreestyleProjectAndClickOk()
.selectFreeStyleProject()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

здесь надо оставлять .selectFreestyleProjectAndClickOk()
Сергей про это говорил, должен быть такой двойной метод

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

готово

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Вижу, что метод разделился все же на 2 .selectFreeStyleProject() и .clickOkButton()

.clickOkButton()
.goHomePage()
.clickOnProject(PROJECT_NAME, new FreestyleProjectPage(getDriver()))
.getSideMenu()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

а зачем ты удалила getSideMenu?
это же компонент sideMenu, который я писала и рассказывала вам)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

готово

.goHomePage()
.clickOnProject(PROJECT_NAME, new FreestyleProjectPage(getDriver()))
.getSideMenu()
.clickConfigure(new FreestyleProjectConfigPage(getDriver()))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

и здесь тоже.. ты, наверно, так конфликт решала, но это как то неправильно...

.clickOnChildProject(FOLDER_CHILD, new NestedFolderPage(getDriver()))
.clickNewItem()
.setProjectName(FREESTYLE_NESTED)
.selectFreestyleProjectAndClickOk()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

этот метод нужно оставить. он должен быть один, который выбирает проект и кликает ок

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

готово


public FreestyleProjectConfigPage clickBuildStep(By locator) {
getDriver().findElement(locator).click();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

тут можно без пустой строки,когда одна строчка кода

@yerkezhanm yerkezhanm merged commit 0c3d7d5 into main Jun 4, 2026
2 checks passed
@yerkezhanm yerkezhanm deleted the RF-Build-Test-2 branch June 4, 2026 11:24
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.

4 participants