8000 Release 2.0.1 · testomatio/reporter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2.0.1

Latest
Compare
Choose a tag to compare
@DavertMik DavertMik released this 30 Jun 10:16
· 3 commits to 2.x since this release
a272da8

🚀 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

DEBUG=1 npx playwright test

npx @testomatio/reporter replay

🐛 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 with gaxios (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

0