public function ImporterTest::testNodeCsvImporter in CSV Importer 8
Test node importer.
File
- tests/
src/ FunctionalJavascript/ ImporterTest.php, line 58
Class
- ImporterTest
- Tests CSV importer.
Namespace
Drupal\Tests\csv_importer\FunctionalJavascriptCode
public function testNodeCsvImporter() {
$assert = $this
->assertSession();
$this
->processForm('node', 'csv_importer_test_content');
$this
->drupalGet('/csv-importer-node-1');
$assert
->statusCodeEquals(200);
$assert
->elementTextContains('css', '.field--name-title', 'CSV importer node 1');
$this
->assertFields();
}