diff --git a/src/Tests/ParagraphsAdministrationTest.php b/src/Tests/ParagraphsAdministrationTest.php
index fb3daad..82f6d4c 100644
--- a/src/Tests/ParagraphsAdministrationTest.php
+++ b/src/Tests/ParagraphsAdministrationTest.php
@@ -223,7 +223,8 @@ class ParagraphsAdministrationTest extends WebTestBase {
$this->assertText('Add mode: Buttons', 'Checking the settings value.');
$this->drupalPostAjaxForm(NULL, array(), $field_name . "_settings_edit");
- $this->assertOptionSelected('edit-fields-field-paragraphs-settings-edit-form-settings-add-mode', 'button', 'Updated value is correct!.');
+ // Assert the 'Buttons' option is selected.
+ $this->assertRaw('');
// Add two Text + Image paragraphs in article.
$this->drupalGet('node/add/article');
@@ -268,7 +269,8 @@ class ParagraphsAdministrationTest extends WebTestBase {
// Check if the setting is stored.
$this->assertText('Edit mode: Closed', 'Checking the settings value.');
$this->drupalPostAjaxForm(NULL, array(), "field_paragraphs_settings_edit");
- $this->assertOptionSelected('edit-fields-field-paragraphs-settings-edit-form-settings-edit-mode', 'closed', 'Updated value correctly.');
+ // Assert the 'Closed' option is selected.
+ $this->assertRaw('');
$this->drupalGet('node/1/edit');
// The textareas for paragraphs should not be visible.
$this->assertNoRaw('field_paragraphs[0][subform][field_text][0][value]');
@@ -292,7 +294,8 @@ class ParagraphsAdministrationTest extends WebTestBase {
// Test for open option.
$this->drupalGet('admin/structure/types/manage/article/form-display');
$this->drupalPostAjaxForm(NULL, array(), "field_paragraphs_settings_edit");
- $this->assertOptionSelected('edit-fields-field-paragraphs-settings-edit-form-settings-edit-mode', 'preview', 'Updated value correctly.');
+ // Assert the 'Preview' option is selected.
+ $this->assertRaw('');
// Restore the value to Open for next test.
$edit = array('fields[field_paragraphs][settings_edit_form][settings][edit_mode]' => 'open');
$this->drupalPostForm(NULL, $edit, t('Save'));