Commit Graph

209 Commits

Author SHA1 Message Date
Kamil Kokot
9c6c019c6d Generate changelog for v2.0.10 2019-12-09 13:08:52 +01:00
Kamil Kokot
e08fef9373 bug #101 Fix referencing context initializers (kamazee)
This PR was merged into the 2.0 branch.

Discussion
----------

With definition, that has been used instead of reference, container has used to created 2 instances of initializer: one with service id, and one "anonymous", described by spl_object_hash in a container, it broke stateful initializers: in my case initializer was also used to reset state before next scenario/example, and initializing and resetting happened with different instances of initializer.

If the fix and test are OK, let me know if you want me to cherry-pick the fix onto master and created additional pull request for master.

Commits
-------

06104478cc Fix referencing context initializers
2019-12-09 13:07:37 +01:00
Alexander Kurilo
06104478cc Fix referencing context initializers
With definition, that has been used instead of reference, container has
used to created 2 instances of initializer: one with service id, and one
"anonymous", described by spl_object_hash in a container, it breaked
stateful initializers: in my case initializer was also used to reset
state before next scenario/example, and initializing and resetting happened
with different instances of initializer
2019-12-09 13:01:40 +01:00
Kamil Kokot
8af487dd5a bug #102 Fix the build & add tests for Symfony 4.3 and 4.4 (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------



Commits
-------

15f70c0a14 Fix the build & add tests for Symfony 4.3 and 4.4
5519b92883 Add conflict with symfony/stopwatch ^5.0
2019-12-09 12:58:23 +01:00
Kamil Kokot
5519b92883 Add conflict with symfony/stopwatch ^5.0
symfony/http-kernel 4.1.* and 4.2.* causes fatal error when symfony/stopwatch 5.0.* is installed
2019-12-09 12:36:00 +01:00
Kamil Kokot
15f70c0a14 Fix the build & add tests for Symfony 4.3 and 4.4 2019-12-09 12:01:38 +01:00
Kamil Kokot
96dfafd63e Generate changelog for v2.0.9 2019-10-10 18:00:08 +02:00
Kamil Kokot
2e20fee027 bug #97 Do not require base URL set with Mink (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------

Fixed #95.

Commits
-------

f3eca984d2 Do not require base URL set with Mink
2019-10-10 17:53:33 +02:00
Kamil Kokot
33d1032dfc Change author's website URL 2019-10-10 17:44:21 +02:00
Kamil Kokot
f3eca984d2 Do not require base URL set with Mink 2019-10-10 17:38:33 +02:00
Kamil Kokot
272b8e3ae7 bug #96 Add base_url to docs for configuring Mink ()
This PR was merged into the 2.0 branch.

Discussion
----------

Fixes #95 

Commits
-------

9bbf5bd240 Add base_url to docs for configuring Mink
2019-10-10 17:36:07 +02:00
Andy Clyde
9bbf5bd240 Add base_url to docs for configuring Mink 2019-10-10 17:35:07 +02:00
Kamil Kokot
04dfdcb91a bug #93 [HotFix] Force object typehint (lchrusciel)
This PR was merged into the 2.0 branch.

Discussion
----------



Commits
-------

b056e9b5f0 [HotFix] Force object typehint
2019-09-10 12:13:24 +02:00
Łukasz Chruściel
b056e9b5f0 [HotFix] Force object typehint 2019-09-09 19:52:03 +02:00
Łukasz Chruściel
2ad4dfb1ac bug #92 Improve Mink installation docs (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------



Commits
-------

a831b15c67 Improve Mink installation docs
2019-09-09 19:29:19 +02:00
Kamil Kokot
a831b15c67 Improve Mink installation docs 2019-09-09 15:40:42 +02:00
Kamil Kokot
1cd2a9594c refactor #84 Minor improvements to CI config (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------



Commits
-------

2c3d938675 Minor improvements to CI config
2019-05-17 17:17:41 +08:00
Kamil Kokot
2c3d938675 Minor improvements to CI config 2019-05-17 17:11:27 +08:00
Kamil Kokot
4473ba5b79 bug #78 Use right namespace for service definition (alanpoulain)
This PR was merged into the 2.0 branch.

Discussion
----------



Commits
-------

6b6b9980b1 Use right namespace for service definition
2019-03-23 00:21:30 +01:00
Kamil Kokot
12fccd3268 bug #77 Fix docs: change 'kernel.file' to 'kernel.path' ()
This PR was merged into the 2.0 branch.

Discussion
----------

See [ServiceContainer/SymfonyExtension.php:62](https://github.com/FriendsOfBehat/SymfonyExtension/blob/master/src/ServiceContainer/SymfonyExtension.php#L62)

Commits
-------

f91d4e3ccd Fix docs to reflect extension configuration: change 'kernel.file' to 'kernel.path'
2019-03-22 23:52:09 +01:00
Marijus Kilmanas
f91d4e3ccd Fix docs to reflect extension configuration: change 'kernel.file' to 'kernel.path' 2019-03-22 23:37:26 +01:00
Alan Poulain
6b6b9980b1 Use right namespace for service definition 2019-03-22 23:36:20 +01:00
Kamil Kokot
47ecdcc9a0 Generate changelog for v2.0.8 2019-03-21 17:26:33 +01:00
Kamil Kokot
e67a30ec93 bug #76 Initialize contexts registered as services (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------



Commits
-------

a425be697a Initialize contexts registered as services
2019-03-21 17:25:49 +01:00
Kamil Kokot
a425be697a Initialize contexts registered as services 2019-03-21 17:16:23 +01:00
Kamil Kokot
fad6548582 Generate changelog for v2.0.7 2019-03-17 23:36:39 +01:00
Kamil Kokot
22692fb4a2 bug #75 Hotfix for weird bug in Sylius (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------

Couldn't reproduce it, removing that lazy setting fixes the issue though.

There's a quite random error:

```
LogicException: The page history is empty. in vendor/symfony/browser-kit/History.php:95
```

It happens when sending a form or clicking a link, but not always. Ex. when running the whole directory of features, one scenario in a subdirectory fails. When running that scenario only, it passes. When running that scenario in between of other scenarios in that directory, it still passes.

https://travis-ci.org/Sylius/Sylius/jobs/507555578#L1787

Commits
-------

69d150b3dc Hotfix for weird bug in Sylius
2019-03-17 23:35:03 +01:00
Kamil Kokot
69d150b3dc Hotfix for weird bug in Sylius 2019-03-17 23:29:56 +01:00
Kamil Kokot
c22e21b724 Generate changelog for v2.0.6 2019-03-15 15:39:06 +01:00
Kamil Kokot
810c95f7f5 bug #74 Fix bug preventing changes of Mink default session service (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------

Fixes #73.

Commits
-------

01fe9425a1 Fix bug preventing changes of Mink default session service
2019-03-15 15:36:39 +01:00
Kamil Kokot
01fe9425a1 Fix bug preventing changes of Mink default session service 2019-03-15 15:21:36 +01:00
Kamil Kokot
e06ac7d0ab Generate changelog for v2.0.4 and v2.0.5 2019-03-04 14:13:40 +01:00
Kamil Kokot
8ff5d1b0a4 bug #72 Allow accessing a context in another context (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------

Fixes #71.

Commits
-------

13d64ca7cb Allow accessing a context in another context
2019-03-04 14:11:38 +01:00
Kamil Kokot
13d64ca7cb Allow accessing a context in another context 2019-03-04 13:32:16 +01:00
Kamil Kokot
b20eacd2b2 bug #68 Better compatibility with Behat itself (pamil, alanpoulain)
This PR was merged into the 2.0 branch.

Discussion
----------

Fixes #56.

If passed context identifier is a Symfony service, it's handled by our custom logic. If it's not, it's handled by default Behat logic.

Commits
-------

cd792704fa Add support for class resolvers
9e9529c320 Add tests for context initializers
d74cd251d5 Add more sanity checks
c54c581e74 Refactor our environment handler to decorate the original one
8a972b5b48 Apply suggestions from code review
2019-02-13 12:39:09 +01:00
Alan Poulain
8a972b5b48 Apply suggestions from code review
Co-Authored-By: pamil <kamil@kokot.me>
2019-02-13 12:29:55 +01:00
Kamil Kokot
c54c581e74 Refactor our environment handler to decorate the original one 2019-02-13 00:38:07 +01:00
Kamil Kokot
d74cd251d5 Add more sanity checks 2019-02-12 23:42:41 +01:00
Kamil Kokot
9e9529c320 Add tests for context initializers 2019-02-12 23:06:19 +01:00
Kamil Kokot
cd792704fa Add support for class resolvers 2019-02-12 22:56:42 +01:00
Kamil Kokot
0ac8f19eff Generate changelog for v2.0.3 2019-02-07 12:54:10 +01:00
Kamil Kokot
a8b7614b4f bug #66 Revert mink parameters autoconfiguration (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------

According to #63 and #54, it looks like the way we used autoconfiguration to bind `$minkParameters` variable was abusing the Symfony's Dependency Injection API and is not officially supported. I'm removing that possibility, because it's very unstable and prevents library adoption.

Commits
-------

717c869ad6 Revert mink parameters autoconfiguration
2019-02-07 12:50:56 +01:00
Kamil Kokot
717c869ad6 Revert mink parameters autoconfiguration 2019-02-07 11:58:17 +01:00
Kamil Kokot
c531f0b724 minor #64 Fix typo (rogamoore)
This PR was merged into the 2.0 branch.

Discussion
----------

Just a typo fix :)

Commits
-------

0e82eedc1c Fix typo
2019-02-07 11:33:02 +01:00
rogamoore
0e82eedc1c Fix typo 2019-02-07 11:28:28 +01:00
Kamil Kokot
44bbee3dc2 Remove GitHub Actions for now 2019-01-30 17:38:45 +01:00
Kamil Kokot
4e62f3929b Test some GitHub Actions (PHPStan) 2019-01-30 17:35:20 +01:00
Kamil Kokot
f615b310c1 Add changelog for v2.0.2 2019-01-30 17:24:17 +01:00
Kamil Kokot
5f3c1b7ff4 bug #57 Fix support for context initializers (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------

Fixes #56.

Commits
-------

394b9abdfc Fix support for context initializers
2019-01-30 17:22:18 +01:00
Kamil Kokot
ebb6577b3a bug #58 Add support for PHP 7.3 (pamil)
This PR was merged into the 2.0 branch.

Discussion
----------



Commits
-------

933f091bee Add support for PHP 7.3
2019-01-30 17:21:52 +01:00