Skip to content

Commit 1302418

Browse files
corrected the folder name
1 parent dcf47d3 commit 1302418

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/e2e-test/pages/HomePage.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,27 +62,27 @@ def upload_files(self):
6262
self.page.wait_for_load_state("networkidle")
6363
file_chooser = fc_info.value
6464
current_working_dir = os.getcwd()
65-
file_path1 = os.path.join(current_working_dir, "testdata/valid_files/q1_informix.sql")
66-
file_path2 = os.path.join(current_working_dir, "testdata/valid_files/f1.sql")
67-
file_path3 = os.path.join(current_working_dir, "testdata/valid_files/f2.sql")
65+
file_path1 = os.path.join(current_working_dir, "testdata/Valid_files/q1_informix.sql")
66+
file_path2 = os.path.join(current_working_dir, "testdata/Valid_files/f1.sql")
67+
file_path3 = os.path.join(current_working_dir, "testdata/Valid_files/f2.sql")
6868
file_chooser.set_files([file_path1, file_path2, file_path3])
6969
self.page.wait_for_timeout(10000)
7070
self.page.wait_for_load_state("networkidle")
7171
expect(self.page.locator(self.SUCCESS_MSG)).to_be_visible()
7272

7373
def upload_all_files(self):
7474
"""
75-
Upload all files present in the testdata/valid_files folder.
75+
Upload all files present in the testdata/Valid_files folder.
7676
"""
7777
with self.page.expect_file_chooser() as fc_info:
7878
self.page.locator(self.BROWSE_FILES).click()
7979
self.page.wait_for_timeout(5000)
8080
self.page.wait_for_load_state("networkidle")
8181
file_chooser = fc_info.value
8282
current_working_dir = os.getcwd()
83-
testdata_dir = os.path.join(current_working_dir, "testdata/valid_files")
83+
testdata_dir = os.path.join(current_working_dir, "testdata/Valid_files")
8484

85-
# Get all files from testdata/valid_files folder
85+
# Get all files from testdata/Valid_files folder
8686
all_files = []
8787
if os.path.exists(testdata_dir) and os.path.isdir(testdata_dir):
8888
for filename in os.listdir(testdata_dir):

0 commit comments

Comments
 (0)