@@ -60,22 +60,20 @@ test("Start Diagnostic button can be clicked", async (t) => {
60
60
. click ( elements . startDiagnosticButton ) ;
61
61
} ) ;
62
62
63
- // TODO: Fix test failing sporadically on GitHub Actions
64
-
65
- // test("Download button exists after Diagnostic is completed", async (t) => {
66
- // const downloadExists = elements.downloadButton.exists;
67
- // await t
68
- // .navigateTo("http://localhost:9090/support/diagnostics")
69
- // .click(elements.startDiagnosticButton)
70
- // .expect(downloadExists).ok();
71
- // });
63
+ test ( "Download button exists after Diagnostic is completed" , async ( t ) => {
64
+ const downloadExists = elements . downloadButton . exists ;
65
+ await t
66
+ . navigateTo ( "http://localhost:9090/support/diagnostics" )
67
+ . click ( elements . startDiagnosticButton )
68
+ . expect ( downloadExists ) . ok ( ) ;
69
+ } ) ;
72
70
73
- // test("Download button is clickable after Diagnostic is completed", async (t) => {
74
- // await t
75
- // .navigateTo("http://localhost:9090/support/diagnostics")
76
- // .click(elements.startDiagnosticButton)
77
- // .click(elements.downloadButton);
78
- // });
71
+ test ( "Download button is clickable after Diagnostic is completed" , async ( t ) => {
72
+ await t
73
+ . navigateTo ( "http://localhost:9090/support/diagnostics" )
74
+ . click ( elements . startDiagnosticButton )
75
+ . click ( elements . downloadButton ) ;
76
+ } ) ;
79
77
80
78
test ( "Start New Diagnostic button exists after Diagnostic is completed" , async ( t ) => {
81
79
const startNewDiagnosticButtonExists =
0 commit comments