Skip to content
Snippets Groups Projects
Commit 5ab24a09 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

feature(init): init

parent 6b1bfbbf
No related branches found
No related tags found
1 merge request!1feature(init): init
Pipeline #243077 passed with warnings
......@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Octolize\Shopify\Codeception;
use Codeception\Module\WebDriver;
use Codeception\Util\Locator;
use Exception;
class Shopify extends WebDriver
......@@ -17,7 +18,7 @@ class Shopify extends WebDriver
if ($i->loadSessionSnapshot('admin')) {
return;
}
$i->amOnUrl('https://accounts.shopify.com/lookup');
$i->amOnUrl($this->config['admin_url']);
try {
$i->moveMouseOver('body', rand(1, 100), rand(1, 100));
$i->seeInCurrentUrl(parse_url($this->config['admin_url'], PHP_URL_PATH));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment