Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Codeception 2.1 Default selected option dropdown not submitted #2733
When i fill a form and leave the dropdown with the default selected option.
Even when i try to see if the option is selected codeception tells me the dropdown doesn't exist.
Step I see option is selected "origin_id","Instrumentaal"
But when i select an option from the dropdown before the seeIfSelected then it works fine.
Looks like the select inputs are not initialized when the test starts or something?
I can't reproduce your issue.
Codeception has a test which verifies that seeOptionIsSelected can see the default option:
Please provide HTML that you are testing, test code, and *.suite.yml of your test suite.