webrat
authlogic flash[:notice] does not show up in cucumber webrat step
I am running BDD steps with cucumber to implement my autlogic login behavior. Scenario: log in Given a registered user: \"test@test.com\" with password: \"p@ssword\" exists[详细]
2023-01-07 05:17 分类:问答Webrat / Cucumber Matcher - Testing content match with links
Currently I have a like/dislike voting functionality that outputs in the following format: like (#) dislike (#)开发者_开发技巧[详细]
2023-01-07 05:17 分类:问答Using Webrat to check a list has a specific number of li elements
For a cucumber step, I know that a particular ul element should have 5 children li. How can I assert this with Webrat?[详细]
2023-01-06 20:51 分类:问答What happens when you click a button using WebRat under cucumber
I am trying to login to a Java web application. The login page has the following html : <html> <head><title>Login Page</title></head>[详细]
2023-01-01 04:53 分类:问答Webrat select_date selector failure
Code in steps file: select_date user.date_of_birth, :from => \"Date of birth\" Selector fail When I register with valid user credentials # features/step_definitions/authentication_steps.rb:2[详细]
2022-12-31 14:44 分类:问答How do I test an image alt value using capybara?
I\'m trying to define a step to test the va开发者_JAVA技巧lue of alt text of an image using Capybara and CSS selectors.[详细]
2022-12-30 22:05 分类:问答How can I test a form that requires the entry of two random characters from a security phrase?
I need to test a two-stage login system which first asks for your email address and password and then presents the user with two select lists containing [a-zA-Z0-9]. The labels beside the drop down\'s[详细]
2022-12-29 21:30 分类:问答selenium cannot find element with class in IE
I\'m using selenium_client with cucumber, webrat + IE As you\'d expect, Firefox works fine. I\'ve tried the following:[详细]
2022-12-26 19:02 分类:问答How to use Page Object pattern with Cucumber and Webrat / Selenium?
I\'m looking at a cucumber test suite that is somewhat brittle right now; many small steps, and no knowledge of the page itself.[详细]
2022-12-25 23:23 分类:问答Record id with cucumber and pickle [Rails]
I am using Cucumber, Webrat, and Pickle in conjunction. When I write a scenario, I can do something like this:[详细]
2022-12-23 14:37 分类:问答