Skip to content

Releases: qase-tms/qase-javascript

[email protected]

10 Apr 14:07

Choose a tag to compare

[email protected] Pre-release
Pre-release

What's new

Capture stdout and stderr logs as attachments.
To enable this feature, set environment variable QASE_CAPTURE_LOGS=1 or
add captureLogs: true to the reporter configuration:

[
  'playwright-qase-reporter',
  {
    mode: 'testops', 
+   captureLogs: true,
    ...
  },
];

[email protected]

10 Apr 14:09

Choose a tag to compare

[email protected] Pre-release
Pre-release

What's new

  • Updated the config of reporters, adding the captureLogs field. If it is set to true, the reporter will capture logs from the test framework.
  • Added getMimeType function to the commons package. It returns the MIME type of the file by its extension.

[email protected]

09 Apr 12:19

Choose a tag to compare

[email protected] Pre-release
Pre-release

What's new

  • Added support for uploading attachments from strings and buffers.

[email protected]

09 Apr 12:23

Choose a tag to compare

[email protected] Pre-release
Pre-release

What's new

Upload test attachments to Qase:

test('test', async ({ page }) => {
  // upload files by path
  qase.attach({ paths: '/path/to/file'});
  // list multiple files at once
  qase.attach({ paths: ['/path/to/file', '/path/to/another/file']});
  // upload contents directly from your code
  qase.attach({ name: 'attachment.txt', content: 'Hello, world!', contentType: 'text/plain' });
  await page.goto('https://example.com');
});

When passing custom data from the code, specify the contentType explicitly.
Most popular file extensions have their content type determined automatically.

[email protected]

09 Apr 12:20

Choose a tag to compare

[email protected] Pre-release
Pre-release

What's new

  • Added support for uploading attachments from strings and buffers in the testops reporter.
  • Changed data type of content in the attachment data from any to string | Buffer.

[email protected]

08 Apr 16:23

Choose a tag to compare

[email protected] Pre-release
Pre-release

What's new

Annotate parameterized tests to see the complete data in the Qase.io test report:

const people = ['Alice', 'Bob'];
for (const name of people) {
    test(`testing with ${name}`, async () => {
        qase.id(1)
        qase.parameters({ 'name': name });
        // ...
    });
}

[email protected]

08 Apr 16:22

Choose a tag to compare

[email protected] Pre-release
Pre-release

What's new

  • Changed data type of fields and parameters in the test result data
    from Map<string, string> to Record<string, string>.

[email protected]

05 Apr 14:03

Choose a tag to compare

[email protected] Pre-release
Pre-release

Overview

This is a beta channel release, supporting the v2 series of the Qase JavaScript reporters.

What's new

  • Supporting the latest version of the Qase API.
  • Significant updates to the v2/results endpoint.
  • New endpoints: v1/system-fields/ and v1/configurations/.

[email protected]

05 Apr 14:09

Choose a tag to compare

[email protected] Pre-release
Pre-release

What's new

  • Change module exports for simpler importing.

    New syntax:

    import { qase } from 'playwright-qase-reporter';

    instead of:

    import { qase } from 'playwright-qase-reporter/playwright';
  • Update the readme with examples of new imports and annotations.

[email protected]

05 Apr 14:05

Choose a tag to compare

[email protected] Pre-release
Pre-release

Overview

Qase reporter for the Playwright test framework.

This is a beta channel release.
To try the new features, install it with:

npm install playwright-qase-reporter@beta

To switch back to the stable releases, run:

npm install playwright-qase-reporter@latest

What's new

New syntax for annotating tests

This release brings a major syntax change for specifying more test parameters.

Old syntax allowed only test ID and title, and wasn't improving code readability:

test(qase(42, 'Ultimate Question of Life, The Universe, and Everything'), async ({ page }) => {
    ...  
})

New syntax allows for adding information on separate lines, keeping the code readable:

test('Ultimate Question of Life, The Universe, and Everything', async ({ page }) => {
    qase.id(42);
    qase.fields({ severity: high, priority: medium });
    qase.attach({ paths: '/path/to/file'});
    ...
})