Skip to content

Add fieldValueMatches / fieldValueNotMatches#775

Open
das-peter wants to merge 1 commit into
minkphp:masterfrom
das-peter:patch-1
Open

Add fieldValueMatches / fieldValueNotMatches#775
das-peter wants to merge 1 commit into
minkphp:masterfrom
das-peter:patch-1

Conversation

@das-peter

Copy link
Copy Markdown

Would be hand to allow pattern assertions on field values like on the page text.
This was mentioned here #696 but: "PR got lost in the sands of time" :)

@aik099 aik099 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add tests.

Squash:
* Added tests.
* Fixed inversion of condition.
* Add fieldValueMatches / fieldValueNotMatches

Would be hand to allow pattern assertions on field values like on the page text.
This was mentioned here minkphp#696 but: "PR got lost in the sands of time" :)
@das-peter

das-peter commented Jun 2, 2019

Copy link
Copy Markdown
Author

Added tests, based on testPageTextMatches / testPageTextNotMatches / testFieldValueEquals / testFieldValueNotEquals.

Edit: Commits have been squashed.

@aik099

aik099 commented Jun 3, 2019

Copy link
Copy Markdown
Member

Looks good to me.

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