Update test-new-features.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
60545b9cd1
commit
ddf8d4bafc
@ -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`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user