TimeTrex/vendor/phpunit/phpunit-selenium/Tests/Selenium2TestCase/CustomDesiredCapabilitiesTest.php

30 lines
767 B
PHP
Raw Normal View History

2022-12-13 07:10:06 +01:00
<?php
namespace Tests\Selenium2TestCase;
/**
* Tests for PHPUnit_Extensions_SeleniumTestCase.
*
* @package PHPUnit_Selenium
* @author Giorgio Sironi <info@giorgiosironi.com>
* @copyright 2010-2013 Sebastian Bergmann <sebastian@phpunit.de>
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
* @link http://www.phpunit.de/
*/
class CustomDesiredCapabilitiesTest extends BaseTestCase
{
public function setUp(): void
{
parent::setUp();
$this->setDesiredCapabilities(array(
'platform' => 'ANY'
));
}
public function testOpen()
{
$this->url('html/test_open.html');
$this->assertStringEndsWith('html/test_open.html', $this->url());
}
}