Problem/Motivation
Build a step definition to validate if a checkbox input element is checked or unchecked.
Proposed resolution
Built two step definitions to handle this case
iShouldSeeTheCheckboxUnchecked
Example #1: And I should see the "Accept" checkbox unchecked
Example #2: Then I should see the "Enable" checkbox unchecked
iShouldSeeTheCheckboxChecked
Example #1: And I should see the "Site Admin" checkbox checked
Example #1: Then I should see the "Enable" checkbox checked
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ✅ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ✅ Accessibility and Readability
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes and Update Helper on new feature change/addition
- ✅ Release varbase-9.0.8
Varbase update type
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Issue #3298632 by Alaa Jwiehan: Added Functional Automated Testing: Step Definition to validate if a checkbox input is checked or unchecked
Issue fork varbase-3298632
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
alaa jwiehan commentedComment #7
rajab natshahComment #10
rajab natshahComment #11
rajab natshahComment #12
rajab natshahComment #13
rajab natshah✅ Released varbase-9.0.8
Comment #14
rajab natshah