public function VarbaseContext::theImageMediaBrowserIsOpen in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 9.0.x
Same name and namespace in other branches
- 8.8 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::theImageMediaBrowserIsOpen()
- 8.4 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::theImageMediaBrowserIsOpen()
- 8.5 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::theImageMediaBrowserIsOpen()
- 8.6 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::theImageMediaBrowserIsOpen()
- 8.7 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::theImageMediaBrowserIsOpen()
Check if the Image media browser opened.
Varbase Context #varbase.
Example #1: Then the image media browser should be open Example #2: And the image media browser should be open
@Then /^the image media browser should be open$/
File
- tests/
features/ bootstrap/ VarbaseContext.php, line 1533
Class
- VarbaseContext
- Defines application features from the specific context.
Code
public function theImageMediaBrowserIsOpen() {
if (!$this
->getSession()
->getPage()
->find('css', '.ui-dialog.ui-widget-content')) {
throw new \Exception('The image media browser failed to open.');
}
}