From 0014cc9c79c8e75858c3c8dcaa2ae6835ddce129 Mon Sep 17 00:00:00 2001 From: Dani Tseitlin Date: Fri, 27 Sep 2024 22:18:36 +0300 Subject: [PATCH] . --- tests/integration/integration.executor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/integration.executor.ts b/tests/integration/integration.executor.ts index 885c491..2884b04 100644 --- a/tests/integration/integration.executor.ts +++ b/tests/integration/integration.executor.ts @@ -14,11 +14,11 @@ describe('Performing Integration testing', async function() { domain: 'localhost:8080', apiPath: '/uat', }); - const token = await client.getApiToken('default', '1q2w3e'); + const token = await client.getApiToken('superadmin', 'erebus'); console.log(`Got the following token: ${JSON.stringify(token)}`) const apiToken = await client.generateApiToken(token.access_token); console.log(`Generated the following report portal token: ${apiToken.access_token}`) - cliArguments.rtoken = apiToken.access_token; + cliArguments.rtoken = token.access_token; console.log(`List of arguments: ${JSON.stringify(cliArguments)}`) testcafeServer = await createTestCafe('localhost', 1337, 1338); });