forked from netzke/netzke-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposition.feature
33 lines (26 loc) · 1.14 KB
/
composition.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Feature: Composition
In order to value
As a role
I want feature
@javascript
Scenario: The SomeComposite component should have 2 components rendered properly
When I go to the SomeComposite test page
Then I should see "Server Caller"
And I should see "Extended Server Caller"
@javascript
Scenario: The components in the SomeComposite should both work properly
Given I am on the SomeComposite test page
When I press "Call server" within "#some_composite__center_panel"
Then I should see "All quiet here on the server"
And I should not see "All quiet here on the server, shiny weather"
When I press "Call server" within "#some_composite__west_panel"
Then I should see "All quiet here on the server, shiny weather"
@javascript
Scenario: Server should be able to address (deeply) nested components
Given I am on the SomeComposite test page
When I press "Update west from server"
And I sleep 1 second
Then I should see "Here's an update for west panel"
When I press "Update east south from server"
And I sleep 1 second
Then I should see "Here's an update for south panel in east panel"