2
弗蘭克工作到昨天。我不知道我做了什麼,搞砸了。在一個我安裝了Frank的項目中,直到昨天,我得到了一個:弗蘭克輔助功能啓用但仍然出錯
PING FAILED!!!!!...
現在發送消息。於是我創建了一個新項目並添加Frank來測試它。我得到的測試輸出的開始,但是當它實際上試圖啓動它說沒有啓用輔助功能:
Feature:
As an iOS developer
I want to have a sample feature file
So I can see what my next step is in the wonderful world of Frank/Cucumber testing
Scenario: # features/my_first.feature:6
Rotating the simulator for demonstration purposes
Given I launch the app # features/step_definitions/launch_steps.rb:5
ACCESSIBILITY DOES NOT APPEAR TO BE ENABLED ON YOUR SIMULATOR. Hit the home button, go to settings, select Accessibility, and turn the inspector on. (RuntimeError)
./features/step_definitions/launch_steps.rb:7:in `/^I launch the app$/'
features/my_first.feature:8:in `Given I launch the app'
Given the device is in landscape orientation # frank-cucumber-0.9.5/lib/frank-cucumber/core_frank_steps.rb:135
Given the device is in portrait orientation # frank-cucumber-0.9.5/lib/frank-cucumber/core_frank_steps.rb:149
Given the device is in landscape orientation # frank-cucumber-0.9.5/lib/frank-cucumber/core_frank_steps.rb:135
Given the device is in portrait orientation # frank-cucumber-0.9.5/lib/frank-cucumber/core_frank_steps.rb:149
Failing Scenarios:
cucumber features/my_first.feature:6 # Scenario:
Rotating the simulator for demonstration purposes
的「啓用輔助設備的訪問」複選框,在系統偏好設置 - >輔助功能已被選中。所以我開始在移動設備模擬器上啓用它,就像錯誤說的那樣(我以前從未做過)。我在模擬器設置中打開了輔助功能檢查器,但仍然出現此錯誤。我重新啓動了模擬器和我的筆記本電腦。我仍然得到錯誤。有任何想法嗎?謝謝,
Pachun