Repository navigation
Tags
Tags
fix(typescript): map step line/column back to .ts source via inline s… …ourcemaps (#5782) * fix(typescript): map step line/column back to .ts source via inline sourcemaps * chore: drop unused regexp-tree; return null on invalid file URLs in stack frame mapping --------- Co-authored-by: Denys Kuchma <den.kuchma@ukr.net>
feat(helpers): acting CDP helpers, HelperCapabilities type, ARIA snap… …shots for CDP and Puppeteer (#5749) * feat(helpers): acting CDP helpers, HelperCapabilities, ARIA snapshots for CDP and Puppeteer - Add Obscura and Lightpanda to Container.STANDARD_ACTING_HELPERS so aiTrace, pageInfo, Decision, screenshot, pause and heal find them - Fix aiTrace crashing container creation via missing output.warn - Add CodeceptJS.HelperCapabilities type (screenshot, video, trace, aria + CDP-detected layout/xpath/innerText); Playwright, Puppeteer, WebDriver and CDPBrowser declare this.capabilities - Add grabAriaSnapshot to CDPBrowser (Accessibility.getFullAXTree) and Puppeteer (page.accessibility.snapshot), rendered in Playwright's ARIA snapshot format by lib/aria.js - Skip screenshots / ARIA in screenshot plugin, aiTrace and Decision when the helper declares the capability false - CDPBrowser screenshots resolve paths via screenshotOutputFolder so absolute paths from aiTrace work Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(webapi): cover grabAriaSnapshot across helpers; honor elementIndex in CDP snapshot Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(aria): render accessibility trees as-is instead of mimicking Playwright Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: DavertMik <davert@testomat.io> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
feat(CDPBrowser): detect render/no-render engines, add CDP timing met… …rics (#5748) * feat(CDPBrowser): detect render/no-render engines, add CDP timing metrics - Detect layout support with a stylesheet probe: Obscura 0.2.x no-render builds ignore stylesheet rules and were misdetected as layout+screenshot capable. Print the detected engine once per run. - Time every CDP command; DEBUG=codeceptjs:cdp prints per-call durations and a per-method summary when the connection closes. - Reuse the page text from a failed see() for the error message instead of walking the whole page a second time. - Skip role-locator visibility tests on engines without layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(CDPBrowser): move layout probe to clientscripts, simplify CDP timing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: DavertMik <davert@testomat.io> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
feat(ts): improve hook types (Background/Before/After/BeforeSuite/Aft… …erSuite) (#5743) also, introduce hook aliases global.GherkinBefore and global.GherkinAfter because gherkin hooks types are incompatible with mocha global.Before and global.After Co-authored-by: netoctone <netoctone.npm@gmail.com>
PreviousNext