File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
client/src/components/DatasetInformation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ describe("DatasetError", () => {
102102 } ) ;
103103
104104 it ( "hides form fields and button on success" , async ( ) => {
105- const wrapper = await montDatasetError ( ) ;
105+ const wrapper = await montDatasetError ( false , false , "test_email" ) ;
106106
107107 server . use (
108108 http . post ( "/api/jobs/{job_id}/error" , ( { response } ) => {
@@ -112,10 +112,10 @@ describe("DatasetError", () => {
112112 } )
113113 ) ;
114114
115- const FormAndSubmitButton = "#dataset -error-form" ;
115+ const FormAndSubmitButton = "#data -error-form" ;
116116 expect ( wrapper . find ( FormAndSubmitButton ) . exists ( ) ) . toBe ( true ) ;
117117
118- const submitButton = "#dataset -error-submit" ;
118+ const submitButton = "#data -error-submit" ;
119119 expect ( wrapper . find ( submitButton ) . exists ( ) ) . toBe ( true ) ;
120120
121121 await wrapper . find ( submitButton ) . trigger ( "click" ) ;
You can’t perform that action at this time.
0 commit comments