Skip to content

Commit 3168a25

Browse files
committed
Fix acceptance-test
1 parent ed5cf9a commit 3168a25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

acceptance-test/src/main/java/io/quarkus/code/testing/AcceptanceTestApp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class AcceptanceTestApp implements QuarkusApplication {
3333
private static final Logger LOG = LoggerFactory.getLogger(AcceptanceTestApp.class);
3434

3535
private static final String GENERATE_YOUR_APPLICATION_TEXT = "generate your application";
36-
private static final String DOWNLOAD_ZIP_TEXT = "download the zip";
36+
public static final String LABEL_DOWNLOAD_THE_ZIP = "[aria-label='Download the zip']";
3737
private static final int DEFAULT_MIN_EXTENSIONS = 50;
3838
private static final int DEFAULT_MIN_STREAMS = 1;
3939

@@ -113,7 +113,7 @@ public int run(String... args) throws Exception {
113113
LOG.info("Click on generate button");
114114
generateButton.click();
115115

116-
final ElementHandle downloadButton = page.waitForSelector(".download-button");
116+
final ElementHandle downloadButton = page.waitForSelector(LABEL_DOWNLOAD_THE_ZIP);
117117

118118
LOG.info("Click on download button");
119119
downloadButton.click();

0 commit comments

Comments
 (0)