-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
187 additions
and
79 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
notices-for-0.9.0 | ||
notices-for-0.9.1 | ||
0.9.4-platform-file | ||
notices-for-facebook-graph-api-2 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
METEOR@0.9.3 | ||
METEOR@1.1.0.2 |
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
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Feature: Form provides ability to input data | ||
As a editor | ||
I want to enter data into form | ||
So that I can save this data | ||
|
||
@dev | ||
Scenario: Open blank Form, keep unchanged, save | ||
Given I see the blank form | ||
When I press "save" | ||
Then I see default values |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Feature: One-liner description of this feature | ||
|
||
As a [role] | ||
I want [feature] | ||
So that [benefit] | ||
|
||
The story above is to set context for the reader. It doesn't actually have any impact on the test | ||
itself. The phrases inside the scenarios are ties to test code using regex, which you can see in | ||
/tests/features/step_definitions/steps.js | ||
|
||
In this textual part of the file, you can include context about this feature, you can add links to | ||
external documents and whatever is needed to create the full specification. | ||
|
||
# The background will be run for every scenario | ||
Background: | ||
Given I am a new user | ||
|
||
# This scenario will run as part of the Meteor dev cycle because it has the @dev tag | ||
@dev | ||
Scenario: | ||
When I navigate to "/" | ||
Then I should see the title "FormsFrame" | ||
|
||
# This scenario will not run as part of the Meteor dev cycle because it does not have the @dev tag | ||
# But it will run on CI if you use `meteor --test` for instance | ||
Scenario: | ||
When I navigate to "/" | ||
Then I should see the title "another intentional failure" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
(function () { | ||
|
||
'use strict'; | ||
|
||
module.exports = function () { | ||
|
||
// You can use normal require here, cucumber is NOT run in a Meteor context (by design) | ||
var url = require('url'); | ||
|
||
this.Given(/^I am a new user$/, function () { | ||
// no callbacks! DDP has been promisified so you can just return it | ||
return this.server.call('reset'); // this.ddp is a connection to the mirror | ||
}); | ||
|
||
this.When(/^I navigate to "([^"]*)"$/, function (relativePath, callback) { | ||
// WebdriverIO supports Promises/A+ out the box, so you can return that too | ||
this.client. // this.browser is a pre-configured WebdriverIO + PhantomJS instance | ||
url(url.resolve(process.env.ROOT_URL, relativePath)). // process.env.ROOT_URL always points to the mirror | ||
call(callback); | ||
}); | ||
|
||
this.Then(/^I should see the title "([^"]*)"$/, function (expectedTitle, callback) { | ||
// you can use chai-as-promised in step definitions also | ||
this.client. | ||
waitForVisible('body *'). // WebdriverIO chain-able promise magic | ||
getTitle().should.become(expectedTitle).and.notify(callback); | ||
}); | ||
|
||
}; | ||
|
||
})(); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
(function () { | ||
|
||
'use strict'; | ||
|
||
Meteor.methods({ | ||
'reset' : function() { | ||
// you can do some resetting of your app here | ||
// fixture code will only execute inside mirrors neither runs | ||
// inside the main app nor gets bundled to production. | ||
} | ||
}); | ||
|
||
})(); |
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
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