CodeceptJS v3.0.3 Release Notes
-
- ๐ Playwright 1.7 support
- ๐ [Playwright] Fixed handling null context in click. See #2667 by @matthewjf
- ๐ [Playwright] Fixed
Cannot read property '$$' of null
when locating elements. See #2713 by @matthewjf - Command
npx codeceptjs init
improved- auto-installing required packages
- better error messages
- fixed generating type definitions
- ๐ Data Driven Tests improvements: instead of having one skipped test for data driven scenarios when using xData you get a skipped test for each entry in the data table. See #2698 by @Georgegriff
- ๐ [Puppeteer] Fixed that
waitForFunction
was not working with number values. See #2703 by @MumblesNZ - Enabled autocompletion for custom helpers. #2695 by @PeterNgTr
- โ Emit test.after on workers. Fix #2693 by @jccguimaraes
- ๐ TypeScript: Allow .ts config files. See #2708 by @elukoyanov
- ๐ Fixed definitions generation errors by @elukoyanov. See #2707 and #2718
- ๐ Fixed handing error in _after function; for example, browser is closed during test and tests executions is stopped, but error was not logged. See #2715 by @elukoyanov
- ๐ท Emit hook.failed in workers. Fix #2723 by @jccguimaraes
- ๐ [wdio plugin] Added
seleniumArgs
andseleniumInstallArgs
config options for plugin. See #2687 by @andrerleao - ๐ [allure plugin] Added
addParameter
method in #2717 by @jancorvus. Fixes #2716 - โ Added mocha-based
--reporter-options
and--reporter <name>
commands torun-workers
command by in #2691 @Ameterezu - ๐ Fixed infinite loop for junit reports. See #2691 @Ameterezu
- โ Added status, start/end time, and match line for BDD steps. See #2678 by @ktryniszewski-mdsol
- ๐ [stepByStepReport plugin] Fixed "helper.saveScreenshot is not a function". Fix #2688 by @andrerleao