-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate E2E typescript test report for ReportPortal (#22590)
feat: reportportal integration Signed-off-by: mdolhalo <[email protected]>
- Loading branch information
Showing
17 changed files
with
462 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/** ******************************************************************* | ||
* copyright (c) 2023 Red Hat, Inc. | ||
* | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
**********************************************************************/ | ||
const { REPORTER_CONSTANTS } = require('../constants/REPORTER_CONSTANTS'); | ||
const { BASE_TEST_CONSTANTS } = require('../constants/BASE_TEST_CONSTANTS'); | ||
|
||
module.exports = { | ||
reporterEnabled: REPORTER_CONSTANTS.REPORTERS_ENABLED(), | ||
allureMochaReporterOptions: { | ||
resultsDir: '.allure-results' | ||
}, | ||
reportportalAgentJsMochaReporterOptions: { | ||
apiKey: REPORTER_CONSTANTS.RP_API_KEY, | ||
endpoint: REPORTER_CONSTANTS.RP_ENDPOINT(), | ||
project: REPORTER_CONSTANTS.RP_PROJECT(), | ||
launch: `${REPORTER_CONSTANTS.RP_LAUNCH_NAME}`, | ||
attributes: [ | ||
{ | ||
key: 'build', | ||
value: `${BASE_TEST_CONSTANTS.TESTING_APPLICATION_VERSION}` | ||
}, | ||
{ | ||
key: 'ocp version', | ||
value: `${BASE_TEST_CONSTANTS.OCP_VERSION}` | ||
}, | ||
{ | ||
key: 'ocp infra', | ||
value: `${BASE_TEST_CONSTANTS.OCP_INFRA}` | ||
}, | ||
{ | ||
key: 'application', | ||
value: BASE_TEST_CONSTANTS.TESTING_APPLICATION_NAME() | ||
}, | ||
{ | ||
key: 'url', | ||
value: BASE_TEST_CONSTANTS.TS_SELENIUM_BASE_URL | ||
} | ||
], | ||
rerun: REPORTER_CONSTANTS.RP_RERUN(), | ||
rerunOf: REPORTER_CONSTANTS.RP_RERUN_UUID, | ||
restClientConfig: { | ||
timeout: 1200000 | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.