mirror of
https://github.com/github/awesome-copilot.git
synced 2026-04-11 02:35:55 +00:00
Update cookbook/copilot-sdk/java/recipe/AccessibilityReport.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -98,7 +98,8 @@ public class AccessibilityReport {
|
|||||||
|
|
||||||
// Prompt user for test generation
|
// Prompt user for test generation
|
||||||
System.out.print("Would you like to generate Playwright accessibility tests? (y/n): ");
|
System.out.print("Would you like to generate Playwright accessibility tests? (y/n): ");
|
||||||
String generateTests = reader.readLine().trim();
|
String generateTestsLine = reader.readLine();
|
||||||
|
String generateTests = generateTestsLine == null ? "" : generateTestsLine.trim();
|
||||||
|
|
||||||
if (generateTests.equalsIgnoreCase("y") || generateTests.equalsIgnoreCase("yes")) {
|
if (generateTests.equalsIgnoreCase("y") || generateTests.equalsIgnoreCase("yes")) {
|
||||||
var testLatch = new CountDownLatch(1);
|
var testLatch = new CountDownLatch(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user