10 Commits

Author SHA1 Message Date
Dmitry Gozman
49337890d2
docs: improve documentation for assertions and test config (#9890) 2021-10-29 15:25:52 -07:00
Kenneth Lum
a72930a7bb
docs: add the general rule to expect the opposite of the matchers (#9772) 2021-10-28 08:35:35 -07:00
Yury Semikhatsky
ddb70a6d35
docs(expect): default timeout (#9658) 2021-10-20 12:06:02 -07:00
Yury Semikhatsky
2a2a3d2ed9
docs(expect): group locator methods, remove extra > (#9625) 2021-10-19 13:54:26 -07:00
Dmitry Gozman
8dc8777ab4
feat(expect): toContainText(array) (#9160)
This matches when each expected item from the array
is matched to one of the resolved elements, in order.
Note this performs both "sub-array" and "substring" matching.

Drive-by: documentation fixes.
Drive-by: added "selector resolved to 3 elements" log line
when expecting arrays.
2021-09-27 11:14:35 -07:00
Dmitry Gozman
620712a5d9
feat(expect): support array of RegExp objects in toHaveText/toHaveClass (#8667) 2021-09-02 15:48:04 -07:00
Andrey Lushnikov
8dbec497a8
docs: fix random typos (#8179) 2021-08-13 08:59:38 -07:00
Pavel Feldman
290f601dae
feat(expect): introduce explicit default async expect timeout (#8071) 2021-08-07 22:08:56 -07:00
Pavel Feldman
3424f59e67
chore(expect): polish matcher names, remote arguable ones (#8060) 2021-08-06 16:58:42 -07:00
Pavel Feldman
79e8592146
docs: refresh getting started docs (#8054) 2021-08-06 14:02:41 -07:00