PageObjectExtension
PageObjectExtension copied to clipboard
:pager: Default classes for Page object pattern in Behat
Hello, It is impossible to define an element with the xpath selector As in the example of the getDefined method ``` /* * - :elementName => :cssLocator * - :elementName...
resolveParameters() will return an array when your defined elements use an array rather than a string and therefore it cannot have its return type locked to only string. Mixed return...
In this PR I put the changes we made to make it easier to work with Page and Element objects. Most notably the type hinting if the MinkParameters object. Personally,...
This method proved useful in some of our tests for apps which use javascript based routing
For several weeks, we've been busy setting up behat in our big 20 year old symfony 3.4 project. During this time we made a bunch of changes to make it...
Maybe it would be worth to test somehow this `Element` and `Page` classes? 😄 I know it would require a lot of additional code and we can say, that testing...
This PR is built on top of the other, so please only look at the last commit. In this one I fully exposed the NodeElement methods. Again, I'm not sure...