Skip to content

Commit 354352b

Browse files
committed
Expand test and specify WPBrowser admin path
1 parent cbea9f1 commit 354352b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/acceptance.suite.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ modules:
88
url: 'http://wp-php-console.test'
99
adminUsername: 'admin'
1010
adminPassword: 'password'
11+
adminPath: '/wp-admin'

tests/acceptance/AdminTestCest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ class AdminTestCest {
55

66
public function TestPluginActivationDeactivation( AcceptanceTester $I ) {
77

8-
$I->wantTo( 'See if WP PHP Console is listed in Plugins page' );
8+
$I->wantTo( 'See if WP PHP Console is listed in the Plugins page.' );
99

1010
$I->amOnPluginsPage();
1111

1212
$I->seePluginActivated( 'wp-php-console' );
1313

14+
$I->wantTo( 'Deactivate and reactivate WP PHP Console.' );
15+
1416
$I->deactivatePlugin( 'wp-php-console' );
1517
$I->activatePlugin( 'wp-php-console' );
1618
}

0 commit comments

Comments
 (0)