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

Command icon 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

Alaa Jwiehan created an issue. See original summary.

alaa jwiehan’s picture

Title: Functional Automated Testing: Step Definition for validating if a checkbox input is checked or unchecked » Functional Automated Testing: Step Definition to validate if a checkbox input is checked or unchecked

Rajab Natshah made their first commit to this issue’s fork.

rajab natshah’s picture

Assigned: alaa jwiehan » Unassigned
Status: Active » Needs review

rajab natshah’s picture

Title: Functional Automated Testing: Step Definition to validate if a checkbox input is checked or unchecked » Add Functional Automated Testing: Step Definition to validate if a checkbox input is checked or unchecked
Assigned: Unassigned » mohammed j. razem
Issue summary: View changes
Issue tags: +varbase-9.0.8
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.0.8

rajab natshah’s picture

Status: Fixed » Closed (fixed)