Skip to content
Snippets Groups Projects
Commit c9675e42 authored by Tim Rohaly's avatar Tim Rohaly
Browse files

Issue #3458212 by TR: [11] Failure in FunctionalJavascript test

parent 1a854b63
No related branches found
No related tags found
1 merge request!46Issue #3458212 by TR: [11] Failure in FunctionalJavascript test
Pipeline #212711 passed with warnings
...@@ -90,20 +90,17 @@ class EventBundleTest extends WebDriverTestBase { ...@@ -90,20 +90,17 @@ class EventBundleTest extends WebDriverTestBase {
$field = $page->findField('events[0][event_name]'); $field = $page->findField('events[0][event_name]');
$this->assertNotEmpty($field); $this->assertNotEmpty($field);
$this->assertEquals('rules_entity_insert:node', $field->getValue()); $this->assertEquals('rules_entity_insert:node', $field->getValue());
$assert->assertWaitOnAjaxRequest();
// Don't try to set the bundle unless the event has bundles! // Don't try to set the bundle unless the event has bundles!
if ($page->findField('bundle')) { if ($page->findField('bundle')) {
// Check to see that our "page" content type is an option. // Check to see that our "page" content type is an option.
$page->findField('bundle')->selectOption('page'); $page->findField('bundle')->selectOption('page');
$assert->assertWaitOnAjaxRequest();
$field = $page->findField('bundle'); $field = $page->findField('bundle');
$this->assertNotEmpty($field); $this->assertNotEmpty($field);
$this->assertEquals('page', $field->getValue()); $this->assertEquals('page', $field->getValue());
// Now check our "article" type, and leave it selected. // Now check our "article" type, and leave it selected.
$page->findField('bundle')->selectOption('article'); $page->findField('bundle')->selectOption('article');
$assert->assertWaitOnAjaxRequest();
$field = $page->findField('bundle'); $field = $page->findField('bundle');
$this->assertNotEmpty($field); $this->assertNotEmpty($field);
$this->assertEquals('article', $field->getValue()); $this->assertEquals('article', $field->getValue());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment