Sylius: Failed to set cookie on Behat tests

Created on 7 Dec 2016  路  6Comments  路  Source: Sylius/Sylius

When I run Behat javascript tests using selenium2, I get an error when test "And I am logged in as an administrator" is executed:

Failed to set the 'cookie' property on 'Document': Cookies are disabled inside 'data:' URLs.

Did anyone had this problem?

Behat Potential Bug

Most helpful comment

I managed to find the problem, chromedriver was not running on default 8080 port, so I had to change base_url port in behat.yml to match chromedriver one.

All 6 comments

cc @dantleech @pjedrzejewski ?

You run it on Sylius/Sylius for contributing or a project?

I run it on Sylius Standard for a project

I managed to find the problem, chromedriver was not running on default 8080 port, so I had to change base_url port in behat.yml to match chromedriver one.

Can we close the issue then? :)

yes, thank you :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

inssein picture inssein  路  3Comments

bnd170 picture bnd170  路  3Comments

crbelaus picture crbelaus  路  3Comments

xleliberty picture xleliberty  路  3Comments

mezoni picture mezoni  路  3Comments