Releases: gemini-testing/testplane
v8.23.1
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;
}
}
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.
v8.23.0
🚀 Improvements
Added ability to run Testplane with local headless browsers on ubuntu (#1036)
With --local
cli option (or gridUrl: "local"
) Testplane will automatically download requested version of chrome
or firefox
and launch its webdriver before running Testplane tests itself. On ubuntu, it will also download necessary deb packages from apt repositories.
More about Testplane with local browsers: https://github.com/gemini-testing/testplane/releases/tag/v8.22.0
Supported ubuntu versions: 20, 22, 24
Note: if you are using remote ubuntu (e.g: virtual machine), you can only run browsers in headless mode.
Note: On ubuntu, you would probably need "--no-sandbox" arg for chrome browser:
// other chrome browser settings
desiredCapabilities: {
browserName: "chrome",
browserVersion: "130.0",
"goog:chromeOptions": { args: ["--no-sandbox"] }
}
v8.22.5
v8.22.1
v8.22.0
🚀 Improvements
Added ability to run Testplane with automatically downloaded browsers (#1029)
With --local
cli option (or gridUrl: "local"
) Testplane will automatically download requested version of chrome
or firefox
and launch its webdriver before running Testplane tests itself.
Also it is possible to download browsers + webdrivers manually with testplane install-deps
command, which will try to download all browsers, specified in testplane config.
testplane install-deps
could also be launched with args, which are either browserId
from testplane config, either browser with its tag version. Examples:
testplane install-deps chrome@123
will download browser:chrome
, version:123
.testplane install-deps chrome-dark
will download browser with idchrome-dark
from testplane configtestplane install-deps chrome@123 chrome-dark
will download both browsers.