3 namespace Drupal\views\Tests\Wizard;
4 @trigger_error('\Drupal\views\Tests\Wizard\WizardTestBase is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\views\Functional\Wizard\WizardTestBase', E_USER_DEPRECATED);
6 use Drupal\views\Tests\ViewTestBase;
9 * Views UI wizard tests.
11 * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0.
12 * Use \Drupal\Tests\views\Functional\Wizard\WizardTestBase.
14 abstract class WizardTestBase extends ViewTestBase {
21 public static $modules = ['node', 'views_ui', 'block', 'rest'];
23 protected function setUp() {
26 // Create and log in a user with administer views permission.
27 $views_admin = $this->drupalCreateUser(['administer views', 'administer blocks', 'bypass node access', 'access user profiles', 'view all revisions']);
28 $this->drupalLogin($views_admin);
29 $this->drupalPlaceBlock('local_actions_block');