Skip to content

Commit 8944710

Browse files
committed
fix
1 parent e9e7dbb commit 8944710

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/e2e/tests/regression/workbench/import-tutorials.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,20 +180,20 @@ test
180180
await t.expect(workbenchPage.scrolledEnablementArea.visible).ok('Enablement area is not visible after clicked');
181181

182182
// Verify that user can bulk upload data by relative path
183-
await t.click(workbenchPage.uploadDataBulkBtn.withExactText('Upload relative'));
183+
await t.click(workbenchPage.uploadDataBulkBtn.withText('Upload relative'));
184184
await t.click(workbenchPage.uploadDataBulkApplyBtn);
185185
// Verify that user can see the summary when the command execution is completed
186186
await verifyCompletedResultText(allKeysResults);
187187

188188
// Verify that user can bulk upload data by absolute path
189-
await t.click(workbenchPage.uploadDataBulkBtn.withExactText('Upload absolute'));
189+
await t.click(workbenchPage.uploadDataBulkBtn.withText('Upload absolute'));
190190
await t.click(workbenchPage.uploadDataBulkApplyBtn);
191191
await verifyCompletedResultText(absolutePathResults);
192192

193193
// Verify that user can't upload file by invalid relative path
194194
// Verify that user can't upload file by invalid absolute path
195195
for (const path of invalidPathes) {
196-
await t.click(workbenchPage.uploadDataBulkBtn.withExactText(path));
196+
await t.click(workbenchPage.uploadDataBulkBtn.withText(path));
197197
await t.click(workbenchPage.uploadDataBulkApplyBtn);
198198
// Verify that user can see standard error messages when any error occurs while finding the file or parsing it
199199
await t.expect(workbenchPage.Toast.toastError.textContent).contains('Data file was not found', 'Bulk upload not failed');

0 commit comments

Comments
 (0)