Skip to content

Releases: gemini-testing/testplane

v8.23.1

23 Dec 22:20
Compare
Choose a tag to compare

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.

v8.23.0

17 Dec 12:51
Compare
Choose a tag to compare

🚀 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

10 Dec 11:15
Compare
Choose a tag to compare

🐛 Bug Fixes

  • fix rare "This document requires 'TrustedHTML' assignment" bug when trying to disable animations on page before screenshot (#1040)

v8.22.1

27 Nov 12:26
Compare
Choose a tag to compare

🐛 Bug Fixes

  • speed up install dependencies on 16% and decrease node_modules weights on 31% (from 314 mb to 217mb) (#1030)
  • correctly specify types for "mochaOpts" and "patternsOnReject" (#1033)

v8.22.0

27 Nov 10:40
Compare
Choose a tag to compare

🚀 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 id chrome-dark from testplane config
  • testplane install-deps chrome@123 chrome-dark will download both browsers.

v8.21.1

21 Nov 00:40
Compare
Choose a tag to compare

🐛 Bug Fixes

  • remove extra warning when unable to apply code error snippet (#1031)

v8.21.0

19 Nov 20:40
Compare
Choose a tag to compare

🚀 Improvements

  • implement mocks in component testing (#1027)

🐛 Bug Fixes

  • make invalid png error similar to assert view errors (#1028)

v8.20.6

06 Nov 10:27
Compare
Choose a tag to compare

🐛 Bug Fixes

  • add user agent to args automatically (#1026)

Component Testing:

  • correctly import components with css from third party libraries (#1023)
  • ability to import esm modules (#1024)

v8.20.5

02 Oct 09:40
Compare
Choose a tag to compare

🐛 Bug Fixes

  • specify "AssertViewOpts" type with all available options (#1020)

v8.20.4

24 Sep 14:08
Compare
Choose a tag to compare

🐛 Bug Fixes

  • correctly stop REPL servers inside workers on call "halt" method (#1019)
  • do not fail when trying to take screenshot of the viewport (#1010)