From aca8e3981adf456a1173b4503869decfa953807c Mon Sep 17 00:00:00 2001 From: Oleksii Korshenko Date: Fri, 9 Dec 2016 13:57:04 -0600 Subject: [PATCH] MAGETWO-61889: Add debug events preset to UI Upgrade tests - fixed event preset based on latest changes in MTF --- dev/tests/functional/etc/events.xml | 4 ---- .../app/Magento/Upgrade/Test/Block/SelectVersion.php | 9 +++++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/dev/tests/functional/etc/events.xml b/dev/tests/functional/etc/events.xml index 017d7bd73efc2..3f24c78b6095c 100644 --- a/dev/tests/functional/etc/events.xml +++ b/dev/tests/functional/etc/events.xml @@ -47,9 +47,7 @@ - - @@ -59,9 +57,7 @@ - - diff --git a/dev/tests/functional/tests/app/Magento/Upgrade/Test/Block/SelectVersion.php b/dev/tests/functional/tests/app/Magento/Upgrade/Test/Block/SelectVersion.php index a11c8a1db1388..c511578f2cab6 100644 --- a/dev/tests/functional/tests/app/Magento/Upgrade/Test/Block/SelectVersion.php +++ b/dev/tests/functional/tests/app/Magento/Upgrade/Test/Block/SelectVersion.php @@ -10,6 +10,7 @@ use Magento\Mtf\Client\Element\SimpleElement; use Magento\Mtf\Client\Locator; use Magento\Mtf\Fixture\FixtureInterface; +use Magento\Mtf\Client\ElementInterface; /** * Select version block. @@ -84,7 +85,7 @@ public function chooseVersionUpgradeOtherComponents($sampleDataVersion) /** * Gets components rows as ElementInterface * - * @return \Magento\Mtf\Client\ElementInterface[] + * @return ElementInterface[] */ private function getComponentsTableRows() { @@ -136,7 +137,7 @@ private function canClickOnNextPage() * Gets rows component title * * @param int $rowIndex - * @return \Magento\Mtf\Client\ElementInterface + * @return ElementInterface */ private function getRowComponentTitle($rowIndex) { @@ -150,7 +151,7 @@ private function getRowComponentTitle($rowIndex) * Gets the select element from row * * @param int $rowIndex - * @return \Magento\Mtf\Client\ElementInterface + * @return ElementInterface */ private function getSelectFromRow($rowIndex) { @@ -180,7 +181,7 @@ private function convertVersionFixtureToRegexp($sampleDataVersion) /** * Asserts if element's text contains sample data * - * @param \Magento\Mtf\Client\ElementInterface $element + * @param ElementInterface $element * @return bool */ private function titleContainsSampleData($element)