@@ -73,27 +73,27 @@ def upload_files(self):
7373 self .page .wait_for_load_state ("networkidle" )
7474 file_chooser = fc_info .value
7575 current_working_dir = os .getcwd ()
76- file_path1 = os .path .join (current_working_dir , "testdata/valid_files /q1_informix.sql" )
77- file_path2 = os .path .join (current_working_dir , "testdata/valid_files /f1.sql" )
78- file_path3 = os .path .join (current_working_dir , "testdata/valid_files /f2.sql" )
76+ file_path1 = os .path .join (current_working_dir , "testdata/Valid_files /q1_informix.sql" )
77+ file_path2 = os .path .join (current_working_dir , "testdata/Valid_files /f1.sql" )
78+ file_path3 = os .path .join (current_working_dir , "testdata/Valid_files /f2.sql" )
7979 file_chooser .set_files ([file_path1 , file_path2 , file_path3 ])
8080 self .page .wait_for_timeout (10000 )
8181 self .page .wait_for_load_state ("networkidle" )
8282 expect (self .page .locator (self .SUCCESS_MSG )).to_be_visible ()
8383
8484 def upload_all_files (self ):
8585 """
86- Upload all files present in the testdata/valid_files folder.
86+ Upload all files present in the testdata/Valid_files folder.
8787 """
8888 with self .page .expect_file_chooser () as fc_info :
8989 self .page .locator (self .BROWSE_FILES ).click ()
9090 self .page .wait_for_timeout (5000 )
9191 self .page .wait_for_load_state ("networkidle" )
9292 file_chooser = fc_info .value
9393 current_working_dir = os .getcwd ()
94- testdata_dir = os .path .join (current_working_dir , "testdata/valid_files " )
94+ testdata_dir = os .path .join (current_working_dir , "testdata/Valid_files " )
9595
96- # Get all files from testdata/valid_files folder
96+ # Get all files from testdata/Valid_files folder
9797 all_files = []
9898 if os .path .exists (testdata_dir ) and os .path .isdir (testdata_dir ):
9999 for filename in os .listdir (testdata_dir ):
0 commit comments