I can't use getMainContext() and getSubcontext($alias) in version 3 any more. What is the way to communicate between context in version 3. Are context traits the only way?
# behat.yml
default:
suites:
guest_features:
paths: [ %paths.base%/features/web ]
filters: { role: guest }
contexts: [ GuestContext ]
user_features:
paths: [ %paths.base%/features/web ]
filters: { role: member }
contexts: [ MemberContext ]
groupled_features:
paths: [ %paths.base%/features/web ]
filters: { role: grouplead}
contexts: [ GroupleadContext ]
admin_features:
paths: [ %paths.base%/features/web ]
filters: { role: admin }
contexts: [ AdminContext ]
extensions:
Behat\MinkExtension:
base_url: http://ollo.com
browser_name: firefox
selenium2:
capabilities: { "browser": "firefox", "version": "24"}
goutte: ~