9 use Magento\Mtf\Client\BrowserInterface;
10 use Magento\Mtf\Constraint\AbstractConstraint;
11 use Magento\Backend\Test\Page\Adminhtml\Dashboard;
12 use Magento\Customer\Test\Page\CustomerAccountLogin;
32 BrowserInterface $browser,
34 CustomerAccountLogin $customerAccountLogin
37 \PHPUnit\Framework\Assert::assertTrue(
38 strpos($browser->getUrl(),
'https://') !==
false,
39 'Secure Url is not displayed on backend.' 42 $customerAccountLogin->open();
43 \PHPUnit\Framework\Assert::assertTrue(
44 strpos($browser->getUrl(),
'https://') !==
false,
45 'Secure Url is not displayed on frontend.' 56 return 'Secure Urls are displayed successful.';
processAssert(BrowserInterface $browser, Dashboard $dashboard, CustomerAccountLogin $customerAccountLogin)