public function QueueBrowserFormTest::testPresence in Purge 8.3
Tests basic expectations of the form.
File
- modules/
purge_ui/ tests/ src/ Functional/ Form/ QueueBrowserFormTest.php, line 59
Class
Namespace
Drupal\Tests\purge_ui\Functional\FormCode
public function testPresence() : void {
$this
->drupalLogin($this->adminUser);
$this
->drupalGet($this
->getPath());
$this
->assertSession()
->titleEquals("Purge queue browser | Drupal");
$this
->assertSession()
->pageTextContains("Your queue is empty.");
$this
->assertSession()
->fieldNotExists('edit-1');
}