From aee48b6229d67aff3929f4c03442cf40b9bbc69d Mon Sep 17 00:00:00 2001 From: Mathijn Elhorst Date: Fri, 22 Dec 2023 10:23:01 +0100 Subject: [PATCH] show action details and release alpha --- package.json | 2 +- src/goaldriventest.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 50d8daa..0d8ae4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "goaldriventest", - "version": "0.0.1", + "version": "1.0.0-alpha", "description": "Ask AI to test your website with a specific goal", "parserOptions": { "sourceType": "module" diff --git a/src/goaldriventest.ts b/src/goaldriventest.ts index 212c9ae..de4961b 100644 --- a/src/goaldriventest.ts +++ b/src/goaldriventest.ts @@ -282,7 +282,7 @@ async function main() { if (step !== 0) { console.log(`Expectation satisfied: ${jsonObject.expectationSatisfied} Frustration level: ${jsonObject.frustrationLevel}`); } - console.log(`Taking action: ${actionResult}`); + console.log(`Taking action: ${actionResult} (translated from command: ${JSON.stringify(jsonObject.action)})`); console.log(`Expectation: ${jsonObject.expectation}`); await new Promise((resolve) => setTimeout(resolve, BROWSER_DELAY_MSECS),