Skip to content

Align seeCheckboxIsChecked() and dontSeeCheckboxIsChecked() parameter types #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 9, 2022
Merged

Align seeCheckboxIsChecked() and dontSeeCheckboxIsChecked() parameter types #57

merged 1 commit into from
Apr 9, 2022

Conversation

ziadoz
Copy link
Contributor

@ziadoz ziadoz commented Apr 8, 2022

I've noticed an inconsistency whilst trying to upgrade to 5.0.0-RC2.

Both the seeCheckboxIsChecked() and dontSeeCheckboxIsChecked() used to accept an array parameter (e.g. ['css' => '.foobar']), but dontSeeCheckboxIsChecked() no longer does.

I looked and it seems like there's nothing stopping both methods accepting the array formatted parameter, so I've removed the type on dontSeeCheckboxIsChecked() and added some test coverage.

I wasn't sure if lib-web also needed updating, but I can do that if necessary.

@Naktibalda Naktibalda merged commit c40f672 into Codeception:master Apr 9, 2022
@Naktibalda
Copy link
Member

Released as 3.1.2

@ziadoz ziadoz deleted the fix-dont-see-checkbox branch April 11, 2022 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants