Skip to content

Releases: gemini-testing/testplane

v8.11.0

01 May 15:37
728f6bb
Compare
Choose a tag to compare

🚀 Improvements

  • Enhance webdriverio stacktrace (#916)
  • Add error snippets (#919)

Examples

image

image

image

v8.10.0

25 Apr 13:45
b202f44
Compare
Choose a tag to compare

Rename to Testplane without breaking backward compatibility

Migration guide Hermione -> Testplane: https://github.com/gemini-testing/testplane/blob/master/docs/migration-from-hermione.md

v0.1.3

22 Apr 09:22
b071aa6
Compare
Choose a tag to compare

🚀 Improvements

  • add ability to specify dev server in config file (#911)

Usage example

// .testplane.conf.ts
const SERVER_PORT = 3000;
...
export default {
    ...
    devServer: {
        command: "npm run server:dev",
        env: {PORT: SERVER_PORT},
        readinessProbe: {
            url: `http://localhost:${SERVER_PORT}/health`
        }
    }
}

Creates dev server with command "npm run server:dev", pass PORT env variable and wait until its ready to receive network requests

Command could also be "node some/file.js" or something else.

hermione/8.9.0

22 Apr 09:21
3074049
Compare
Choose a tag to compare

🚀 Improvements

  • add ability to specify dev server in config file (#909)

Usage example

// .hermione.conf.ts
const SERVER_PORT = 3000;
...
module.exports = {
    ...
    devServer: {
        command: "npm run server:dev",
        env: {PORT: SERVER_PORT},
        readinessProbe: {
            url: `http://localhost:${SERVER_PORT}/health`
        }
    }
}

Creates dev server with command "npm run server:dev", pass PORT env variable and wait until its ready to receive network requests

Command could also be "node some/file.js" or something else.

v0.1.2

17 Apr 09:59
Compare
Choose a tag to compare

🚀 Improvements

  • ability to read tests in ".jsx" and ".tsx" files (#906)
  • implement experimental feature to run component/unit tests in browser (#906)
    How to try it:
// testplane.conf.ts
export default {
// ...
  system: {
    testRunEnv: "browser"
  }
}
// tests/example.testplane.tsx
it("test", async ({browser}) => {
  render(<h1>Hello</h1>);

  await expect(browser.$('h1')).toHaveTitle('Hello');
});

v0.1.0

10 Apr 13:15
Compare
Choose a tag to compare

💣 Breaking changes

  • rename Hermione to Testplane

hermione/v8.8.1

05 Apr 13:29
Compare
Choose a tag to compare

🐛 Bug fixes

  • fix: do not remove spaces in runnable title (#897)

We have to account for user spaces in test titles.

For example:

describe(' foo ', () => {
  it('bar ', () => {});
});

In hermione@6 fullTitle for this test was foo bar (with two spaces between foo, bar and one space at the beginning and end). Starting from the version hermione@7 behaviour was changed and fullTitle looks like foo bar (with only one space between foo, bar and without spaces at the beginning and end). So we return the previous behavior.

hermione/v7.5.6

05 Apr 13:58
Compare
Choose a tag to compare

🐛 Bug fixes

  • fix: do not remove spaces in runnable title (#898)

More info here.

hermione/v8.8.0

03 Apr 13:47
Compare
Choose a tag to compare

🚀 Improvements

  • add ability to extend "hermione" global variable (#896)

Usage example

  • Extend interface GlobalHelper from module "hermione":
// global.d.ts
import type { GlobalHelper } from "hermione";

declare module "hermione" {
  interface GlobalHelper {
    also: {
        in: (args: string | string[]) => void;
    };
  }
}
  • Use hermione.also.in with extended typings:
hermione.also.in('foo');

hermione/v7.5.5

01 Apr 10:40
Compare
Choose a tag to compare

🐛 Bug fixes

  • fix: do not ignore assertView errors in broken session rejection (#891)