From ddf8d4bafc9ac3584cc7158b429da598cd5089f0 Mon Sep 17 00:00:00 2001 From: Steven Mosley <34114851+AstroSteveo@users.noreply.github.com> Date: Mon, 22 Sep 2025 05:54:27 -0500 Subject: [PATCH] Update test-new-features.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- test-new-features.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-new-features.js b/test-new-features.js index 78b8257..8c2a9c7 100755 --- a/test-new-features.js +++ b/test-new-features.js @@ -180,7 +180,8 @@ async function runTests() { // Double-check with list command const listResult = await runCommand(`node awesome-copilot.js list prompts --config ${TEST_CONFIG}`); - assert(listResult.stdout.includes('playwright-generate-test (explicit)') && !listResult.stdout.includes('[✓] playwright-generate-test'), 'Should remain explicitly disabled'); + assert(listResult.stdout.includes('playwright-generate-test (explicit)'), "'playwright-generate-test (explicit)' should be present in the list output"); + assert(!listResult.stdout.includes('[✓] playwright-generate-test'), "'[✓] playwright-generate-test' should NOT be present in the list output (should remain explicitly disabled)"); }); console.log(`\nNew Features Test Results: ${passedTests}/${totalTests} passed`);