Created
April 27, 2009 10:47
-
-
Save judoole/102438 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'spec' | |
require 'funfx/browser/firewatir' | |
BROWSER = FireWatir::Firefox.new | |
DEMO_APP = "location_of_application.html" | |
Before do | |
BROWSER.goto(DEMO_APP) | |
@flex = BROWSER.flex_app('name_of_application', 'name_of_application') | |
end | |
at_exit do | |
BROWSER.close | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\...\features>cucumber vise_tilbudstyper | |
.feature -l no | |
./step_definitions/tilbudsok_steps.rb:6: warning: parenthesize argument(s) for future version | |
C:/gps-dev-software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': ./step_definitions/tilbudsok_steps.rb:6: Inva | |
lid char `\303' in expression (SyntaxError) | |
./step_definitions/tilbudsok_steps.rb:6: Invalid char `\245' in expression | |
./step_definitions/tilbudsok_steps.rb:9: Invalid char `\303' in expression | |
./step_definitions/tilbudsok_steps.rb:9: Invalid char `\245' in expression from C:/gps-dev-software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_r | |
equire.rb:27:in `polyglot_original_require' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/polyglot-0.2.5/lib/polyglot.rb:54:in `require' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.0/bin/../lib/cucumber/cli/main.rb:79:in `require_files' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.0/bin/../lib/cucumber/cli/main.rb:77:in `each' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.0/bin/../lib/cucumber/cli/main.rb:77:in `require_files' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.0/bin/../lib/cucumber/cli/main.rb:34:in `execute!' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.0/bin/../lib/cucumber/cli/main.rb:20:in `execute' | |
from C:/gps-dev-software/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.0/bin/cucumber:6 | |
from C:/gps-dev-software/ruby/bin/cucumber:16:in `load' | |
from C:/gps-dev-software/ruby/bin/cucumber:16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gitt 'at jeg åpnet applikasjonen' do | |
end | |
Når 'jeg velger nedtrekkslisten for tilbudstype' do | |
end | |
Så 'skal nedtrekkslisten vise alle tilbudstyper' do | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Egenskap: Vise tilbudstyper | |
For å filtrere tilbud | |
Som en bruker | |
Vil jeg velge tilbudstype fra en dropdown liste | |
Scenario: IPA | |
Gitt at jeg åpnet applikasjonen | |
Når jeg velger nedtrekkslisten for tilbudstype | |
Så skal nedtrekkslisten vise alle tilbudstyper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment