protected function ResponsivePreview::changeDeviceRotation in Thunder 8.3
Same name and namespace in other branches
- 8.5 tests/src/FunctionalJavascript/Integration/ResponsivePreview.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ResponsivePreview::changeDeviceRotation()
- 8.2 tests/src/FunctionalJavascript/Integration/ResponsivePreview.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ResponsivePreview::changeDeviceRotation()
- 8.4 tests/src/FunctionalJavascript/Integration/ResponsivePreview.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ResponsivePreview::changeDeviceRotation()
- 6.2.x tests/src/FunctionalJavascript/Integration/ResponsivePreview.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ResponsivePreview::changeDeviceRotation()
- 6.0.x tests/src/FunctionalJavascript/Integration/ResponsivePreview.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ResponsivePreview::changeDeviceRotation()
- 6.1.x tests/src/FunctionalJavascript/Integration/ResponsivePreview.php \Drupal\Tests\thunder\FunctionalJavascript\Integration\ResponsivePreview::changeDeviceRotation()
Change device rotation for device preview.
1 call to ResponsivePreview::changeDeviceRotation()
- ResponsivePreview::testDevicePreview in tests/
src/ FunctionalJavascript/ Integration/ ResponsivePreview.php - Testing integration of "responsive_preview" module.
File
- tests/
src/ FunctionalJavascript/ Integration/ ResponsivePreview.php, line 72
Class
- ResponsivePreview
- Tests the device preview functionality integration.
Namespace
Drupal\Tests\thunder\FunctionalJavascript\IntegrationCode
protected function changeDeviceRotation() {
$this
->getSession()
->getPage()
->find('xpath', '//*[@id="responsive-preview-orientation"]')
->click();
$this
->assertSession()
->assertWaitOnAjaxRequest();
}