Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo and masked sensitive info #21

Merged
merged 1 commit into from
Dec 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ module.exports = (config) => {

for (test of testTempIdArr) {
for (step of test.testSteps) {
const stepTitle = `[STEP] - ${step.actor} ${step.name} ${(step.args ? step.args.join(' ') : '')}`;
// typo would be fixed by https://github.com/codeceptjs/CodeceptJS/pull/4077
const stepArgs = step.agrs ? step.agrs : step.args
const stepTitle = stepArgs ? `[STEP] - ${step.actor} ${step.name} ${JSON.stringify(stepArgs.map(item => item._secret ? '*****' : item).join(' '))}` : `[STEP] - ${step.actor} ${step.name}`;

const stepObj = await startTestItem(launchObj.tempId, stepTitle, rp_STEP, test.testTempId);
stepObj.status = step.status || rp_PASSED;
await finishStepItem(stepObj);
Expand Down
Loading