Update test-new-features.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Steven Mosley 2025-09-22 05:54:27 -05:00 committed by GitHub
parent 60545b9cd1
commit ddf8d4bafc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -180,7 +180,8 @@ async function runTests() {
// Double-check with list command // Double-check with list command
const listResult = await runCommand(`node awesome-copilot.js list prompts --config ${TEST_CONFIG}`); 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`); console.log(`\nNew Features Test Results: ${passedTests}/${totalTests} passed`);