You are here

public function VarbaseBootstrapParagraphsTests::testCheckVarbaseBootstrapParagraphsSettings in Varbase Bootstrap Paragraphs 9.0.x

Same name and namespace in other branches
  1. 8.7 tests/src/Functional/VarbaseBootstrapParagraphsTests.php \Drupal\Tests\varbase_bootstrap_paragraphs\Functional\VarbaseBootstrapParagraphsTests::testCheckVarbaseBootstrapParagraphsSettings()

Check Varbase Bootstrap Paragraphs settings.

File

tests/src/Functional/VarbaseBootstrapParagraphsTests.php, line 85

Class

VarbaseBootstrapParagraphsTests
Varbase Bootstrap Paragraphs tests.

Namespace

Drupal\Tests\varbase_bootstrap_paragraphs\Functional

Code

public function testCheckVarbaseBootstrapParagraphsSettings() {

  // Given that the root super user was logged in to the site.
  $this
    ->drupalLogin($this->rootUser);
  $this
    ->drupalGet('/admin/config/varbase/varbase-bootstrap-paragraphs');
  $this
    ->assertSession()
    ->pageTextContains($this
    ->t('Varbase Bootstrap Paragraphs settings'));
  $this
    ->assertSession()
    ->pageTextContains($this
    ->t('Available CSS styles (classes) for Varbase Bootstrap Paragraphs'));
}