TimeTrex Community Edition v16.2.0
This commit is contained in:
23
vendor/phpunit/phpunit-selenium/Tests/Selenium2TestCase/SessionInSetupTest.php
vendored
Normal file
23
vendor/phpunit/phpunit-selenium/Tests/Selenium2TestCase/SessionInSetupTest.php
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Selenium2TestCase;
|
||||
|
||||
use PHPUnit\Extensions\Selenium2TestCase;
|
||||
|
||||
class SessionInSetupTest extends Selenium2TestCase
|
||||
{
|
||||
public function setUp(): void
|
||||
{
|
||||
$this->setHost(PHPUNIT_TESTSUITE_EXTENSION_SELENIUM_HOST);
|
||||
$this->setPort((int)PHPUNIT_TESTSUITE_EXTENSION_SELENIUM_PORT);
|
||||
$this->setBrowser(PHPUNIT_TESTSUITE_EXTENSION_SELENIUM2_BROWSER);
|
||||
$this->setBrowserUrl(PHPUNIT_TESTSUITE_EXTENSION_SELENIUM_TESTS_URL);
|
||||
$this->prepareSession();
|
||||
$this->url('html/test_open.html');
|
||||
}
|
||||
|
||||
public function testTheSessionStartedInSetupAndCanBeUsedNow()
|
||||
{
|
||||
$this->assertStringEndsWith('html/test_open.html', $this->url());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user