Displaying 5 results from an estimated 5 matches for "web_step".
Did you mean:
web_steps
2010 Dec 16
12
Capybara + radio buttons
How do I select a radio button when both id and name are identical?:
<input type="radio" name="BILFPB.bilPremieUppgifterFI.under24"
tabindex="13" value="J24" checked="checked" id="forare">Ja
<input type="radio" name="BILFPB.bilPremieUppgifterFI.under24"
tabindex="14" value="N24"
2010 Oct 14
1
Cucumber Selenium web step to verify value of input field
I have an input field with an id which has a value. The web_steps.rb method
does not find the value. Is this the right step to use to check an input
field? It works fine for a text_area but not an input.
Scenario steps (tried both ways):
Then the "travel_card_number_gate" field should contain "5"
Then the "#travel_card_number_gate"...
2010 Dec 16
1
Ambiguous match error for Cucumber
...t;
end
"
Whenever I am doing "rake cucumber:all" I am getting following error:-
".F-
(::) failed steps (::)
Ambiguous match of "I go to the tasks page":
features/step_definitions/tasklist_steps.rb:5:in `/^I go to the tasks
page$/''
features/step_definitions/web_steps.rb:19:in `/^(?:|I )go to (.+)$/''
You can run again with --guess to make Cucumber be more smart about it
(Cucumber::Ambiguous)
features/tasklist.feature:8:in `When I go to the tasks page''
Failing Scenarios:
cucumber features/tasklist.feature:6 # Scenario: List Tasks
1 scenario...
2013 Jun 18
1
Rails 3 in action book: some files are not generated as written in the book
...;m reading "Rails 3 in action", chapter 3, p. 56.
It is said that the Cucumber skeleton generator
> rails generate cucumber:install
has to also generate the definition for the first step of the Scenario
"Given I am on the homepage" in the file
"features/step_definitions/web_steps.rb"
# file: features/step_definitions/web_steps.rb
Given /^(?:|I )am on (.+)$/ do |page_name|
visit path_to(page_name)
end
But it doesn''t. Also it doesn''t generate module NavigationHelpers along
with the "features/support/paths.rb" file.
Why does it happen?...
2010 Dec 20
1
Check whether link present nor not using cucumber
Hi,
I am using cucumber with webrat for testing my application.
I have admin role in my application.
When admin logs into the system he able to see the "Users" link which
gives an interface to manage users for admin. I have written the feature
like as follows:-
Feature: List All Users
So that Admin can manage users
Scenario: Login as Admin
When I login with user "username"