gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

Can't use devServer option when dev server is launched by external process #1000

Open shadowusr opened 4 weeks ago

shadowusr commented 4 weeks ago

Verify latest release

Hermione version

No response

Last Hermione version that worked

No response

Which area(s) of Hermione are affected? (leave empty if unsure)

Hermione core, Configuration

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

  1. Use the following config:
    devServer: {
        command: "echo 1",
        logs: false,
        readinessProbe: async () => {
            return true;
        },
    },
  2. Try to launch Testplane

Actual Behavior

You will get Terminating on critical error: Error: An error occured while launching dev server Dev server failed with code '0'

Expected Behavior

It's possiblе to use devServer option to wait for an external server.

Which Node.js version are you using?

18.20