Initial Drupal 11 with DDEV setup
This commit is contained in:
41
vendor/chi-teck/drupal-code-generator/templates/Test/_webdriver/webdriver.twig
vendored
Normal file
41
vendor/chi-teck/drupal-code-generator/templates/Test/_webdriver/webdriver.twig
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Drupal\Tests\{{ machine_name }}\FunctionalJavascript;
|
||||
|
||||
use Drupal\FunctionalJavascriptTests\WebDriverTestBase;
|
||||
use PHPUnit\Framework\Attributes\Group;
|
||||
|
||||
/**
|
||||
* Tests the JavaScript functionality of the {{ name }} module.
|
||||
*/
|
||||
#[Group('{{ machine_name }}')]
|
||||
final class {{ class }} extends WebDriverTestBase {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defaultTheme = 'claro';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected static $modules = ['{{ machine_name }}'];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp(): void {
|
||||
parent::setUp();
|
||||
// @todo Set up the test here or remove this method.
|
||||
}
|
||||
|
||||
/**
|
||||
* Test callback.
|
||||
*/
|
||||
public function testSomething(): void {
|
||||
// Place your code here.
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user