Tests that the correct display is loaded by default.
public function testDefaultDisplay() {
$this
->drupalGet('admin/structure/views/view/test_display');
$elements = $this
->xpath('//*[@id="views-page-1-display-title"]');
$this
->assertEqual(count($elements), 1, 'The page display is loaded as the default display.');
}