1
你好,我正試圖上傳文件與水豚poltergeist,隱藏輸入。這裏是我的特性文件水豚poltergeist無法上傳文件
Scenario: Import csv with valid and invalid entries, and try to charge them again
And Joe navigates to "Lottery import" page of "Joe's Test Event"
And Joe uploads file from path "/vagrant/tests/capybara/features/admin/lottery_import/step_definition/sample_lottery_entries_list.csv" into "file" field
和RB文件導入
Then(/^(\S*) uploads file from path "([^"]*)" into "([^"]*)" field$/) do |user, file_path, field|
page.attach_file(field, File.expand_path(file_path), :visible => false)
waits_for_spinner_by_class_not_visible
end
奇怪這一點也適用Selenuim驅動程序,但不吵鬧鬼司機。 任何想法如何解決這個
感謝兄弟們投票向上我的問題 – vladimirProp