Commit ba764ba0 authored by catch's avatar catch
Browse files

Issue #2933413 by Graber, alexpott, joelpittet, chanderbhushan, jchand:...

Issue #2933413 by Graber, alexpott, joelpittet, chanderbhushan, jchand: Improve test coverage of using bulk actions when the view has an exposed form using AJAX
parent 522ab171
......@@ -40,6 +40,7 @@ public function testExposedFiltering() {
'administer site configuration',
'access content',
'access content overview',
'edit any page content',
......@@ -71,6 +72,16 @@ public function testExposedFiltering() {
$this->assertContains('Page Two', $html);
$this->assertNotContains('Page One', $html);
// Submit bulk actions form to ensure that the previous AJAX submit does not
// break it.
'action' => 'node_make_sticky_action',
'node_bulk_form[0]' => TRUE,
], t('Apply to selected items'));
// Verify that the action was performed.
$this->assertSession()->pageTextContains('Make content sticky was applied to 1 item.');
// Reset the form.
$this->submitForm([], t('Reset'));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment