0
私はNetzke(0.7.3)でRails(3.1.3)に取り組んでいます。Cucumber with Netzkeを使ってグリッドパネルでアクションを呼び出す
キュウリのために非常に新しいです。
add_account_for_user.feature
Feature: Add Account For User Feature
In order to add login account
As an Administrator
I want to add login account for other role
Scenario: Adding Login Account
When I login as an Administrator
Then I should be on admin page
When I click on 'Administration' button at right upper of page
Then I should see 'Administrator Management'
And I should see 'Add' button in Administrator Management toolbar
When I click on 'Add' button
Then I wait 10 seconds # for check what happen
問題がWhen I click on 'Add' button
ステップです。 正常に動作しませんが、正常に動作しません。 (それはイベントonAddInForm
を起動する必要があります) 読み込み中にハングアップしていて、新しいウィンドウパネルが表示されません。
my_steps.rb
Then /^(?:|I)click on '(\w*)'(?:|.*)$/ do |label|
click_link_or_button(label)
step "wait for the response from sever"
end
When /^(?:|I)wait for (?:.*)$/ do
page.driver.browser.execute_script(<<-JS)
JS
end