Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Regression] grabFromCurrentUrl() doesn't work with REST in v2.2 #3197
After upgrading to v2.2,
The following example works v2.1 but fails in v2.2
I'm actually not keen on mixing them, but the REST modules lacks an analogous method.
What's the reason for this behavior? And why is a breaking change like this one not mentioned in the release notes?
Yes, this was our fault. I think we had a discussion about history list for REST module but forgot to set it in the changelog. Sorry.
Basically REST module doesn't change history so can't access current URL.
There is a good reason for that. If you need to execute API requests inside PhpBrowser acceptance test you shouldn't have it to change request history. This way you can be sure that
Yes, there is no. Could you provide a use case for it? This way we could also agree on a patch to Codeception or provie an alternative way to solve your issue.