Then the "value" radio button is selected

Check, whether the radio button specified is or is not selected (using Nightwatch built-in assertion).

Then (the )"([^"])?" radio button is( not)* selected

 

Example #1: Then the "#gender-male" radio button is selected

 

This step definition is used to verify that the radio button is not selected.

Example #2: Then the "#gender-female" radio button is not selected