-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests for series creation, series speaker create (#209), and propagat…
…ion of series organiser to event (#210).
- Loading branch information
Showing
3 changed files
with
46 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
*** Settings *** | ||
Library fixtures | ||
Library Selenium2Library | ||
Library server | ||
Resource keywords.robot | ||
Variables pages.py | ||
Suite Setup suite setup | ||
Suite teardown suite teardown | ||
Test Setup test setup | ||
Test teardown test teardown | ||
|
||
*** Test Cases *** | ||
Scenario: Add a simple series | ||
go to ${add series page} | ||
type "something" into ${series title field} | ||
type "something else" into ${series description field} | ||
type "whenever" into ${series occurence field} | ||
click on ${button done} | ||
current page should be ${series page} | ||
|
||
Scenario: Create Person inline | ||
go to ${add series page} | ||
type "something" into ${series title field} | ||
click on ${series create person} | ||
${series create person name} should appear | ||
type "James Bond" into ${series create person name} | ||
type "MI5" into ${series create person bio} | ||
click on ${series create person submit} | ||
${list group item("James Bond, MI5")} should be displayed | ||
click on ${button done} | ||
page should contain text "James Bond (MI5)" | ||
|
||
|
||
*** Keywords *** |
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