These are chat archives for Behat/Behat

5th
Nov 2018
stsvisa
@stsvisa
Nov 05 2018 17:25

Hi! Could you please help me to fix issue with behat.yml?
I've create

behat.yml

default:
suites:
default:
contexts:

    - FeatureContext
pamOS:
  contexts:
    - WebContext:
        defaultUrl: https://https://stackoverflow.com
        host: http://localhost:4444/wd/hub

Project structure is features>bootstrap>FeatureContext+WebContext (2 files at the same level)
behat.yml is located at the root directory

When I lauch behat - error appeared: In UninitializedContextEnvironment.php line 44:

FeatureContext context class not found and can not be used.
I'm a newbie and have no idea how to fix it.