diff --git a/test/jest_integration/multi_tenancy.test.ts b/test/jest_integration/multi_tenancy.test.ts index adeccda15..684d55294 100644 --- a/test/jest_integration/multi_tenancy.test.ts +++ b/test/jest_integration/multi_tenancy.test.ts @@ -67,7 +67,7 @@ describe('start OpenSearch Dashboards server', () => { async function createTestUser(username: string = undefined, password: string = undefined) { const testUserName = username || `test_user_${Date.now()}`; - const testUserPassword = password || 'Test_123'; + const testUserPassword = password || 'testUserPassword123'; await createOrUpdateEntityAsAdmin(root, 'internalusers', testUserName, { password: testUserPassword, diff --git a/test/jest_integration/security_entity_api.test.ts b/test/jest_integration/security_entity_api.test.ts index 6b89d081c..f28817798 100644 --- a/test/jest_integration/security_entity_api.test.ts +++ b/test/jest_integration/security_entity_api.test.ts @@ -68,7 +68,7 @@ describe('start OpenSearch Dashboards server', () => { it('create/get/update/list/delete internal user', async () => { const testUsername = `test_user_${Date.now()}`; - const testUserPassword = 'Test_123'; + const testUserPassword = 'testUserPassword123'; const createUserResponse = await createOrUpdateEntityAsAdmin( root, @@ -270,7 +270,7 @@ describe('start OpenSearch Dashboards server', () => { it('get account info', async () => { const testUsername = `test_user_${Date.now()}`; - const testUserPassword = 'Test_123'; + const testUserPassword = 'testUserPassword123'; await createOrUpdateEntityAsAdmin(root, 'internalusers', testUsername, { description: 'test user description', @@ -297,7 +297,7 @@ describe('start OpenSearch Dashboards server', () => { it('self reset password as non-admin', async () => { const testUsername = `test_user_${Date.now()}`; - const testUserPassword = 'Test_123'; + const testUserPassword = 'testUserPassword123'; const readAllRole = 'read_all'; // use predefined "read_all" role await createOrUpdateEntityAsAdmin(root, 'internalusers', testUsername, {