2

フランクは昨日まで働いていました。私が何をしたのかわからないので、それが台無しになりました。フランクをインストールして昨日まで作業したプロジェクトでは、次のようになります。

PING FAILED!!!!!...

今すぐメッセージ。そこで、新しいプロジェクトを作成し、それをテストするためにフランクを追加しました。テスト出力の開始を取得しましたが、実際に開始しようとすると、アクセシビリティが有効になっていないと表示されます。

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

システム環境設定の[支援デバイスのアクセスを有効にする]チェックボックス->[ユーザー補助]は既にオンになっています。そこで、エラーが示すように、モバイルデバイスシミュレーターでそれを有効にしました(これは、動作中にこれまで行ったことはありませんでした)。シミュレーターの設定でアクセシビリティインスペクタをオンにしましたが、それでもこのエラーが発生します。シミュレータとラップトップを再起動しました。それでもエラーが発生します。何か案は?ありがとう、

パチュン

4

1 に答える 1

0

最近、誰かがフランクをルビーモーションで宝石で飾った。それは私にとってうまくいきます。

于 2013-04-12T08:46:07.740 に答える