MinkExtension icon indicating copy to clipboard operation
MinkExtension copied to clipboard

Anyone else having issues with session being lost on dev-master?

Open madeofsteel opened this issue 9 years ago • 3 comments

I have created a basic test that logs in the user via entering the login credentials, and clicking a login button. The next step where I need to click a menu item fails because of what looks like the session is not set.

Also, why is

$this->getSession

taken out in dev master branch? The programmer is now going to have to use a setter/getter to reuse the session through the lifecycle of the feature. Do we just change these major dependencies without any sort of a question? or documentation?

madeofsteel avatar Jun 01 '16 17:06 madeofsteel

Can you please share your feature file?

aik099 avatar Jun 01 '16 19:06 aik099

sure

# behat.yml
default:
    extensions:
        Behat\MinkExtension:
            goutte: ~
            selenium2: ~

madeofsteel avatar Jun 02 '16 23:06 madeofsteel

I was asking for feature file, but you've attached Behat config file. What I need is scenario you're running and custom PHP features that it uses.

aik099 avatar Jun 03 '16 05:06 aik099