function ReviewPageTest::testMigrateUpgradeReviewPage
Same name in this branch
- 10 core/modules/book/tests/src/Functional/Migrate/d6/ReviewPageTest.php \Drupal\Tests\book\Functional\Migrate\d6\ReviewPageTest::testMigrateUpgradeReviewPage()
- 10 core/modules/book/tests/src/Functional/Migrate/d7/ReviewPageTest.php \Drupal\Tests\book\Functional\Migrate\d7\ReviewPageTest::testMigrateUpgradeReviewPage()
Same name in other branches
- 9 core/modules/tracker/tests/src/Functional/Migrate/ReviewPageTest.php \Drupal\Tests\tracker\Functional\Migrate\ReviewPageTest::testMigrateUpgradeReviewPage()
- 11.x core/modules/tracker/tests/src/Functional/Migrate/ReviewPageTest.php \Drupal\Tests\tracker\Functional\Migrate\ReviewPageTest::testMigrateUpgradeReviewPage()
- 11.x core/modules/book/tests/src/Functional/Migrate/d6/ReviewPageTest.php \Drupal\Tests\book\Functional\Migrate\d6\ReviewPageTest::testMigrateUpgradeReviewPage()
- 11.x core/modules/book/tests/src/Functional/Migrate/d7/ReviewPageTest.php \Drupal\Tests\book\Functional\Migrate\d7\ReviewPageTest::testMigrateUpgradeReviewPage()
Tests the review page.
Overrides NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage
File
-
core/
modules/ tracker/ tests/ src/ Functional/ Migrate/ ReviewPageTest.php, line 33
Class
- ReviewPageTest
- Tests Review page.
Namespace
Drupal\Tests\tracker\Functional\MigrateCode
public function testMigrateUpgradeReviewPage() : void {
$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 Tracker will be upgraded.
$session->elementExists('xpath', "//td[contains(@class, 'checked') and text() = 'Tracker']");
$session->elementNotExists('xpath', "//td[contains(@class, 'error') and text() = 'Tracker']");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.