Skip to content

v8.23.1

Latest
Compare
Choose a tag to compare
@shadowusr shadowusr released this 23 Dec 22:20
· 2 commits to master since this release

This release contains minor enhancements to Typescript support in Testplane.

🐛 Fixes

Ability to extend executionContext.ctx typings

Now it's possible to extend executionContext.ctx type using module augmentation like this:

import type { TestplaneCtx } from "testplane";
import type { Api } from './api';

declare module "testplane" {
    interface ExecutionThreadCtx {
        api: Api;
    }
}

Read more.


Now passive option is specified correctly in Testplane config typings. Note that this still has some limitations and doesn't work well with html-reporter, until further notice we recommend using testplane-passive-browsers plugin instead.