Skip to content

Commit

Permalink
tests: increase timeout for symbolic expression error test
Browse files Browse the repository at this point in the history
Firefox is consistently timing out on this test
  • Loading branch information
mgreminger committed Jan 7, 2025
1 parent 569a0a0 commit f6ca302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_symbolic_expression_error_handling.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ test('Test handling of symbolic expression error', async ({ page, browserName })

await page.locator('text=Updating...').waitFor({state: 'detached', timeout: pyodideLoadTimeout});

let content = await page.locator('#result-value-21').textContent();
let content = await page.locator('#result-value-21').textContent({timeout: 240000});

Check failure on line 14 in tests/test_symbolic_expression_error_handling.spec.mjs

View workflow job for this annotation

GitHub Actions / test

[firefox] › test_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error

5) [firefox] › test_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error Error: locator.textContent: Test timeout of 240000ms exceeded. Call log: - waiting for locator('#result-value-21') 12 | await page.locator('text=Updating...').waitFor({state: 'detached', timeout: pyodideLoadTimeout}); 13 | > 14 | let content = await page.locator('#result-value-21').textContent({timeout: 240000}); | ^ 15 | expect(parseLatexFloat(content)).toBeCloseTo(57168.5056551697, precision); 16 | }); 17 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_symbolic_expression_error_handling.spec.mjs:14:56
expect(parseLatexFloat(content)).toBeCloseTo(57168.5056551697, precision);
});

0 comments on commit f6ca302

Please sign in to comment.