/**
  * @test
  * it should allow accessing a post edit page
  */
 public function it_should_allow_accessing_a_post_edit_page(WpmoduleTester $I)
 {
     $id = $I->havePostInDatabase();
     $I->loginAsAdmin();
     $I->amEditingPostWithId($id);
     $I->seeElement('body.wp-admin.post-php.post-type-post');
 }
 /**
  * @test
  * it should be able to navigate to a post single using pretty permalinks
  */
 public function it_should_be_able_to_navigate_to_a_post_single_using_pretty_permalinks(WpmoduleTester $I)
 {
     $I->havePostInDatabase(['post_type' => 'post', 'post_title' => 'A post', 'post_status' => 'publish', 'post_name' => 'a-post']);
     $I->amOnPage('/a-post');
     $I->seeElement('body.single');
 }