Skip to content

Commit e1d44ea

Browse files
authored
Merge branch 'playwright-tests' into copilot/add-network-logging-debugging
2 parents 152316e + e918980 commit e1d44ea

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/e2e/create_case.spec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ test('create new case from sample.step', async ({ page }) => {
6868

6969
throw error;
7070
}
71+
await page.setInputFiles('#cad', sampleFile);
72+
73+
// Wait for the file to be processed and preview to be shown
74+
await expect(page.locator('#cad_preview')).toBeVisible({ timeout: 30000 });
7175

7276
// 3. Select "Solid mechanics" in the combo box for physics
7377
await page.selectOption('#physics', 'solid');
@@ -79,6 +83,7 @@ test('create new case from sample.step', async ({ page }) => {
7983
await page.selectOption('#solver', 'feenox');
8084

8185
// 6. Select "Gmsh" in the combo box for mesher
86+
// 6. Select "Gmsh" in thecombo box for mesher
8287
await page.selectOption('#mesher', 'gmsh');
8388

8489
// Verify start button is enabled before clicking

0 commit comments

Comments
 (0)