的getStatus響應我在貝哈特測試得到一個狀態響應,但我有此錯誤: 這是我的情景: Feature: Google
@javascript
Scenario: Search
Given I am on the homepage
When I go to "http://stackoverflow.com"
Then I wait
的特徵文件中使用的佔位符我有一個功能文件,如下 Feature: Test send API request
In order to test my API
As a Tester
I want to be able to perform HTTP request
Scenario:Sending GET request to activate us
我使用貝哈特和Symfony的3記錄,我想創建上下文來檢查,如果用戶已登錄,就像這樣: public function __construct(
UserManagerInterface $userManager,
AuthorizationCheckerInterface $authorizationChecker,
TokenStorageInterface