Repository navigation
What's new
Clearer errors when a case or a step is wrong, and one security fix. Thanks to @abedinm, @RajGahoi and @badrisatyam1-ctrl, who sent every change in this release.
- Security: a
gotopath with a control character (a tab, a line break or anything below U+0020) is refused when the case is read, because the URL parser drops those and"/\t/evil.com"would load another host. Agotowhose URL leaves the origin of--urlnow throws as well (#56 by @abedinm). - A step on a disabled, hidden or covered element says so (
the target is disabled,the target is not visible,the target is covered by another element) instead ofTimeout 5000ms exceeded, and aselectof a disabled option fails at once (#60 by @abedinm). - A refused target says what is wrong with it: an unknown key, a missing
role, an emptyname, anindexbelow 1, or a problem insidewithin(#49 by @RajGahoi, also proposed in #51 by @badrisatyam1-ctrl). - A target that matches more than one element lists the names found and says to add a
name, anindexor awithintarget (#57 by @abedinm). - Cases are checked harder when they are read: a step key its action does not take (#55 by @badrisatyam1-ctrl), a
presskey Playwright does not know (#59 by @abedinm), a case folder withoutcase.jsonand a loose.jsonfile in a suite folder (#54 by @abedinm). replayandgatename the recording file that is not valid JSON, without printing its text (#50 by @RajGahoi, with the typed lock read from #52 by @badrisatyam1-ctrl).- The noise entry errors and the reference mention
"keep": false(#61 by @abedinm), andllms.txtand the reference list the optionsreplayandgatetake (#58 by @abedinm).
The full list is in CHANGELOG.md.
Install
npm i -D angular-anythingFull changes: v0.3.0...v0.3.1