-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish robot tests for listing cites
- Loading branch information
Showing
1 changed file
with
16 additions
and
2 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 |
---|---|---|
@@ -1,11 +1,25 @@ | ||
*** Settings *** | ||
Resource sample_cites.robot | ||
|
||
Test Setup Clear Database And Add Sample Cites | ||
Test Setup Empty Database | ||
|
||
|
||
*** Test Cases *** | ||
Listing Cites Should Succeed | ||
Clear Database And Add Sample Cites | ||
Select List Cites | ||
Run App | ||
Output Should Contain Cortina Thomas J. | ||
Output Should Contain Id | ||
Output Should Contain Tyyppi | ||
Output Should Contain Kirjoittajat | ||
Output Should Contain title | ||
Output Should Contain year | ||
|
||
Listing Cites When There Are No Cites Should Succeed | ||
Select List Cites | ||
Run App | ||
Output Should Not Contain Id | ||
Output Should Not Contain Tyyppi | ||
Output Should Not Contain Kirjoittajat | ||
Output Should Not Contain title | ||
Output Should Not Contain year |