You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strange. I wonder if it has something to do with the nested nature of your expanded checkbox list (I don't believe the tests cover this specific scenario). Are you using PantherBrowser or KernelBrowser.
(I updated your description to improve readability)
I am using the PantherBrowser. I will search if Mink (Behat\Mink\WebAssert) has a function for that Use-Case.
Maybe this Repo can add a function to it, if i found a solution.
But that has not a top priority for now for me. I need to write tests for the whole App first.
I have a ChoiceType in Symfony.
HTML (github has problems with < and >)
Check/Uncheck of Checkboxes is working
->checkField('foo')
->uncheckField('foo')
But ->assertChecked('bar') is always true. But it is not checked.
->assertNotChecked('bar') fails too.
Am i doing something wrong?
I tried the assertNotSelected() function as well.
->assertNotSelected('user_edit_form[assignedRoles][]', 'foo')
The text was updated successfully, but these errors were encountered: