Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
20
vendor/behat/mink/driver-testsuite/tests/Basic/VisibilityTest.php
vendored
Normal file
20
vendor/behat/mink/driver-testsuite/tests/Basic/VisibilityTest.php
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Behat\Mink\Tests\Driver\Basic;
|
||||
|
||||
use Behat\Mink\Tests\Driver\TestCase;
|
||||
|
||||
class VisibilityTest extends TestCase
|
||||
{
|
||||
public function testVisibility()
|
||||
{
|
||||
$this->getSession()->visit($this->pathTo('/js_test.html'));
|
||||
$webAssert = $this->getAssertSession();
|
||||
|
||||
$clicker = $webAssert->elementExists('css', '.elements div#clicker');
|
||||
$invisible = $webAssert->elementExists('css', '#invisible');
|
||||
|
||||
$this->assertFalse($invisible->isVisible());
|
||||
$this->assertTrue($clicker->isVisible());
|
||||
}
|
||||
}
|
Reference in a new issue