seeInField with radio buttons
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with the WebDriver module's seeInField entry point and the linked seeInField documentation. Review the requested behavior for radio buttons, selects, checkboxes, labels, and null or empty values before defining the scope; no implementation file or test is named in the issue.
Written by the indexing model from the issue text.
Description
Some suggestions/questions for seeInField:
-
Even if not explicitly mentioned at http://codeception.com/docs/modules/WebDriver#seeInField it works for radio buttons too? And probably select's and checkbox'es too?
-
For radio buttons, you need to pass the value as second argument:
$I->seeInField('.gender', 1);...which isn't very readable ;-) So I'm suggesting a method to assert a radio button's value by its label - something like:
$I->seeRadioSelected('.gender', 'female'); -
How can you assert that no radio button is selected? I tried
seeInFieldwithnullor''as second argument - both didn't work. So I'm suggesting to include that too.
- Dominant language
- PHP
- Stars
- 39
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Codeception/module-webdriver
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Codeception/module-webdriver#151 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Codeception/module-webdriver#135 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
Codeception/module-webdriver#130 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Codeception/module-webdriver#128 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Codeception/module-webdriver#126 ·
All issues in Codeception/module-webdriver
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
taskforcesh/bullmq#5238 ·
Maintainers usually reply within 1 day
-
[Bug] v-change-database-password reports success but doesn't change the password when MySQL validate_password rejects itPossibly taken @bfs2021 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Automattic/jetpack#55517 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day