🚀 Features
This is first stable release 2.0 which is expected to have 0 breaking changes with 1.6
- Full ESM support with backwards compatible CommonJS
You can either import or require reporter functions:
// inside TypeScript or JavaScript ESM
import { artifact, log, meta } from '@testomatio/reporter';
// inside CommonJS
const { artifact, log, meta } = require('@testomatio/reporter');
- Changed import in Playwright:
reporter: [
['list'],
[ '@testomatio/reporter/playwright'],
Backwards compatibility with
'@testomatio/reporter/lib/adapter/playwright.js'
kept
- Added
replay
command to re-send report for run. Requires that run was executed with DEBUG pipe enabled #553
DEBUG=1 npx playwright test
npx @testomatio/reporter replay
- Users can now configure the software to ignore file creation in XML mode by setting the
TESTOMATIO_IGNORE_NEW_TESTS
environment variable in #494 TESTOMATIO_SUITE
,TESTOMATIO_WORKDIR
env variables to specify root path for tests created from reporting #548- XML importing improvements testomatio/app#1298
- handling
<attachments><attachment>
to upload attachments testomatio/app#1293 (comment) - importing tags from
<property name="Category" value="tagName" />
(NUnit style) - importing test IDs with
<property name="ID" value="@T12345678" />
(NUnit style) testomatio/app#1289 - handling
skipped
andIgnored
annotations testomatio/app#1290 - fetch tests source code for NUnit tests testomatio/app#1294
- handling
🐛 Bug Fixes
• Color issue in Newman, enhances logging for better troubleshooting, and resolves an error that occurred when sending requests failed in #408
• The issue with playwright .fail
annotation has been resolved, allowing users to easily add notes to failed test in #481
• This release fixes issues with parsing XML data, ensuring accurate processing and reducing errors in #527
• IDs were not being correctly parsed from XML files in #542
🔧 Other
- Replaced
axios
library withgaxios
(based on node-fetch) in #530 - Added a timestamp column to track when events occur, and enhanced reporting with a unique runId identifier in #550
Tech Release Notes
- newman: fix pc color; improve logging; fix error in case of failed to send request in #408
- Guess java tests path from
package
at reportXml.js in #472 - Fix require usage in #473
- Pw fail annotation in #481
- docs api: add meta prop for test in #484
- Nightwatch adapter in #498
- added config option to ignore files in #494
- XML parse fixes in #527
- Fixed IDs from XML in #542
- Refactored to replace axios with gaxios in #530
- Feat/replay xml fixes in #544
- Feat/workdir suite enhancements in #548
- Feat/reporter package as file in #552
- Feat/timestamp in #550
- Replay by id in #553
Full Changelog: 1.6.17...2.0.1