forked from ractive-foundation/ractive-foundation
-
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.
Merge remote-tracking branch 'rf/master' into static_component_mocks
* rf/master: ractive-foundation#238: Remove comment ractive-foundation#238: Add ux-tabarea test ractive-foundation#230 Fixed bug in watch stopping json files from being watched Removed the default hbs examples ractive-foundation#188 Fixed requiring steps twice Fixed default tests not working Changed all tests to use default steps file ractive-foundation#188 Added default readme to files missing any ractive-foundation#188 cleaning up wing template files
- Loading branch information
Showing
26 changed files
with
91 additions
and
49 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
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,3 +1,4 @@ | ||
> Alerts are handy elements you can drop into a form or inline on a page to communicate success, warnings, failure or just information. They'll conform to 100% of the container width you put them in. | ||
Read [Foundation's alert](http://foundation.zurb.com/docs/components/alert_boxes.html) docs for more details. | ||
Read [Foundation's alert](http://foundation.zurb.com/docs/components/alert_boxes.html) docs for more details. | ||
|
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,2 +1,4 @@ | ||
|
||
> This renders a button | ||
Read [Foundation's button](http://foundation.zurb.com/docs/components/button.html) docs for more details. | ||
|
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,3 +1,6 @@ | ||
An Icon Bar provides a menu to quickly navigate an app. | ||
Use the Icon Bar horizontally or vertically, | ||
with the labels below the icons or to the right. Have it your way. | ||
with the labels below the icons or to the right. Have it your way. | ||
|
||
Read [Foundation's iconbar](http://foundation.zurb.com/docs/components/iconbar.html) docs for more details. | ||
|
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,3 +1,4 @@ | ||
> Labels are useful inline styles that can be dropped into body copy to call out certain sections or to attach metadata. For example, you can attach a label that notes when something was updated. | ||
Read [Foundation's label](http://foundation.zurb.com/docs/components/labels.html) docs for more details. | ||
Read [Foundation's label](http://foundation.zurb.com/docs/components/labels.html) docs for more details. | ||
|
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,3 +1,4 @@ | ||
> Off-canvas menus are positioned outside of the viewport and slide in when activated. Setting up an off-canvas layout in Foundation is super easy. | ||
Read [Foundation's offcanvas.html](http://foundation.zurb.com/docs/components/offcanvas.html) docs for more details. | ||
|
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,4 @@ | ||
> ux-orbit Documentation | ||
Read [Foundation's orbit](http://foundation.zurb.com/docs/components/orbit.html) docs for more details. | ||
|
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,4 @@ | ||
> ux-progress Documentation | ||
Read [Foundation's progress](http://foundation.zurb.com/docs/components/progress.html) docs for more details. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Feature: ux-tabarea test suite | ||
|
||
Scenario: Loading ux-tabarea | ||
Given I have loaded component "ux-tabarea" with use case "simple-tabs" | ||
Then there will be an element for "tabs" | ||
And the element "firstTab" should have the text "Structure" | ||
And the element "secondTab" should have the text "Buttons" | ||
And the element "firstTab" will have the class "active" | ||
And the element "firstTabContent" will have the class "active" | ||
And the element "secondTabContent" will have the class "hide" | ||
When I click "secondTabLink" | ||
Then the element "firstTab" will NOT have the class "active" | ||
And the element "secondTab" will have the class "active" | ||
And the element "firstTabContent" will have the class "hide" | ||
And the element "secondTabContent" will have the class "active" |
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,30 @@ | ||
module.exports = function () { | ||
|
||
// Load standard world object to be 'this' in steps. | ||
this.World = require('../../world').World; | ||
require('../../support/steps').call(this); | ||
|
||
this.Before(function (callback) { | ||
this.component = {}; | ||
this.component.container = '#childComponent '; | ||
this.component.tabs = this.component.container + 'ul'; | ||
this.component.tabsContent = this.component.container + '.tabs-content'; | ||
|
||
this.component.firstTab = this.component.tabs + ' li:nth-child(1)'; | ||
this.component.firstTabContent = this.component.tabsContent + ' section:nth-child(1)'; | ||
|
||
this.component.secondTab = this.component.tabs + ' li:nth-child(2)'; | ||
this.component.secondTabLink = this.component.secondTab + ' a'; | ||
this.component.secondTabContent = this.component.tabsContent + ' section:nth-child(2)'; | ||
|
||
this.component.thirdTab = this.component.tabs + ' li:nth-child(3)'; | ||
|
||
|
||
callback(); | ||
}); | ||
|
||
this.Given(/^I have loaded component "([^"]*)" with use case "([^"]*)"$/, | ||
function (componentName, useCase, callback) { | ||
this.client.loadComponentWithUseCase(componentName, useCase, 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
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,4 @@ | ||
> wingComponent Documentation | ||
Read [Foundation's wingComponent](http://foundation.zurb.com/docs/components/wingComponent.html) docs for more details. | ||
|
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,5 +5,6 @@ | |
}, | ||
"events": { | ||
"onclick": "Event to fire when component is clicked" | ||
} | ||
} | ||
}, | ||
"category": "uncategorised" | ||
} |
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,4 +1,5 @@ | ||
Feature: wingComponent test suite | ||
|
||
Scenario: Loading wingComponent | ||
Given I have loaded component "wingComponent" with use case "UseCase" | ||
Scenario: Loading wingComponent | ||
Given I have loaded component "wingComponent" with use case "dataDriven" | ||
Then the element "dummy" should have the text "TODO wingComponent contents here." |
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,3 +1,3 @@ | ||
<div class="wingComponent"> | ||
TODO component contents here. | ||
</div> | ||
<h2>{{todo}}</h2> | ||
</div> |
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,3 +1,3 @@ | ||
.wingComponent { | ||
// TODO Component styling goes here. | ||
} | ||
// TODO wingComponent styling goes here. | ||
} |
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