File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
integration/plugins/security Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if (Cypress.env('SECURITY_ENABLED')) {
5757 }
5858 ) ;
5959
60- cy . contains ( 'span' , 'Create internal user' ) ;
60+ cy . contains ( 'span' , 'Create user account ' ) ;
6161
6262 cy . url ( ) . should ( ( url ) => {
6363 expect ( url ) . to . not . contain ( '/users/create' ) ;
Original file line number Diff line number Diff line change 66import {
77 SEC_API_CONFIG_PATH ,
88 SEC_API_ROLES_PATH ,
9- SEC_API_INTERNAL_USERS_PATH ,
9+ SEC_API_INTERNAL_ACCOUNTS_PATH ,
1010 SEC_API_ACTIONGROUPS_PATH ,
1111 SEC_API_TENANTS_PATH ,
1212 SEC_API_AUDIT_PATH ,
@@ -48,7 +48,7 @@ Cypress.Commands.add(
4848Cypress . Commands . add (
4949 'mockInternalUsersAction' ,
5050 function ( fixtureFileName , funcMockedOn ) {
51- cy . intercept ( SEC_API_INTERNAL_USERS_PATH , {
51+ cy . intercept ( SEC_API_INTERNAL_ACCOUNTS_PATH , {
5252 fixture : fixtureFileName ,
5353 } ) . as ( 'getInternalUsersDetails' ) ;
5454
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ export const SEC_API_ACTIONGROUPS_PATH = BASE_SEC_API_PATH + '/actiongroups';
5555export const SEC_API_TENANTS_PATH = BASE_SEC_API_PATH + '/tenants' ;
5656
5757export const SEC_API_INTERNAL_USERS_PATH = BASE_SEC_API_PATH + '/internalusers' ;
58+ export const SEC_API_INTERNAL_ACCOUNTS_PATH =
59+ BASE_SEC_API_PATH + '/internalaccounts' ;
5860
5961export const SEC_API_ACCOUNT_PATH = BASE_SEC_API_PATH + '/account' ;
6062
You can’t perform that action at this time.
0 commit comments