Skip to content

When setting up a dev version of core, the behat/mink-browserkit-driver dependency is upgraded to an incompatible version.  #140

@codebymikey

Description

@codebymikey

Describe the bug

At the time of writing, core is pinned to "behat/mink-browserkit-driver": "v2.1.0"

However, when setting up the gitpod, the .gitpod/drupal/install-essential-packages.sh script runs

ddev . composer require --dev "drupal/core-dev":* "phpspec/prophecy-phpunit":^2 -W --no-install

which inadvertently upgrades behat/mink-browserkit-driver to an incompatible version of v2.2.0, which breaks tests such as:

ddev phpunit core/modules/block/tests/src/Functional/BlockTest.php --filter testBlockVisibility

Because core currently passes boolean values to the form, whereas it now strictly checks for strings.

Expected behavior

Core dependencies should be pinned to whatever version it's expected to via a drupal/core-dev-pinned:^11 type-dependency in the root composer.json, or we need to find a way to add those phpspec/prophecy-phpunit dependencies without upgrading normal packages.

Version and configuration information (please complete the following information)

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions