@auto-wiz/playwright 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/runner.js +6 -1
  2. package/package.json +2 -2
package/dist/runner.js CHANGED
@@ -33,6 +33,10 @@ class PlaywrightFlowRunner {
33
33
  }
34
34
  for (const [index, step] of flow.steps.entries()) {
35
35
  try {
36
+ // Step delay for debugging
37
+ if (options.stepDelay && index > 0) {
38
+ await page.waitForTimeout(options.stepDelay);
39
+ }
36
40
  const result = await this.runStep(step, page, options);
37
41
  if (!result.success) {
38
42
  // Playwright usually throws, but if we catch it:
@@ -76,7 +80,8 @@ class PlaywrightFlowRunner {
76
80
  }
77
81
  case "type": {
78
82
  const locator = await this.resolveLocator(page, step, timeout);
79
- const rawText = step.text || step.originalText || "";
83
+ // originalText가 실제 값, text 마스킹된
84
+ const rawText = step.originalText || step.text || "";
80
85
  const text = this.resolveText(rawText, options.variables);
81
86
  await locator.fill(text, { timeout });
82
87
  if (step.submit) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auto-wiz/playwright",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "license": "MIT",
5
5
  "author": "JaeSang",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "devDependencies": {
32
32
  "typescript": "^5.0.0",
33
33
  "@types/node": "^20.0.0",
34
- "@auto-wiz/core": "1.2.1"
34
+ "@auto-wiz/core": "1.2.2"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "tsc"