Repository navigation
Use the CodeceptJS .at(N) chain for element selection - #306
Conversation
Explorbot Self-RegressionCommit
Change compares it with the median passing time of the last 5 runs; ±20% or more is flagged. Run details
Session analysis — basic (native): Session AnalysisThe core issue lifecycle works: a created issue appears in the list with the entered values, and the detail page matches its list row. Delete and empty-title validation could not be confirmed because the action log is missing steps the test notes claim. Coverage
What works
Execution Issues
Session analysis — slow (native): Session AnalysisIssue creation from the toolbar works end to end: a new issue appears in the list with its entered title, and the heading count updates. Status and priority values were not set by the scenario, so the status check confirmed only the default. Coverage
What works
DefectsNone found. UX issuesNone observed. Execution Issues
Session analysis — gated (native): Session AnalysisIssue creation from the Issues toolbar was attempted once, and the run notes report the new issue in the table with the count rising by one. The log has no assertion step backing those claims, so the result is unverified. Coverage
Execution Issues
|
Summary
Aligns explorbot with codeceptjs#5788 (merged into 4.x, shipped in codeceptjs@4.2.4): step options now chain to the action itself.
src/ai/rules.ts), theclicktool description and every failure suggestion (src/ai/tools.ts), and the Pilot'sMultipleElementsFoundguidance (src/ai/pilot.ts) now teach.at(N)instead ofstep.opts({ elementIndex: N })..at(N)maps 1:1 toelementIndex(1-based, negatives count from the end), so the "Element N" lists keep their numbering.src/action.ts) — steps that ran withelementIndexare rendered asI.click("Manual").at(2); this is what the AI sees in tool results and what the historian saves, so generated tests use the modern syntax. Other step options keep thestep.opts(...)argument form.codeceptjs^4.2.0 → ^4.2.4 (bun installalso refreshed a stale node_modules pinned at 4.0.0-rc.16, where the chain API does not exist).