-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi!
I absolutely love this, and I'm in the process of integrating it into a testing suite we're building. Without any javascript requirements, this works flawlessly. Thanks so much.
However, when I add @javascript to a feature and then run something like
docker-compose run behat --profile=phantomjs I get
[InvalidArgumentException]
Session "phantomjs" is not registered.
If I try docker-compose run behat --profile=chrome then I get
Could not open connection: Error forwarding the new session Empty pool of VM for setup Capabilities [{deviceType=ANY, selenium-version=2.31.0, browser=chrome, browserVersion=9, name=Behat Test, browserName=chrome, deviceOrientation=portrait, ignoreZoomSetting=false, version=ANY, platform=ANY, max-duration=300}]
An example feature is
@ctltsearch
Feature: Test that search returns valid results
@javascript
Scenario: Search for 'hello' returns a post
Given I am on "http://53.spaces.dev/"
When I fill ".search-field" with "hello"
Then I hit return
Then I should be on "http://53.spaces.dev/?s=hello"
And I should see "Search Results for: hello"
And I should see "Hello world!"
I'm almost certainly doing something stupid, so if you could point me in the right direction I would really appreciate it. Again, thanks so much!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels