| @@ 28-45 (lines=18) @@ | ||
| 25 | protected $waitForLoadingMask; |
|
| 26 | protected $testCase; |
|
| 27 | ||
| 28 | public function __construct( |
|
| 29 | WebDriver $webDriver, |
|
| 30 | ThemeConfiguration $themeConfiguration, |
|
| 31 | AdminMenu $adminMenuNavigator, |
|
| 32 | ClearTableFilters $clearTableFilters, |
|
| 33 | ClickButton $clickButton, |
|
| 34 | WaitForLoadingMask $waitForLoadingMask, |
|
| 35 | AbstractMagentoTestCase $testCase |
|
| 36 | ) |
|
| 37 | { |
|
| 38 | $this->webDriver = $webDriver; |
|
| 39 | $this->themeConfiguration = $themeConfiguration; |
|
| 40 | $this->adminMenuNavigator = $adminMenuNavigator; |
|
| 41 | $this->clearTableFilters = $clearTableFilters; |
|
| 42 | $this->clickButton = $clickButton; |
|
| 43 | $this->waitForLoadingMask = $waitForLoadingMask; |
|
| 44 | $this->testCase = $testCase; |
|
| 45 | } |
|
| 46 | ||
| 47 | public function navigateTo(AbstractCustomerNavigation $navigation) |
|
| 48 | { |
|
| @@ 28-47 (lines=20) @@ | ||
| 25 | protected $waitForLoadingMask; |
|
| 26 | protected $testCase; |
|
| 27 | ||
| 28 | public function __construct( |
|
| 29 | WebDriver $webDriver, |
|
| 30 | ThemeConfiguration $themeConfiguration, |
|
| 31 | Login $adminLogin, |
|
| 32 | AdminMenu $adminMenuNavigator, |
|
| 33 | ClearTableFilters $clearTableFilters, |
|
| 34 | ClickButton $clickButton, |
|
| 35 | WaitForLoadingMask $waitForLoadingMask, |
|
| 36 | AbstractMagentoTestCase $testCase |
|
| 37 | ) |
|
| 38 | { |
|
| 39 | $this->webDriver = $webDriver; |
|
| 40 | $this->themeConfiguration = $themeConfiguration; |
|
| 41 | $this->adminLogin = $adminLogin; |
|
| 42 | $this->adminMenuNavigator = $adminMenuNavigator; |
|
| 43 | $this->clearTableFilters = $clearTableFilters; |
|
| 44 | $this->clickButton = $clickButton; |
|
| 45 | $this->waitForLoadingMask = $waitForLoadingMask; |
|
| 46 | $this->testCase = $testCase; |
|
| 47 | } |
|
| 48 | ||
| 49 | public function navigateTo($orderId, $doLoginIfNeeded = false) |
|
| 50 | { |
|