function NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage
Same name in this branch
- 9 core/modules/rdf/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php \Drupal\Tests\rdf\Functional\Migrate\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
Same name in other branches
- 10 core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php \Drupal\Tests\forum\Functional\migrate_drupal\d6\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 10 core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php \Drupal\Tests\forum\Functional\migrate_drupal\d7\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 10 core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d6\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 10 core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d7\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 11.x core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php \Drupal\Tests\forum\Functional\migrate_drupal\d6\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 11.x core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php \Drupal\Tests\forum\Functional\migrate_drupal\d7\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 11.x core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d6\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 11.x core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d7\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.