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

Melnychuk home work 4 and 5 ( dropdown and checkbox) #297

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

omelaT
Copy link
Collaborator

@omelaT omelaT commented Feb 6, 2022

No description provided.


*/
public CreatePostPage checkBoxCondition(String value) {
if (value == "uncheck") {
Copy link
Owner

Choose a reason for hiding this comment

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

нужно добавить проверку состояния чекбокса. И если нужно что бы он стал невыбран, а он выбран - только тогда кликнуть. А если он и так не выбран - то ничего делать не нужно

}

public CreatePostPage selectTextInDropDownByUI(String valueForDropDown) {
selectTextInDropDown(dropdownRole, valueForDropDown);
Copy link
Owner

Choose a reason for hiding this comment

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

selectTextInDropDown - в нутри данного метода мы используес Select который выбирает значение джавой. А в задании нужно было сделать это с помощью обычных кликов..

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.

None yet

2 participants