capybara
How do I resolve mach-o architecture errors when using capybara-webkit and QT
I am using capybara-webkit on OS X Lion.I used brew to install QT, which seems to have installed successfully along with the capybara-webkit gem.I\'m getting the following errors and am not entirely s[详细]
2023-04-06 13:16 分类:问答database cleaner transaction with cucumber rails
I am writing a scenario for signup form. @abc @selenium Scenario:Non registered user signs up Given I am on the sign-up page[详细]
2023-04-06 11:17 分类:问答Stubbing the Capybara session for a page object test
I\'m using Cucumber with a page object similar to the simplified version shown below. I need to do some quite complex parsing of the HTML, so I\'d like to be able to unit test the page object in isola[详细]
2023-04-06 01:44 分类:问答How do I set the browser language in Cucumber / Capybara?
I\'d like a different language to be displayed depending on the browser language and naturally I\'d like to test to ma开发者_运维百科ke sure it\'s working properly. I\'m using Cucumber and Capybara, G[详细]
2023-04-05 21:09 分类:问答How to stub ApplicationController method in request spec
I am needing to stub the response of a current_user method in an Rspec/capybara request spec. The method is defined in ApplicationController and is using helper_method. The method should simply return[详细]
2023-04-05 15:46 分类:问答xpath: how to get all rows from second table column?
I have a tabl开发者_如何学Ce with multiple rows and columns. How to find all rows from second column using xpath?Use:[详细]
2023-04-05 09:34 分类:问答cant get capybara-webkit to work
I am using capybara to do integration testing on my rails 3 app. When i add :js => true to a scenario my tests work with selenium but when i change to use the webkit driver for js i get errors for ea[详细]
2023-04-04 14:56 分类:问答Simulate closing/reopening the browser in cucumber/capybara?
I\'m writing cucumber tests to test user \'Remember me\' type functionality, and in order to do that in real life the user would close their browser开发者_开发问答, reopen their browser, and come back[详细]
2023-04-04 14:29 分类:问答Selenium and Uploadify
Is there any way to usefully test an 开发者_运维问答Uploadify file upload with Selenium?I\'m using Capybara with Rails, but really, any solution with Selenium would be a starting place.I\'m worried I[详细]
2023-04-04 10:44 分类:问答Rails capybara cucumber before each test support
I\'m using cucumber and capybara to do our ATs and I\'m trying to replace celerity/culerity with webkit and I\'m wondering if anyone knows of a way to have each scenario run a method (the same method开[详细]
2023-04-03 22:53 分类:问答