Skip to content

Releases: cenfun/monocart-reporter

2.9.0

03 Oct 03:48
Compare
Choose a tag to compare

What's Changed

  • added zip option for merging reports
  • added durationStrategy option for merging reports

Full Changelog: 2.8.4...2.9.0

2.8.0

03 Sep 00:11
Compare
Choose a tag to compare

What's Changed

  • (New Feature) added new merge command for CLI: npx monocart merge path-to/*/*.json (#142)
  • added onData hook (#141)
  • better support for playwright multiple reports generation:
    • added new option copyAttachments to copy attachments for reporter (#143)
    • updated default outputFile to ./monocart-report/index.html from ./test-results/report.html

Full Changelog: 2.7.1...2.8.0

2.7.0

25 Aug 11:57
Compare
Choose a tag to compare

What's Changed

  • improved the merge API (#139)
    • supports coping and merging attachments
    • supports merging coverage reports
  • added Side by side and Slider tab for visual comparisons (#140)
  • fixed mermaid supports loading local dist file with scriptSrc=null
  • fixed expected image path

image

Full Changelog: 2.6.5...2.7.0

2.6.0

04 Jul 04:29
Compare
Choose a tag to compare

What's Changed

  • added new API setMetadata(data, testInfo) for data driven tests (#132)

Custom Fields with setMetadata()

Using API setMetadata() can be applicable to dynamically created tests

const { test } = require('@playwright/test');
const { setMetadata } = require('monocart-reporter');
test.describe('Data Driven Tests with setMetadata(data, testInfo)', () => {
    const list = [{
        title: 'Example Case 1 Data Driven Test',
        owner: 'Jensen',
        jira: 'MCR-16889',
    }, {
        title: 'Example Case 2 Data Driven Test',
        owner: 'Mark',
        jira: 'MCR-16899'
    }];
    list.forEach((item, i) => {
        test(item.title, () => {

            setMetadata({
                owner: item.owner,
                jira: item.jira
            }, test.info());

            //expect(1).toBe(1);

        });
    });
});

Full Changelog: 2.5.2...2.6.0

2.5.0

20 Jun 13:56
Compare
Choose a tag to compare

What's Changed

  • New details page by @cenfun in #126
  • updated UI for case details page (performance requirement)
  • updated marked to v13
  • fixed repeated suite id

New Contributors

Full Changelog: 2.4.9...2.5.0

2.4.0

28 Feb 04:01
Compare
Choose a tag to compare

Support for new syntax for tag and annotation in playwright v1.42.0

2.1.0

27 Dec 05:00
Compare
Choose a tag to compare

updated monocart-coverage-reports to v2.0.0

2.0.0

07 Dec 14:24
Compare
Choose a tag to compare

(BREAKING CHANGES) integrated monocart-coverage-reports
fixed expected image path