/**
  * Install Magento via web interface.
  *
  * @param AssertWelcomeWizardTextPresent $assertWelcomeWizardTextPresent
  * @param array $configData
  * @return array
  */
 public function test(AssertWelcomeWizardTextPresent $assertWelcomeWizardTextPresent, $configData)
 {
     // Steps:
     $this->downloaderWelcome->open();
     // Verify license agreement.
     $assertWelcomeWizardTextPresent->processAssert($this->downloaderWelcome);
     $this->downloaderWelcome->getContinueDownloadBlock()->continueValidation();
     $this->downloaderValidation->getContinueDownloadBlock()->continueDeploy();
     $this->downloaderDeploy->getContinueDownloadBlock()->continueDeploy();
     $this->assertSuccessDeploy->processAssert($this->downloaderDeployEnd);
     $this->downloaderDeploy->getContinueDownloadBlock()->continueDownload();
     $this->downloaderDownloader->getContinueDownloadBlock()->startDownload();
     $this->downloaderDownloader->getMessagesBlock()->getSuccessMessages();
     parent::test($this->assertLicense, $configData);
 }
 /**
  * Assert that Magento successfully installed.
  *
  * @param Downloader $downloaderComplete
  * @param CmsIndex $cmsIndex
  * @param string $successDeployMessage
  * @return void
  */
 public function processAssert(Downloader $downloaderComplete)
 {
     // Check DeployWizardEnd page title text.
     \PHPUnit_Framework_Assert::assertEquals(self::DOWNLOAD_COMPLETED_TEXT, $downloaderComplete->getMessagesBlock()->getSuccessMessages());
 }