BehatParallelExtension icon indicating copy to clipboard operation
BehatParallelExtension copied to clipboard

Error: No specifications found at path(s) . ... This might be because of incorrect paths configuration in your `suites`.

Open Starkmann opened this issue 1 year ago • 4 comments

When i run vendor/bin/behat -c tests/behavior/behat.yml "$@" everything works fine.

But when i run vendor/bin/behat --parallel-feature -c tests/behavior/behat.yml "$@"

i get the following error: No specifications found at path(s). ... This might be because of incorrect paths configuration in your suites.

My behat.yml:

default:
  suites:
      default:
        filters:
          tags: "~@skip"
        #@TODO: split motion and newsletter
        paths: [features/Motion]
        contexts:
          - FeatureContext
  extensions:
     Behat\MinkExtension:
        base_url: https://xxx.lan
        browser_name: chrome
        selenium2:
          wd_host: http://browser:4444/wd/hub
          capabilities: {
            "browser": "chrome",
            "version": "*" ,
            "acceptSslCerts": true,
            "extra_capabilities": {
              "acceptInsecureCerts": true,
              'chrome': {
                args: [
                  '--disable-dev-shm-usage',
                  '--window-size=1920,6080',
                ],
              }
            }
          }
        files_path: tests/behavior/dummy/
     DMarynicz\BehatParallelExtension\Extension: ~

Starkmann avatar Aug 01 '24 08:08 Starkmann

What you have in your argument "$@" ?

Daniel-Marynicz avatar Aug 01 '24 09:08 Daniel-Marynicz

This is the problem: paths: [features/Motion]

with

paths:
          features: '%paths.base%/features/Motion'

it works

Starkmann avatar Aug 01 '24 09:08 Starkmann

What you have in your argument "$@" ?

Good catch but it was empty

Starkmann avatar Aug 01 '24 09:08 Starkmann

Btw. thanks for you work! Tests went down from 20min to 8min.

Starkmann avatar Aug 01 '24 10:08 Starkmann