public function ContentHubDeleteClientConfirmFormTest::testContentHubDeleteClientConfirmFormRenderedProperly in Acquia Content Hub 8.2
Tests whether form rendered properly.
Throws
\Behat\Mink\Exception\ResponseTextException
\Behat\Mink\Exception\ElementNotFoundException
\Behat\Mink\Exception\ExpectationException
File
- tests/
src/ Functional/ ContentHubDeleteClientConfirmFormTest.php, line 106
Class
- ContentHubDeleteClientConfirmFormTest
- Tests the Content Hub Delete Client confirmation form.
Namespace
Drupal\Tests\acquia_contenthub\FunctionalCode
public function testContentHubDeleteClientConfirmFormRenderedProperly() {
$session = $this
->assertSession();
$this
->drupalGet(self::CH_DELETE_CLIENT_CONFIRM_FORM_PATH);
$session
->pageTextContains("Everything is in order, safe to proceed");
$session
->buttonExists('Unregister');
$session
->buttonExists('Cancel');
}