@@ -31,11 +31,11 @@ describe('OpenID plugin tests', function () {
3131 // Fill out settings form
3232 cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][active]"]' ) . check ( { force : true } ) ;
3333 cy . waitJQuery ( ) ;
34- cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][configUrl]"]' ) . clear ( ) . type ( Cypress . env ( "OPENID_CUSTOM_URL " ) ) ;
35- cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][btnImg]"]' ) . clear ( ) . type ( Cypress . env ( "OPENID_CUSTOM_IMG " ) ) ;
36- cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][btnTxt][en_US]"]' ) . clear ( ) . type ( Cypress . env ( "OPENID_CUSTOM_TXT " ) ) ;
37- cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][clientId]"]' ) . clear ( ) . type ( Cypress . env ( "OPENID_CUSTOM_ID " ) ) ;
38- cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][clientSecret]"]' ) . clear ( ) . type ( Cypress . env ( "OPENID_CUSTOM_SECRET " ) ) ;
34+ cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][configUrl]"]' ) . clear ( ) . type ( Cypress . env ( "OPENIDURL " ) ) ;
35+ cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][btnImg]"]' ) . clear ( ) . type ( Cypress . env ( "OPENIDIMG " ) ) ;
36+ cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][btnTxt][en_US]"]' ) . clear ( ) . type ( Cypress . env ( "OPENIDTXT " ) ) ;
37+ cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][clientId]"]' ) . clear ( ) . type ( Cypress . env ( "OPENIDID " ) ) ;
38+ cy . get ( 'form[id="openIDSettings"] input[name="provider[custom][clientSecret]"]' ) . clear ( ) . type ( Cypress . env ( "OOPENIDSECRET " ) ) ;
3939 cy . get ( 'form[id="openIDSettings"] input[name="legacyLogin"]' ) . check ( { force : true } ) ;
4040 cy . get ( 'form[id="openIDSettings"] div[id="generateSecret"]' ) . click ( ) ;
4141 cy . get ( 'form[id="openIDSettings"] input[name="generateAPIKey"]' ) . check ( { force : true } ) ;
@@ -49,6 +49,6 @@ describe('OpenID plugin tests', function () {
4949
5050 it ( 'Check OpenID Authentication Plugin Login Page' , function ( ) {
5151 cy . visit ( '/index.php/publicknowledge/login' ) ;
52- cy . get ( 'a[id="openid-provider-custom"]' ) . contains ( Cypress . env ( "OPENID_CUSTOM_TXT " ) ) ;
52+ cy . get ( 'a[id="openid-provider-custom"]' ) . contains ( Cypress . env ( "OPENIDTXT " ) ) ;
5353 } ) ;
5454} ) ;
0 commit comments