Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class SettingsPageCest {
public function _before( AcceptanceTester $I ) {
$I->amOnPage( '/wp-login.php' );
$I->wait( 1 );
$I->fillField( [ 'name' => 'log' ], 'admin' );
$I->fillField( [ 'name' => 'pwd' ], 'password' );
$I->click( '#wp-submit' );
public function general_settings_page( AcceptanceTester $I ) {
$I->see('Display Settings', 'h3');
$I->click('Save Changes');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.