-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2aff81
commit 172df44
Showing
7 changed files
with
91 additions
and
4 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 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,19 @@ | ||
diff --git a/node_modules/codeceptjs/lib/command/workers/runTests.js b/node_modules/codeceptjs/lib/command/workers/runTests.js | ||
index 430a7b4..b47593d 100644 | ||
--- a/node_modules/codeceptjs/lib/command/workers/runTests.js | ||
+++ b/node_modules/codeceptjs/lib/command/workers/runTests.js | ||
@@ -141,6 +141,14 @@ function initializeListeners() { | ||
const _steps = []; | ||
|
||
for (step of steps) { | ||
+ const _args = []; | ||
+ | ||
+ if (step.args) { | ||
+ for (const arg of step.args) { | ||
+ arg && arg.$_root ? _args.push(JSON.stringify(arg).slice(0, 300)) : _args.push(arg); | ||
+ } | ||
+ } | ||
+ | ||
_steps.push({ | ||
actor: step.actor, | ||
name: step.name, |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/// <reference types='codeceptjs' /> | ||
|
||
|
||
declare namespace CodeceptJS { | ||
interface SupportObject { I: I, current: any } | ||
interface Methods extends Playwright, JSONResponse, REST {} | ||
interface I extends WithTranslation<Methods> {} | ||
namespace Translation { | ||
interface Actions {} | ||
} | ||
} |