function NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage
Tests that Color is displayed in the will be upgraded list.
Overrides NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage
File
- 
              core/
modules/ color/ tests/ src/ Functional/ Migrate/ NoMultilingualReviewPageTest.php, line 33  
Class
- NoMultilingualReviewPageTest
 - Tests review page.
 
Namespace
Drupal\Tests\color\Functional\MigrateCode
public function testMigrateUpgradeReviewPage() {
  $this->prepare();
  // Start the upgrade process.
  $this->submitCredentialForm();
  $session = $this->assertSession();
  $this->submitForm([], 'I acknowledge I may lose data. Continue anyway.');
  $session->statusCodeEquals(200);
  // Confirm that Color will be upgraded.
  $session->elementExists('xpath', "//td[contains(@class, 'checked') and text() = 'Color']");
  $session->elementNotExists('xpath', "//td[contains(@class, 'error') and text() = 'Color']");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.