diff -u b/src/Tests/MonitoringUITest.php b/src/Tests/MonitoringUITest.php --- b/src/Tests/MonitoringUITest.php +++ b/src/Tests/MonitoringUITest.php @@ -91,6 +91,10 @@ $account = $this->drupalCreateUser(array('administer monitoring', 'monitoring reports')); $this->drupalLogin($account); + // Create a node to test verbose fields. + $this->drupalCreateNode(array( + 'type' => 'article', + )); $this->drupalGet('admin/config/system/monitoring/sensors/add'); $this->assertFieldByName('status', TRUE); @@ -131,12 +135,12 @@ $this->assertLink(t('Node Entity Aggregator sensor')); $this->clickLink(t('Node Entity Aggregator sensor')); $this->assertText('Result'); - $this->assertText('nid'); - $this->assertText('label'); - $this->assertText('langcode'); - $this->assertText('title'); - $this->assertText('status'); - $this->assertText('sticky'); + $this->assertRaw('nid'); + $this->assertRaw('label'); + $this->assertRaw('langcode'); + $this->assertRaw('title'); + $this->assertRaw('status'); + $this->assertRaw('sticky'); $this->drupalGet('admin/config/system/monitoring/sensors/ui_test_sensor'); $this->assertFieldByName('caching_time', 100); @@ -178,12 +182,12 @@ $this->assertLink(t('File Entity Aggregator sensor')); $this->clickLink(t('File Entity Aggregator sensor')); $this->assertText('Result'); - $this->assertText('label'); - $this->assertText('uuid'); - $this->assertText('filename'); - $this->assertText('filesize'); - $this->assertText('uri'); - $this->assertText('created'); + $this->assertRaw('label'); + $this->assertRaw('uuid'); + $this->assertRaw('filename'); + $this->assertRaw('filesize'); + $this->assertRaw('uri'); + $this->assertRaw('created'); $this->drupalGet('admin/config/system/monitoring/sensors/file_test_sensor'); $i = 2;