'Click a checkbox in Codeception

I have to run a test with codeception. I have to select a checkbox but I can't get it to work in any way (either by clicking or CheckOption) This is the code:

can someone help me? have you seen this problem?



Solution 1:[1]

Although the question is rather old, I'll post the answer here for the next one ending up on this page. Should be as easy as:

$I->checkOption('#queue_joinEmptyInUseEnabled');

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Stefan W