@@ -7,8 +7,8 @@ import { PaylikeTestHelper } from './test_helper.js';
77export var TestMethods = {
88
99 /** Admin & frontend user credentials. */
10- StoreUrl : ( Cypress . env ( 'ENV_ADMIN_URL ' ) . match ( / ^ (?: h t t p (?: s ? ) : \/ \/ ) ? (?: [ ^ @ \n ] + @ ) ? (?: w w w \. ) ? ( [ ^ : \/ \n ? ] + ) / im) ) [ 0 ] ,
11- AdminUrl : Cypress . env ( 'ENV_ADMIN_URL ' ) ,
10+ StoreUrl : ( Cypress . env ( 'ENV_PHOENIX_ADMIN_URL ' ) . match ( / ^ (?: h t t p (?: s ? ) : \/ \/ ) ? (?: [ ^ @ \n ] + @ ) ? (?: w w w \. ) ? ( [ ^ : \/ \n ? ] + ) / im) ) [ 0 ] ,
11+ AdminUrl : Cypress . env ( 'ENV_PHOENIX_ADMIN_URL ' ) ,
1212 RemoteVersionLogUrl : Cypress . env ( 'REMOTE_LOG_URL' ) ,
1313
1414 /** Construct some variables to be used bellow. */
@@ -38,7 +38,7 @@ export var TestMethods = {
3838 */
3939 changePaylikeCaptureMode ( captureMode ) {
4040 /** Go to Paylike payment method. */
41- cy . goToPage ( this . PaymentMethodsAdminUrl ) ;
41+ cy . phoenixGoToPage ( this . PaymentMethodsAdminUrl ) ;
4242
4343 /** Select Paylike. */
4444 cy . get ( '.dataTableContent' ) . contains ( this . PaylikeName , { matchCase : false } ) . click ( ) ;
@@ -70,7 +70,7 @@ export var TestMethods = {
7070 */
7171 makePaymentFromFrontend ( currency ) {
7272 /** Go to store frontend. */
73- cy . goToPage ( this . StoreUrl ) ;
73+ cy . phoenixGoToPage ( this . StoreUrl ) ;
7474
7575 /** Change currency. */
7676 this . changeShopCurrency ( currency ) ;
@@ -133,7 +133,7 @@ export var TestMethods = {
133133 */
134134 logVersions ( ) {
135135 /** Go to system information. */
136- cy . goToPage ( this . SystemInfoAdminUrl ) ;
136+ cy . phoenixGoToPage ( this . SystemInfoAdminUrl ) ;
137137
138138 cy . wait ( 1000 ) ;
139139
0 commit comments