Skip to content

Releases: gemini-testing/testplane

hermione/8.9.3

16 May 14:19
Compare
Choose a tag to compare

🐛 Bug fixes

  • correctly screen element (using assertView) after moveTo to this element (in order to hover it) (#928)
  • fix: ignore "execution context was destroyed" error from puppeteer (#930)

hermione/7.5.7

17 May 08:37
Compare
Choose a tag to compare

🐛 Bug fixes

  • correctly specify "testplaneCtx.assertViewResults" type (#927)
  • correctly require plugins with yarn+pnp (#927)
  • correctly screen element (using assertView) after moveTo to this element (in order to hover it) (#931)
  • fix: ignore "execution context was destroyed" error from puppeteer (#931)

v8.11.2

15 May 09:13
Compare
Choose a tag to compare

🐛 Bug fixes

  • correctly specify "testplaneCtx.assertViewResults" type (#923)
  • correctly require plugins with yarn+pnp (#925)

hermione/8.9.2

15 May 09:53
Compare
Choose a tag to compare

🐛 Bug fixes

  • correctly specify "testplaneCtx.assertViewResults" type (#923)
  • correctly require plugins with yarn+pnp (#925)

v8.11.1

06 May 14:46
1ac9d1b
Compare
Choose a tag to compare

🐛 Bug fixes

  • fix: dont remove imports in nodejs env (#921)

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');
});