diff --git a/src/Tests/WidgetIntegrationTest.php b/src/Tests/WidgetIntegrationTest.php index 5a49f1a..ed8dad2 100644 --- a/src/Tests/WidgetIntegrationTest.php +++ b/src/Tests/WidgetIntegrationTest.php @@ -82,15 +82,9 @@ class WidgetIntegrationTest extends WebTestBase { $this->drupalPostForm(NULL, ['widget' => 'select'], $this->t('Save')); $this->drupalGet('search-api-test-fulltext'); - $this->assertField('edit-type', 'Dropdown is visible.'); $this->assertText('Displaying 5 search results'); - - $url = Url::fromUserInput('/search-api-test-fulltext', ['query' => ['f[0]' => 'select_widget:item']]); - $url->setAbsolute(); - - $this->drupalPostForm(NULL, ['type' => $url->toString()], $this->t('submit')); - $this->assertResponse(200); - $this->assertText('Displaying 3 search results'); + $this->assertLink('item'); + $this->assertLink('article'); } /**