You are here

protected function ThunderJavascriptTestBase::getWindowSize in Thunder 8.4

Same name and namespace in other branches
  1. 8.5 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
  2. 8.2 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
  3. 8.3 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
  4. 6.2.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
  5. 6.0.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()
  6. 6.1.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::getWindowSize()

Get base window size.

Return value

array Return

1 call to ThunderJavascriptTestBase::getWindowSize()
ThunderJavascriptTestBase::initFrontPage in tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php
Visits the front page when initializing Mink.

File

tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php, line 93

Class

ThunderJavascriptTestBase
Base class for Thunder Javascript functional tests.

Namespace

Drupal\Tests\thunder\FunctionalJavascript

Code

protected function getWindowSize() {
  return [
    'width' => 1280,
    'height' => 768,
  ];
}