From 44448847e388babee672bf8de047dd60b681bb29 Mon Sep 17 00:00:00 2001 From: Colin Mollenhour Date: Tue, 5 May 2020 17:03:45 -0400 Subject: [PATCH] Remove DownloaderPart2Test and DownloaderTest as they do not run and we do not support downloader. --- .../Test/TestCase/DownloaderPart2Test.php | 101 ------------ .../Test/TestCase/DownloaderPart2Test.xml | 36 ----- .../Install/Test/TestCase/DownloaderTest.php | 149 ------------------ .../Install/Test/TestCase/DownloaderTest.xml | 36 ----- 4 files changed, 322 deletions(-) delete mode 100644 dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderPart2Test.php delete mode 100644 dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderPart2Test.xml delete mode 100644 dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderTest.php delete mode 100644 dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderTest.xml diff --git a/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderPart2Test.php b/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderPart2Test.php deleted file mode 100644 index 9156d816ceb..00000000000 --- a/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderPart2Test.php +++ /dev/null @@ -1,101 +0,0 @@ -downloaderDownloader = $downloaderDownloader; - } - - /** - * Install Magento via web interface. - * - * @param array $configData - * @return array - */ - public function test($configData) - { - // Steps: - $this->downloaderDownloader->open(); - // Start downloading - $this->downloaderDownloader->getContinueDownloadBlock()->startDownload(); - $i = 1; - while ($i <= 15 and (!(($this->downloaderDownloader->getMessagesBlock()->isVisibleMessage('success')) or - ($this->downloaderDownloader->getMessagesBlock()->isVisibleMessage('error')))) - ) { - sleep(60); - $i++; -// ObjectManager::getInstance()->create(EventManagerInterface::class)->dispatchEvent(array('exception')); - } - - $this->downloaderDownloader->getMessagesBlock()->getSuccessMessages(); - $this->downloaderDownloader->getContinueDownloadBlock()->continueMagentoInstallation(); - } -} diff --git a/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderPart2Test.xml b/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderPart2Test.xml deleted file mode 100644 index e27bdf08401..00000000000 --- a/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderPart2Test.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - Install with default values - Welcome to Magento Downloader! - test_type:install - - - diff --git a/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderTest.php b/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderTest.php deleted file mode 100644 index b21ab810a7a..00000000000 --- a/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderTest.php +++ /dev/null @@ -1,149 +0,0 @@ -downloaderWelcome = $downloaderWelcome; - $this->downloaderValidation = $downloaderValidation; - $this->downloaderDeploy = $downloaderDeploy; - $this->downloaderDownloader = $downloaderDownloader; - $this->assertSuccessDeploy = $assertSuccessDeploy; - $this->downloaderDeployEnd = $downloaderDeployEnd; - } - - /** - * 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(); - - } -} diff --git a/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderTest.xml b/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderTest.xml deleted file mode 100644 index dd8049ef6e0..00000000000 --- a/dev/tests/functional/tests/app/Mage/Install/Test/TestCase/DownloaderTest.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - Install with default values - Welcome to Magento Downloader! - test_type:install - - -