Skip to content

Release 8.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Oct 16:08
· 13 commits to main since this release
  • ci: release v8 from main on latest, alphas on next (#2386) (5148723)
  • fix(types)!: the helper types are not global, only the ExpectWebdriverIO namespace and 2 WebdriverIO aliases (#2385) (4347247)
  • docs: bring the docs and the migration guide up to date with the changes since 8.0.0-alpha.3 (#2384) (e841102)
  • fix: the failure message shows the arguments of a custom$$() or react$$() query (#2382) (5ea663e)
  • fix: a list matcher for one instance of a multi-remote $$() compares the list of that instance (#2381) (a84750d)
  • fix!: a list matcher as the expected value of one element throws an error (#2380) (d2d21fa)
  • feat: toHaveWindowCount checks the number of windows of the session (#2378) (11ebdba)
  • feat: toBeRequired and toBeReadOnly check a form field (#2379) (3d088ad)
  • fix!: a list matcher with some() throws an error, as on one element (#2376) (b6ed366)
  • feat: toHaveSessionStorageItem checks an item of the session storage and its value (#2377) (3681691)
  • test: run the default-wait tests of toHaveText and toBeDisplayed on fake timers (#2375) (469be7d)
  • fix!: a missing attribute or property never matches, and shows no attribute or no property (#2373) (7a03bcc)
  • test: the multi-remote playground starts half the workers on the Windows CI runner (#2374) (03f415a)
  • refactor: the browser factory makes toHaveLocalStorageItem and toHaveClipboardText (#2372) (dde642a)
  • fix: toHaveLocalStorageItem gives the hooks the value of the user, and shows a missing item as no item (#2371) (a6e1d84)
  • feat: toHaveCookie checks a cookie of the browser and its value (#2370) (86c2a29)
  • feat: toHaveTagName checks the tag name of an element (#2369) (85c8ce2)
  • feat: toBeStable checks that an element does not move (#2368) (b7b2b6e)
  • test: run the refresh tests of toBeElementsArrayOfSize and toHaveText on fake timers (#2367) (14c73b0)
  • refactor: the factory makes the size matchers from their descriptors (#2366) (53f7ee0)
  • refactor: the factory makes the property matchers from their descriptors (#2365) (f4a895a)
  • refactor: the factory makes the attribute matchers from their descriptors (#2364) (694b6e0)
  • fix: toHaveSize compares the list of sizes, and toHaveStyle throws, with a list matcher (#2363) (4b1cf90)
  • fix: the hooks of toHaveValue and toHaveElementProperty get no internal argument (#2362) (ec170d5)
  • build: delete the Vitest type test cache before each type test project (#2357) (c622ec6)
  • test: the golden master records the attribute, property, size and style matchers (#2360) (d75cc31)
  • test: run the delay tests of the $() mock on fake timers (#2361) (143b8d7)
  • docs: use the snapshot matchers without the WebdriverIO testrunner (#2359) (ab98e85)
  • refactor: remove the out-of-date TODOs and 2 type casts (#2358) (9850730)
  • refactor: the factory makes the boolean matchers from their descriptors (#2356) (1410062)
  • docs: add the missing v8 changes to the migration guide (#2355) (cc085bc)
  • refactor: a factory makes the string getter matchers from their descriptors (#2354) (359b850)
  • fix: the element matchers align the hook value and the message of an empty $$() (#2353) (9b46d5c)
  • test: a golden master records the behavior of the getter matchers (#2352) (6b88dd0)
  • feat: asymmetric matchers in the number matchers, e.g. expect.closeTo() (#2351) (0fe12e1)
  • refactor: the matchers and their compare functions share the type of each value type (#2350) (a6d1725)
  • test: each matcher of one value type compares the same way as its reference (#2349) (83e8e84)
  • fix!: align the compare functions: one position option, toHaveStyle as toHaveText, deep equality, oneOf with numbers (#2348) (e14aa32)
  • fix!: toHaveStyle trims the actual value only, as the other string matchers (#2347) (54483fc)
  • docs: agents keep the docs in sync with each change of behavior (#2346) (faeb627)
  • build: emit the public types from src/ instead of a hand-written file (#2338) (917eceb)
  • fix: throw on a list matcher on one element in every matcher with string values (#2344) (e62ff42)
  • feat: show the compared value in the diff of $$() and multi-remote values (#2343) (f35b665)
  • test: run the waitUntil tests on fake timers (#2345) (f95adb5)
  • feat: show the compared value after Received when the string options changed it (#2340) (f06ec14)
  • test: remove the skipped tests of matchers.test.ts (#2342) (58d9c26)
  • feat: show the string options in failure messages, and an element that passed as no difference (#2337) (8c370eb)
  • fix: show the actual value as is in toHaveAttribute and toHaveElementProperty (#2335) (4027cc4)
  • fix: with .not on $$(), highlight the elements that the matcher found matching (#2334) (eb3ade7)
  • feat: show every non-default string option of expect.oneOf() in failure messages (#2336) (17b198b)
  • test: import expect from src/ in the toHaveHTML tests (#2341) (64e6c91)
  • fix: compare the whole list with arrayOf and arrayWithExactContents on $$() (#2333) (66bd620)
  • refactor: extract the arrayContaining strategy of executeCommandWithStrategy (#2332) (2b21a17)
  • docs: give a Jest soft assertion setup that works (#2331) (12304b5)
  • test: merge the mocha and multi-remote-mocha playgrounds into one package (#2330) (41c0ca1)
  • refactor: remove the circular imports in src/ (#2329) (f9eabde)
  • fix: show the status code and the received headers in the toBeRequestedWith failure message (#2328) (688352d)
  • feat: one expected value per instance for the network matchers (#2327) (4c41600)
  • test: remove the left-overs of deprecations in the tests (#2326) (e5c675e)
  • fix!: compare each class in toHaveElementClass, and fail an array on $() (#2325) (a760fb6)
  • test: use fake timers in the refetch tests of toBeElementsArrayOfSize (#2323) (5756d18)
  • build(deps): bump handlebars from 4.7.9 to 4.7.10 in /playgrounds (#2322) (be55ea9)
  • build(deps): upgrade to WebdriverIO 10.0.2 and remove the pnpm patches (#2321) (5d1f0e8)
  • test: check the global wait option without measured time in the e2e test (#2320) (f2071b1)
  • feat(api): export the names of the matchers and asymmetric matchers (#2318) (e771e49)
  • fix!: compare URLs, sets, maps and binary data by their content (#2317) (428d5b0)
  • test(types): reject an explicit undefined or null expected value with… (#2316) (71c8796)
  • feat: support a WebdriverIO v10 browsing context in the browser matchers (#2314) (541e6ee)
  • feat!: reject an empty NumberMatcher and eq with a range at compile timez (#2315) (f6e736c)
  • fix: name the query of a multi-remote element list in failure messages (#2313) (863eca5)
  • refactor!: use the WebdriverIO v10 multi-remote types, and drop the v9 array of mocks (#2311) (581db9c)
  • build!: require TypeScript 6.0.3, and test a strict $() in the Mocha playground (#2312) (b405677)
  • feat!: remove the jasmine-wdio-expect-async types (#2306) (244333f)
  • build(deps): bump shell-quote from 1.10.0 to 1.12.0 (#2310) (9a51071)
  • build(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in the minor-deps-updates group (#2308) (7a920b9)
  • build(deps): bump the patch-deps-updates group with 3 updates (#2307) (efa999d)
  • refactor!: identify WebdriverIO objects by the wdio.kind brand (#2305) (49633d7)
  • refactor!: remove the multi-remote WebdriverIO v9 fallbacks (#2265) (5af6353)
  • build: upgrade @wdio/visual-service to 10.2.0 in the playgrounds (#2304) (6dbe006)
  • build: upgrade to WebdriverIO 10.0.0 (#2303) (aced1b8)