Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
danitseitlin committed Sep 27, 2024
1 parent 70eed43 commit ce6f18e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Setting a Report Portal local reporter
run: npm run build && npm run link-pkg
- name: Downloading docker compose file
run: npm run download-report-portal-latest-docker-compose-file
run: npm run download-report-portal-docker-compose-file
- name: Docker version
run: docker -v
- name: Setting up a local Report Portal environment
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"run-full-unit-tests": "npm run build-local-reporter && npm run unit-tests && npm run unit-retry-tests && npm run unit-no-live-reporting-tests && npm run unit-display-debug-logs-tests",
"integration-tests": "npm run test ./tests/integration/integration.executor.ts -- --display-debug-logs",
"run-integration-tests": "npm run build-local-reporter && npm run integration-tests",
"download-report-portal-docker-compose-file": "curl https://raw.githubusercontent.com/reportportal/reportportal/688523ccf731ec8f7e5bad05b3017ad88f4e5a3f/docker-compose.yml -o docker-compose.yml",
"download-report-portal-latest-docker-compose-file": "curl https://raw.githubusercontent.com/reportportal/reportportal/master/docker-compose.yml -o docker-compose.yml",
"up": "docker compose -p reportportal up",
"start": "docker compose -p reportportal start",
Expand Down
3 changes: 3 additions & 0 deletions tests/integration/integration.executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ describe('Performing Integration testing', async function() {
apiPath: '/uat',
});
const token = await client.getApiToken('default', '1q2w3e');
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;
console.log(`List of arguments: ${JSON.stringify(cliArguments)}`)
testcafeServer = await createTestCafe('localhost', 1337, 1338);
});

Expand Down

0 comments on commit ce6f18e

Please sign in to comment.