File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
acceptance-test/src/main/java/io/quarkus/code/testing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments