Skip to content

Commit db7c7e8

Browse files
DavertMikclaude
andcommitted
test(codeceptq): bump describe timeout to 30s for CI
The 'Sign up' --click case on github.html (2k-line fixture, 12-branch semantic union XPath) takes ~8s locally and exceeds the default 10s mocha timeout on slower CI runners. Suite-level timeout matches what the local runs already use. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8ae2869 commit db7c7e8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/runner/codeceptq_test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ const runWithStdin = (args, html) => {
4545
// For long snippets, assert first 50 chars only.
4646
const head = matches => matches.map(m => ({ line: m.line, snippet: m.snippet.slice(0, 50) }))
4747

48-
describe('codeceptq', () => {
48+
describe('codeceptq', function () {
49+
// Each test spawns a node process; the github.html semantic-click case
50+
// chews ~8s locally, so give the suite headroom over the default 10s.
51+
this.timeout(30000)
52+
4953
describe('XPath locators', () => {
5054
it('.//input — finds every input on checkout.html', async () => {
5155
const { parsed, code } = await runJson(`'.//input' --file ${checkoutHtml}`)

0 commit comments

Comments
 (0)