-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/pedrootorres/rgms into pe…
…drootorres-master Conflicts: .gitignore test/cucumber/Orientation.feature
- Loading branch information
Showing
9 changed files
with
186 additions
and
9 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
Binary file not shown.
Binary file not shown.
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
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,36 @@ | ||
package pages.news | ||
|
||
/** | ||
* Created with IntelliJ IDEA. | ||
* User: dyego | ||
* Date: 09/01/14 | ||
* Time: 18:30 | ||
* To change this template use File | Settings | File Templates. | ||
*/ | ||
|
||
import geb.Page | ||
import pages.GetPageTitle | ||
|
||
class NewsShowPage extends Page { | ||
static url = "news/show/1" | ||
|
||
static at = { | ||
//title ==~ /Ver News/ | ||
GetPageTitle gp = new GetPageTitle() | ||
def currentNews = gp.msg("default.news.label") | ||
def currentTitle = gp.msg("default.show.label", [currentNews]) | ||
|
||
title ==~ currentTitle | ||
} | ||
|
||
static content = { | ||
} | ||
|
||
def select(String e, v) { | ||
if (v == 'delete') { | ||
assert withConfirm(true) { $("form").find(e, class: v).click() } | ||
} else { | ||
$("form").find(e, class: v).click() | ||
} | ||
} | ||
} |
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