Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Symfony Behat Bundle Laravel Package

elbformat/symfony-behat-bundle

View on GitHub
Deep Wiki
Context7
v1.5.11

You can now assert attributes on Tags with ", ' and a mix of both

v1.5.10
  • Fix: Mailer deprecation warnings for implicit nullable parameter.
  • Feature: Allow mailer to fail
v1.5.9

Fixed deprecations in MailerContext

v1.5.8

Fixed deprecation warning for implicit nullable parameter in FormContext.

v1.5.7

Support json arrays in AbstractDatabaseContext

v1.5.6
  • Feature: Testing with command inputs
v1.5.5

Bugfix: Documentation and service definition for MockClientCallback to test APIs

v1.5.4
  • Bugfix: Remove data from the table, that has been consumed in the constructor
  • Improvement: Use JSON to fill array values in AbstractDatabaseContext
v1.5.3
  • Improvement of output for found tags: Do not show more than 1 nested entry
  • Use docker-compose for local setup
  • CommandContext - Added shortcut "Then the command is successful"
v1.5.2

Fix TestLogger to be compatible with symfony 5.4.

v1.5.1

Bugfix: kernel not injected into JsonContext

v1.5.0

v1.5.0

In this version there changed a lot under the hood, but the usage for existing things stays the same.

Restructuring BrowserContext

As the BrowserContext was getting more and more complex, it is now split into 4 Contexts, sharing the state:

  • HttpContext - Basic request/response operations, including headers and redirects
  • HtmlContext - Querying the DOM for Text/HTML
  • FromContext - Testing, manipulating and submitting forms
  • JsonContext - Json response checks for custom APIs

Switching LoggingContext

The LoggingContext was formerly bound to monolog, which is not required in newer symfony applications. Instead, we now have a PSR-compatible TestLogger that catches the logs and can be queried in behat.

Improvements to HttpContext

  • Allow adding HTTP headers to When I send ... request to ...
  • Allow non-rfc conform redirects with path instead of URL
  • Allow testing for path only in redirect check

Improvements to HtmlContext

  • When I remove attribute ... from ... to unhide elements
  • Then I see ... before ... to check sortings.
  • TODO: Not found tags are not shown with full content, but only the tag

Improvements to FormContext

  • When I submit the form with button ... to distinguish the submit button
  • When I clear field ... to remove data from a field
  • When I check ... checkbox with value ... to distinguish between multi-options
  • When I uncheck ... checkbox to revert checking
  • When I add an input field ... to add dynamic collection fields
  • When I remove an input field ... to remove dynamic collection fields
  • When I remove a select field ... to remove dynamic collection fields
  • Then the form contains a select to check for options in selects
  • Then select ... contains option to check for options in selects
  • Then select ... does not contain option to check for options in selects
  • TODO: file upload

Improvements in AbstractDatabaseContext

  • assertObject returns the found object to allow steps to be built upon the results.
  • Support for constructor arguments, including defaults defined in the context.
  • assertCollectionDoesNotContain helps negation of collection check
  • Support creating m:n relations by adding a $reverseRelationName parameter.

Added DateContext

Based on ClockMock and the uopz extension, the context allows you to change the current date inside your tests.

Added MailerContext in favour of SwiftmailerContext

As Swiftmailer is deprecated in favour of the symfony mailer, we adapted the context as well.

Added AbstractApiContext

This context will help you build your own API context, like the AbstractDatabaseContext

v1.4.2

Fix: Comparing a tag with inner html that may contain spaces to a string.

v1.4.1

Fix error, when a monolog handler is tagged.

v1.4.0

Support for PHP 8.2 and Symfony 6.2 backed by circleci tests.

v1.3.1

Fixes error Cannot autowire service "Elbformat\SymfonyBehatBundle\Context\BrowserContext": argument "$strComp" of method "__construct()" references class "Elbformat\SymfonyBehatBundle\Helper\StringCompare" but no such service exists.

v1.3.0
  • Added support for multiselect
  • Added check for HTTP headers
  • Consider HTTP/303 and 308 as valid redirect, too.
  • Allow regex in some more assertions
  • Negation of command output
  • AbstractDatabaseContext reloaded
v1.2.0
v1.1.0
v1.0.0

First release with BrowserContext, CommandContext and LoggingContext.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle