Repository navigation
Minor. One change reaches a run that changes nothing: a native confirm(), alert() or prompt()
is no longer answered "Cancel" unseen, so a step that passed only because a dialog was dismissed
for it now meets the dialog and must answer it. The reports gain a line for a step that passed only
after a failed attempt; the verdict and the score do not change.
Added
-
A step that passed only after a failed attempt is reported
(#78). A step whose action failed or was refused,
whose check failed on the settled page, or that the agent declared done before it was, and that
then passed read exactly like one that worked as written. In #78, a link to/loginlanded on the home page, the agent reached the form through
the menu, and the report said Score 100. The summary now lists such steps after the failures,
with what went wrong first; JUnit counts them inrecovered_stepsand puts the lines in the test
case's<system-out>; the HTML report labels the step. The verdict and the score do not change. -
Native
alert,confirmandpromptdialogs are shown to the agent and answered by it
(#22). Before, Playwright dismissed every one
unseen, so a button guarded byconfirm()never did what it guarded and the step failed with a
reason about the page. While a dialog is open the snapshot is the dialog, with its message and
buttons, and the agent clicks the one the step calls for (OK,Cancel, or for a page asking to
leave,LeaveorStay); aprompttakes afillfirst. No new action: the ref, value and
replay rules hold for these clicks as for any other. A check answers only analert. A dialog
opened by a frame outside the allowed origins is dismissed unseen, with one warning per origin.