diff --git a/config/sync/views.view.content.yml b/config/sync/views.view.content.yml index 4e0acef7d..f8e600186 100644 --- a/config/sync/views.view.content.yml +++ b/config/sync/views.view.content.yml @@ -80,31 +80,34 @@ display: clear_on_exposed: true force_selection_info: false selected_actions: - 5: - action_id: node_assign_owner_action - preconfiguration: - add_confirmation: false - 7: + - action_id: node_clone_action preconfiguration: add_confirmation: false - 8: + message_override: '' + - action_id: views_bulk_edit preconfiguration: add_confirmation: false + message_override: '' get_bundles_from_results: true - 9: + - action_id: views_bulk_operations_delete_entity - 11: + preconfiguration: + add_confirmation: true + message_override: '' + - action_id: 'entity:unpublish_action:node' preconfiguration: add_confirmation: false label_override: Unpublish - 12: + message_override: '' + - action_id: 'entity:publish_action:node' preconfiguration: add_confirmation: false label_override: Publish + message_override: '' title: id: title table: node_field_data diff --git a/config/sync/views.view.files.yml b/config/sync/views.view.files.yml index 5f9a4bebb..e52b47960 100644 --- a/config/sync/views.view.files.yml +++ b/config/sync/views.view.files.yml @@ -80,10 +80,12 @@ display: clear_on_exposed: true force_selection_info: false selected_actions: - 2: + - action_id: views_bulk_operations_delete_entity preconfiguration: + add_confirmation: true label_override: 'Delete File' + message_override: '' fid: id: fid table: file_managed diff --git a/tests/codeception/acceptance/Contrib/ViewsBulkEditCest.php b/tests/codeception/acceptance/Contrib/ViewsBulkEditCest.php index 8b4bb079a..c4a17a7ab 100644 --- a/tests/codeception/acceptance/Contrib/ViewsBulkEditCest.php +++ b/tests/codeception/acceptance/Contrib/ViewsBulkEditCest.php @@ -72,7 +72,7 @@ public function testBulkEdits(AcceptanceTester $I) { $I->checkOption('Publication Types (value 1)'); $I->selectOption('node[stanford_publication][su_publication_topics][0][target_id]', $pubs_foo_bar_baz->id()); $I->click('Apply'); - $I->canSee('Action processing results'); + $I->canSee('Modify field values', '.messages-list'); foreach ($this->nodes as $node) { $I->amOnPage($node->toUrl('edit-form')->toString()); diff --git a/tests/codeception/acceptance/Media/MediaCest.php b/tests/codeception/acceptance/Media/MediaCest.php index 93cdc5c0d..05e6bc021 100644 --- a/tests/codeception/acceptance/Media/MediaCest.php +++ b/tests/codeception/acceptance/Media/MediaCest.php @@ -241,7 +241,7 @@ public function testDeleteFiles(AcceptanceTester $I) { $I->canSee('Are you sure you wish to perform'); $I->canSee($this->filePath); $I->click('Execute action'); - $I->canSee('Action processing results: Delete entities'); + $I->canSee('Delete entities'); $I->amOnPage('/admin/content/files'); $I->cantSee($this->filePath); diff --git a/tests/codeception/functional/Users/RolesCest.php b/tests/codeception/functional/Users/RolesCest.php index 419e16d0d..634ab7e75 100644 --- a/tests/codeception/functional/Users/RolesCest.php +++ b/tests/codeception/functional/Users/RolesCest.php @@ -77,7 +77,7 @@ public function testBulkDeleteHomePage(FunctionalTester $I) { $I->selectOption('Action', 'Delete selected entities'); $I->click('Apply to selected items'); $I->click('Execute action'); - $I->waitForText('Action processing results'); + $I->waitForText('Delete entities'); $I->canSee('Access denied (1)'); $I->runDrush('cache-rebuild'); $I->amOnPage('/');