Comments (2)
Can confirm, the info in the README is a bit outdated.
Due to the current hard-wiring of phpunit (see #308), the webdriver needs to be installed with a version constrained to 3.x
composer require --dev codeception/module-webdriver:^3.0
I suggest updating the README as such:
diff --git a/README.md b/README.md
index 981a7f9..5067770 100644
--- a/README.md
+++ b/README.md
@@ -155,8 +155,11 @@ To execute acceptance tests do the following:
1. Rename `tests/acceptance.suite.yml.example` to `tests/acceptance.suite.yml` to enable suite configuration
-2. Replace `codeception/base` package in `composer.json` with `codeception/codeception` to install full-featured
- version of Codeception
+2. Install `codeception/module-webdriver`:
+
+ ```
+ composer require --dev codeception/module-webdriver:^3.0
+ ```
3. Update dependencies with Composer
(or without the version constraint once the phpunit explicit dep is gone)
from yii2-app-basic.
Would it make more sense to add codeception/module-webdriver
to the composer.json directly (in require-dev
? Then step 2 could be omitted entirely.
from yii2-app-basic.
Related Issues (20)
- options with alias dose not resolved in function registerLinkTag HOT 1
- Can't update 2amigos/qrcode-library HOT 1
- yii2.0.46 using oci8-could not find driver HOT 4
- Wrong version while installation via composer HOT 4
- Requirement codeception/module-filesystem ^2.0 || ^1.1 conflicts with codeception/codeception 5.0 HOT 3
- ItΒ΄s possible update phpunit/phpunit to 10? HOT 1
- CSS issues with Bootstrap HOT 2
- I had the same problem - codeception/module-yii2[1.1.0, ..., 1.1.1] require php >=5.6.0 <8.0 -> your php version (8.2.0) does not satisfy that requirement.
- update github folder link
- update assets folder links
- update commands folder links
- update tests folder links
- update views folder links
- update root folder links
- composer.lock file is in .gitignore HOT 1
- UrlManager::buildRules() called with a boolean instead of array when unit testing HOT 3
- Why is phpunit/phpunit a root requirement?
- How to build projects on top of this repo? HOT 3
- yii\bootstrap5\Navbar collapseOptions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-app-basic.