Assert that the radio button is or is not selected.
Alternate phrasing using "is / is not selected".
Step pattern
Then (the )*"([^"]*)?" radio button is( not)* selectedExamples
Example #1
Then the "#gender-male" radio button is selectedExample #2
Then the "#gender-female" radio button is not selectedExample #3
And the "#plan-premium" radio button is selectedExample #4
Then the ".option-1" radio button is not selectedExample #5
When I select radio button "Female"
Then the "#gender-female" radio button is selected