You are here

protected function WebformWizardTestBase::setUp in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/Wizard/WebformWizardTestBase.php \Drupal\Tests\webform\Functional\Wizard\WebformWizardTestBase::setUp()

Overrides WebformBrowserTestBase::setUp

File

tests/src/Functional/Wizard/WebformWizardTestBase.php, line 15

Class

WebformWizardTestBase
Defines an abstract test base for webform wizard tests.

Namespace

Drupal\Tests\webform\Functional\Wizard

Code

protected function setUp() {
  parent::setUp();

  // Exclude Progress tracker so that the default progress bar is displayed.
  // The default progress bar is most likely never going to change.
  \Drupal::configFactory()
    ->getEditable('webform.settings')
    ->set('libraries.excluded_libraries', [
    'progress-tracker',
  ])
    ->save();
}