You are here

public function ImporterTest::testUserCsvImporter in CSV Importer 8

Test user importer.

File

tests/src/FunctionalJavascript/ImporterTest.php, line 88

Class

ImporterTest
Tests CSV importer.

Namespace

Drupal\Tests\csv_importer\FunctionalJavascript

Code

public function testUserCsvImporter() {
  $assert = $this
    ->assertSession();
  $this
    ->processForm('user');
  $this
    ->drupalGet('/user/7');
  $assert
    ->statusCodeEquals(200);
  $assert
    ->elementTextContains('css', '.page-title', 'CSV importer user 1');
  $this
    ->assertFields();
}