protected function FeedListBuilderTest::assertNoWarnings in Feeds 8.3
Asserts that there are no warnings nor errors displayed.
7 calls to FeedListBuilderTest::assertNoWarnings()
- FeedListBuilderTest::testUi in tests/
src/ Functional/ FeedListBuilderTest.php - Tests the feed listing page with admin privileges.
- FeedListBuilderTest::testUiWithNoFeeds in tests/
src/ Functional/ FeedListBuilderTest.php - Tests the feed listing page when there are no feeds yet.
- FeedListBuilderTest::testUiWithOnlyClearPermissions in tests/
src/ Functional/ FeedListBuilderTest.php - Tests the feed listing page for an user who may only clear feeds.
- FeedListBuilderTest::testUiWithOnlyImportPermissions in tests/
src/ Functional/ FeedListBuilderTest.php - Tests the feed listing page for an user who may only import feeds.
- FeedListBuilderTest::testUiWithOnlyScheduleImportPermissions in tests/
src/ Functional/ FeedListBuilderTest.php - Tests the feed listing page for an user who may only schedule imports.
File
- tests/
src/ Functional/ FeedListBuilderTest.php, line 335
Class
- FeedListBuilderTest
- Tests the feed listing page.
Namespace
Drupal\Tests\feeds\FunctionalCode
protected function assertNoWarnings() {
$this
->assertSession()
->elementNotExists('css', '.messages--warning');
$this
->assertSession()
->elementNotExists('css', '.messages--error');
$this
->assertSession()
->pageTextNotContains('The website encountered an unexpected error.');
}