E2Eテストの拡充 #2216
Annotations
4 errors, 2 warnings, and 1 notice
Run to E2E testing:
e2e-tests/test/admin/products/upload_csv_category.test.ts#L13
1) [chromium] › test/admin/products/upload_csv_category.test.ts:8:7 › カテゴリ登録CSV画面のテストをします › カテゴリ登録CSV画面のテストをします
Error: ENOENT: no such file or directory, stat '/home/runner/work/ec-cube2/ec-cube2/tests/new_category.csv'
11 | await page.locator('input[name=csv_file]').click();
12 | const fileChooser = await fileChooserPromise;
> 13 | await fileChooser.setFiles(path.join(__dirname, '..', '..', '..', '..', 'tests', 'new_category.csv'));
| ^
14 | await page.getByRole('link', { name: 'この内容で登録する' }).click();
15 | await expect(page.getByText('CSV登録を実行しました。')).toBeVisible();
16 | await expect(page.getByText('CSVアップロードカテゴリ')).toBeVisible();
at /home/runner/work/ec-cube2/ec-cube2/e2e-tests/test/admin/products/upload_csv_category.test.ts:13:5
|
Run to E2E testing:
e2e-tests/test/admin/products/upload_csv_category.test.ts#L13
1) [chromium] › test/admin/products/upload_csv_category.test.ts:8:7 › カテゴリ登録CSV画面のテストをします › カテゴリ登録CSV画面のテストをします
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: ENOENT: no such file or directory, stat '/home/runner/work/ec-cube2/ec-cube2/tests/new_category.csv'
11 | await page.locator('input[name=csv_file]').click();
12 | const fileChooser = await fileChooserPromise;
> 13 | await fileChooser.setFiles(path.join(__dirname, '..', '..', '..', '..', 'tests', 'new_category.csv'));
| ^
14 | await page.getByRole('link', { name: 'この内容で登録する' }).click();
15 | await expect(page.getByText('CSV登録を実行しました。')).toBeVisible();
16 | await expect(page.getByText('CSVアップロードカテゴリ')).toBeVisible();
at /home/runner/work/ec-cube2/ec-cube2/e2e-tests/test/admin/products/upload_csv_category.test.ts:13:5
|
Run to E2E testing:
e2e-tests/test/admin/products/upload_csv_category.test.ts#L13
1) [chromium] › test/admin/products/upload_csv_category.test.ts:8:7 › カテゴリ登録CSV画面のテストをします › カテゴリ登録CSV画面のテストをします
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: ENOENT: no such file or directory, stat '/home/runner/work/ec-cube2/ec-cube2/tests/new_category.csv'
11 | await page.locator('input[name=csv_file]').click();
12 | const fileChooser = await fileChooserPromise;
> 13 | await fileChooser.setFiles(path.join(__dirname, '..', '..', '..', '..', 'tests', 'new_category.csv'));
| ^
14 | await page.getByRole('link', { name: 'この内容で登録する' }).click();
15 | await expect(page.getByText('CSV登録を実行しました。')).toBeVisible();
16 | await expect(page.getByText('CSVアップロードカテゴリ')).toBeVisible();
at /home/runner/work/ec-cube2/ec-cube2/e2e-tests/test/admin/products/upload_csv_category.test.ts:13:5
|
Run to E2E testing
Process completed with exit code 1.
|
Run to E2E testing:
[chromium] › test/admin/total/total.test.ts#L1
[chromium] › test/admin/total/total.test.ts took 59.0s
|
Run to E2E testing:
[chromium] › test/admin/products/index.test.ts#L1
[chromium] › test/admin/products/index.test.ts took 39.7s
|
Run to E2E testing
1 failed
[chromium] › test/admin/products/upload_csv_category.test.ts:8:7 › カテゴリ登録CSV画面のテストをします › カテゴリ登録CSV画面のテストをします
80 passed (3.8m)
|
Loading