File tree Expand file tree Collapse file tree 5 files changed +23
-34
lines changed Expand file tree Collapse file tree 5 files changed +23
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,5 +18,3 @@ extensions:
1818 - Codeception\Command\GenerateWPXMLRPC
1919 - Codeception\Command\DbSnapshot
2020 - tad\Codeception\Command\SearchReplace
21- params :
22- - .env
Original file line number Diff line number Diff line change 44# Perform tests in browser using the WPWebDriver or WPBrowser.
55# Use WPDb to set up your initial database fixture.
66# If you need both WPWebDriver and WPBrowser tests - create a separate suite.
7-
87actor : AcceptanceTester
98modules :
109 enabled :
@@ -13,13 +12,13 @@ modules:
1312 - \Helper\Acceptance
1413 config :
1514 WPDb :
16- dsn : ' mysql:host=%DB_HOST% ;dbname=%DB_NAME% '
17- user : ' %DB_USER% '
18- password : ' %DB_PASSWORD% '
19- url : ' %WP_URL% '
20- tablePrefix : ' %TABLE_PREFIX% '
15+ dsn : ' mysql:host=127.0.0.1 ;dbname=wordpress '
16+ user : ' admin '
17+ password : ' password '
18+ url : ' http://wp-php-console.test '
19+ tablePrefix : ' wp_ '
2120 WPBrowser :
22- url : ' %WP_URL% '
23- adminUsername : ' %ADMIN_USERNAME% '
24- adminPassword : ' %ADMIN_PASSWORD% '
25- adminPath : ' %WP_ADMIN_PATH% '
21+ url : ' http://wp-php-console.test '
22+ adminUsername : ' admin '
23+ adminPassword : ' password '
24+ adminPath : ' /wordpress '
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ class AdminTestCest {
4+
5+
6+ public function TestPluginsPage ( AcceptanceTester $ I ) {
7+
8+ $ I ->wantTo ( 'See if WP PHP Console is listed in Plugins page ' );
9+ $ I ->amOnPluginsPage ();
10+ $ I ->seePluginActivated ( 'wp-php-console ' );
11+ }
12+
13+
14+ }
You can’t perform that action at this time.
0 commit comments