Comments (17)
Ok, that should be fixed now, thanks for pointing it out!
from wp-browser.
Sill having this issue.
`Notice: Undefined property: Codeception\Command\WPBootstrapPyramid::$supportDir in ..\Composer\vendor\lucatume\wp-brows
er\src\Codeception\Command\WPBootstrap.php on line 26
Call Stack:
0.0003 255544 1. {main}() ..\Composer\vendor\lucatume\wp-browser\wpcept:0
0.0643 3778136 2. Symfony\Component\Console\Application->run() ..\Composer\vendor\lucatume\wp-browser\wpcept:3
6
0.0732 4205768 3. Symfony\Component\Console\Application->doRun() ..\Composer\vendor\symfony\console\Applicatio
n.php:123
0.0740 4206704 4. Symfony\Component\Console\Application->doRunCommand() ..\Composer\vendor\symfony\console\App
lication.php:192
0.0740 4207232 5. Symfony\Component\Console\Command\Command->run() ..\Composer\vendor\symfony\console\Applicat
ion.php:844
0.0746 4211568 6. Codeception\Command\WPBootstrap->execute() ..\Composer\vendor\symfony\console\Command\Comman
d.php:259
0.0765 4213568 7. Codeception\Command\WPBootstrap->createGlobalConfig() ..\Composer\vendor\lucatume\wp-browser
\src\Codeception\Command\WPBootstrap.php:136
File codeception.yml created <- global configuration
[Symfony\Component\Console\Exception\InvalidArgumentException]
The "empty" option does not exist.
bootstrap:pyramid [-ns|--namespace [NAMESPACE]] [-a|--actor [ACTOR]] [--compat] [--customize] [--] []
`
from wp-browser.
The issue was for the wpcept bootstrap
command but this one seems to be about the wpcept bootstrap:pyramid
one; if so please open a new issue and detail the steps to reproduce including wp-browser version number.
from wp-browser.
Happens with both wpcept bootstrap
and wpcept bootstrap:pyramid
. This issue only appear in windows.
from wp-browser.
Did you pull the latest version of wp-browser?
from wp-browser.
Yes, Just pulled today.. and trying.
At the moment I am trying in our staging ubuntu server, wpcept bootstrap
and wpcept bootstrap:pyramid
works properly.
Having hard time trying to login, no matter what I do i cannot login (I will open a new issue if you want):
$I = new AcceptanceTester($scenario);
$I->amGoingTo('log in as admin');
$I->amOnPage('/wp-login.php');
$I->fillField('Username', 'admin');
$I->fillField('Password','admin');
$I->click('Log In');
$I->see('Dashboard');
// login as administrator
$I->amOnPluginsPage();
$I->seePluginActivated('anspress-question-answer');
Always output wrong password for user admin. can you help?
Thanks
from wp-browser.
Glad to hear issue is moving forward.
If you use WPBrowser or WPWebDriver modules then there is the loginAsAdmin
method.
Let me know if that too is raising issues. Also note that the database should contain the md5 version of the password
from wp-browser.
I get this error:
PHP Notice: Undefined property: Codeception\Command\WPBootstrap::$supportDir in /home/www/VVV/www/woocommerce/htdocs/wp-content/plugins/woocommerce-xxxxxx/vendor/lucatume/wp-browser/src/Codeception/Command/WPBootstrap.php on line 26
from wp-browser.
Executing wpcept bootstrap
?
Seems like an outdated Codeception error: is everything (Composer, Codeception and WPBrowser) wp to date?
from wp-browser.
I do:
composer require --dev lucatume/wp-browser
./vendor/bin/wpcept bootstrap
I don't know if it is php 7 that generate this problem but I don't think so much
from wp-browser.
With ./vendor/bin/codecept bootstrap
i don't have errors.
from wp-browser.
Uhm if i take the composer files from an old plugin this works without problems.
from wp-browser.
So i tried now with the composer.json from https://github.com/lucatume/idlikethis/ and i get the same errors.
This is the output from composer:
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing xrstf/composer-php52 (v1.0.20)
Loading from cache
- Installing lucatume/di52 (dev-master 8778d42)
Cloning 8778d42c9b2b0896832a59faaf6c2bde228dbf95
- Installing smarty/smarty (v3.1.29)
Loading from cache
- Installing xamin/handlebars.php (v0.10.3)
Loading from cache
- Installing hautelook/phpass (0.3.3)
Loading from cache
- Installing illuminate/support (v4.2.17)
Loading from cache
- Installing mikemclin/laravel-wp-password (2.0.0)
Loading from cache
- Installing symfony/filesystem (v2.8.4)
Loading from cache
- Installing symfony/polyfill-mbstring (v1.1.1)
Loading from cache
- Installing symfony/dom-crawler (v2.8.4)
Loading from cache
- Installing symfony/css-selector (v2.8.4)
Loading from cache
- Installing symfony/browser-kit (v2.8.4)
Loading from cache
- Installing symfony/yaml (v2.8.4)
Loading from cache
- Installing symfony/event-dispatcher (v2.8.4)
Loading from cache
- Installing symfony/console (v2.8.4)
Loading from cache
- Installing symfony/finder (v2.8.4)
Loading from cache
- Installing guzzlehttp/streams (2.1.0)
Loading from cache
- Installing guzzlehttp/guzzle (4.2.3)
Loading from cache
- Installing sebastian/version (1.0.6)
Loading from cache
- Installing sebastian/environment (1.3.5)
Loading from cache
- Installing phpunit/php-text-template (1.2.1)
Loading from cache
- Installing phpunit/php-token-stream (1.4.8)
Loading from cache
- Installing phpunit/php-file-iterator (1.4.1)
Loading from cache
- Installing phpunit/php-code-coverage (2.2.4)
Loading from cache
- Installing sebastian/recursion-context (1.0.2)
Loading from cache
- Installing sebastian/global-state (1.1.1)
Loading from cache
- Installing sebastian/exporter (1.2.1)
Loading from cache
- Installing sebastian/diff (1.4.1)
Loading from cache
- Installing sebastian/comparator (1.2.0)
Loading from cache
- Installing doctrine/instantiator (1.0.5)
Loading from cache
- Installing phpdocumentor/reflection-docblock (2.0.4)
Loading from cache
- Installing phpspec/prophecy (v1.6.0)
Loading from cache
- Installing phpunit/php-timer (1.0.7)
Loading from cache
- Installing phpunit/phpunit-mock-objects (2.3.8)
Loading from cache
- Installing phpunit/phpunit (4.8.24)
Loading from cache
- Installing facebook/webdriver (v0.6.0)
Loading from cache
- Installing codeception/codeception (2.0.1)
Loading from cache
- Installing bacon/bacon-string-utils (1.0.3)
Loading from cache
- Installing lucatume/wp-browser (1.10.7)
Loading from cache
- Installing lucatume/args (1.0.1)
Loading from cache
- Installing antecedent/patchwork (1.3.5)
Loading from cache
- Installing lucatume/function-mocker (1.0.5)
Loading from cache
symfony/polyfill-mbstring suggests installing ext-mbstring (For best performance)
symfony/browser-kit suggests installing symfony/process ()
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/event-dispatcher suggests installing symfony/http-kernel ()
symfony/console suggests installing symfony/process ()
symfony/console suggests installing psr/log (For using the console logger)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
sebastian/global-state suggests installing ext-uopz (*)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
codeception/codeception suggests installing codeception/phpbuiltinserver (Extension to start and stop PHP built-in web server for your tests)
codeception/codeception suggests installing codeception/specify (BDD-style code blocks)
codeception/codeception suggests installing codeception/verify (BDD-style assertions)
codeception/codeception suggests installing monolog/monolog (Log test steps)
bacon/bacon-string-utils suggests installing zendframework/zend-filter (To use the Slugifier as a Zend\Filter instance)
Writing lock file
Generating autoload files
> xrstf\Composer52\Generator::onPostInstallCmd
> xrstf\Composer52\Generator::onPostInstallCmd
from wp-browser.
The difference that i can see are on di52:
- Updating lucatume/di52 dev-master (1e3903a => 8778d42)
Checking out 8778d42c9b2b0896832a59faaf6c2bde228dbf95
from wp-browser.
I don't get any error. What's the minimum-stability
set in the composer.json
file?
from wp-browser.
It is stable but I can see there is some different versions of the packages so I am looking for that.
from wp-browser.
As i can see the problem is codeception that is download as 2.0.1 version while with the 2.1.7 the problem not happen.
If i try a composer update i get a conflict of dependence:
Problem 1
- Conclusion: don't install codeception/codeception 2.1.8
- Conclusion: remove facebook/webdriver v0.6.0
- Installation request for codeception/codeception ^2.1.7 -> satisfiable by codeception/codeception[2.1.7, 2.1.8].
- Conclusion: don't install facebook/webdriver v0.6.0
- codeception/codeception 2.1.7 requires facebook/webdriver >=1.0.1 <2.0 -> satisfiable by facebook/webdriver[1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.1].
- Can only install one of: facebook/webdriver[1.0.1, v0.6.0].
- Can only install one of: facebook/webdriver[1.0.2, v0.6.0].
- Can only install one of: facebook/webdriver[1.0.3, v0.6.0].
- Can only install one of: facebook/webdriver[1.0.4, v0.6.0].
- Can only install one of: facebook/webdriver[1.1.0, v0.6.0].
- Can only install one of: facebook/webdriver[1.1.1, v0.6.0].
- Installation request for facebook/webdriver == 0.6.0.0 -> satisfiable by facebook/webdriver[v0.6.0].
But finally I've done with a force on install the 1.2.8 version of codeception.
from wp-browser.
Related Issues (20)
- [BUG] Can't access WP built-in functions even when using WPLoader HOT 14
- [BUG] Empty < Invalid database name: > when trying to add WPLoader HOT 2
- [BUG] v4 uses `__wakeup`, which many plugins have overridden with an error. HOT 3
- [BUG] WPLoader doesn't load wordpress installation HOT 12
- [DOC REQUEST] Setup issues HOT 4
- [BUG] Warnings while running tests HOT 1
- [SETUP ISSUE] failed activation, invalid Chrome binary HOT 4
- [FEATURE REQUEST] Integrate with ACF HOT 3
- [SETUP ISSUE] Teardown error — $wpdb is null HOT 5
- [FEATURE REQUEST] Lock WordPress to Specific Version HOT 4
- [BUG] race conditions & bugs due to connecting twice to database with WPTestCase and WPLoader | v3 HOT 13
- [Feature Request] - Question about dump option in WPLoader HOT 4
- Support for PHPUnit 10/11 and WebDriver 4 HOT 8
- [SETUP ISSUE] Running tests with wp-env HOT 8
- [DOC BUG] _boostrap.php documentation not up to date HOT 1
- [SETUP ISSUE] `composer require --dev lucatume/wp-browser` fails due to tdd-helpers 404 HOT 3
- Nano HOT 1
- [BUG] WordPress not loaded with WPLoader loadOnly: true HOT 5
- [FEATURE REQUEST] `Scaffolded::getContentDir()` should respect `WP_CONTENT_DIR` constant HOT 3
- [FEATURE REQUEST] Remove attachment files after tests HOT 1
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 wp-browser.