Behat / Symfony2Extension

Symfony2 extension for Behat
MIT License
394 stars 106 forks source link

You have requested a non-existent service "gmail.com" #116

Open ArchTaqi opened 7 years ago

ArchTaqi commented 7 years ago
default:
    suites:
        default:
            contexts:
                - FeatureContext:
                    username_suffix: '@gmail.com'
    extensions:
        Behat\Symfony2Extension: ~

    public function __construct($username_suffix)
    {
        // $session is your Symfony2 @session
    }

I have to pass "@gmail.com" as an argument, but it throws an error that"You have requested a non-existent service "gmail.com"".

pamil commented 7 years ago

Just use @@gmail.com instead :)

ArchTaqi commented 7 years ago

@pamil Not worked, Failed to find user: taqi@@gmail.com. It should got as taqi@gmail.com