This file contains 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
Feature: Upload Data # features/basic/upload.feature | |
In order to make mspots.org easy to use | |
I should be able to upload data file to generate mspots | |
Scenario Outline: Uploading Data File # features/basic/upload.feature:9 | |
Given I am using <browser> to go to / # features/basic/upload.feature:10 | |
When I press on "Select a Spreadsheet to Upload" # features/basic/upload.feature:11 | |
And I attach "<file>" # features/basic/upload.feature:12 | |
Then I should see "Processing Upload" status indicator # features/basic/upload.feature:13 | |
|browser|file | |
This file contains 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
--- | |
publish_on_announce: false | |
blogs: | |
- user: user | |
url: url | |
extra_headers: | |
mt_convert_breaks: markdown | |
blog_id: blog_id | |
password: password | |
exclude: !ruby/regexp/tmp$|CVS|\.svn|_darcs|\.git|log$|local/.*\.rb$|Makefile|.*\.o$|.*\.bundle$|.*\.so$|.*\.dll$/ |
This file contains 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
Feature: Login | |
To ensure the safety of the application | |
A regular user of the system | |
Must authenticate before using the app | |
Scenario Outline: Failed Login | |
Given I am not authenticated | |
When I go to /login | |
And I fill in "login" with "<mail>" | |
And I fill in "password" with "<password>" |
This file contains 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
(in /home/ngtzeyang/dev/mine/edge) | |
Loading init file from /home/ngtzeyang/dev/mine/edge/config/init.rb | |
Loading /home/ngtzeyang/dev/mine/edge/config/environments/development.rb | |
Feature: Login # features/login.feature | |
To ensure the safety of the application | |
A regular user of the system | |
Must authenticate before using the app | |
Scenario Outline: Failed Login # features/login.feature:6 | |
Given I am not authenticated # features/login.feature:7 | |
When I go to /login # features/login.feature:8 |
This file contains 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
Feature: Create Users | |
In order for system to support management of users | |
I should be able to create user in the system | |
Scenario: Successfully Created User | |
Given I go to /users | |
And I follow "New User" | |
Then I should see "Create User" page | |
Given I focus on section "Basic Info" | |
And I fill in "Name*" with "Carol" |
This file contains 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
# | |
# Note that i'm using cucumber and have mixed | |
# Selenium::Client::Base into cucumber's world. | |
# | |
When /^I (uncheck|check) "(w+)"$/ do | label, check | | |
checkbox = labelled_checkbox[label] | |
if ( checkbox['checked'] and check=~/^u/ ) or ( checkbox['checked'].nil? and check=~/^c/ ) | |
click cbox.locator | |
wait_for_condition 'selenium.browserbot.getCurrentWindow().ActionStatus.completed()' | |
end |
This file contains 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
module DmSkinnySpec::Validations | |
module Common | |
class ExpectationArgs | |
attr_reader :attribute, :context | |
def initialize( attribute, options ) | |
@attribute = attribute |
OlderNewer