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
Currently I have a like/dislike voting functionality that outputs in the following format: like (#) dislike (#)开发者_开发技巧
For a cucumber step, I know that a particular ul element should have 5 children li. How can I assert this with Webrat?
I am trying to login to a Java web application. The login page has the following html : <html> <head><title>Login Page</title></head>
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
I\'m trying to define a step to test the va开发者_JAVA技巧lue of alt text of an image using Capybara and CSS selectors.
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
I\'m using selenium_client with cucumber, webrat + IE As you\'d expect, Firefox works fine. I\'ve tried the following:
I\'m looking at a cucumber test suite that is somewhat brittle right now; many small steps, and no knowledge of the page itself.
I am using Cucumber, Webrat, and Pickle in conjunction. When I write a scenario, I can do something like this: