Commit e276eeb1 authored by alexpott's avatar alexpott

Issue #2820442 by klausi: SimpleTestBrowserTest has random fails when...

Issue #2820442 by klausi: SimpleTestBrowserTest has random fails when BrowserTestBaseTest gets larger
parent 962eddec
......@@ -4,6 +4,7 @@
use Drupal\Core\Url;
use Drupal\simpletest\WebTestBase;
use Drupal\Tests\simpletest\Functional\ThroughUITest;
/**
* Tests the Simpletest UI internal browser.
......@@ -131,7 +132,7 @@ public function testTestingThroughUI() {
// A PHPUnit unit test.
'Drupal\Tests\action\Unit\Menu\ActionLocalTasksTest',
// A PHPUnit functional test.
'Drupal\FunctionalTests\BrowserTestBaseTest',
ThroughUITest::class,
);
foreach ($tests as $test) {
......
<?php
namespace Drupal\Tests\simpletest\Functional;
use Drupal\Tests\BrowserTestBase;
/**
* Fixture test that is executed during Simpletest UI testing.
*
* @see \Drupal\simpletest\Tests::testTestingThroughUI()
*
* @group simpletest
*/
class ThroughUITest extends BrowserTestBase {
/**
* This test method must always pass.
*/
public function testThroughUi() {
$this->pass('Success!');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment