/** * @test */ public function constructor_OpenEditScreen_CategoryEditOpened() { $this->categoryManagerPage->clickButton('new'); $categoryEditPage = $this->getPageObject('CategoryEditPage'); $categoryEditPage->clickButton('cancel'); $this->categoryManagerPage = $this->getPageObject('CategoryManagerPage'); }
/** * @test */ public function getTabIds_ScreenDisplayed_EqualExpected() { $this->contactManagerPage->clickButton('toolbar-new'); $contactEditPage = $this->getPageObject('ContactEditPage'); $textArray = $contactEditPage->getTabIds(); $this->assertEquals($contactEditPage->tabs, $textArray, 'Contact labels should match expected values.'); $contactEditPage->clickButton('toolbar-cancel'); $this->contactManagerPage = $this->getPageObject('ContactManagerPage'); }