Skip to content

Commit

Permalink
Mudanças em ResearchGroupCreatePage e ResearchGroupListPage
Browse files Browse the repository at this point in the history
  • Loading branch information
fmcs3 committed Apr 19, 2015
1 parent a08c9e4 commit e178ca5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,22 @@ class ResearchGroupCreatePage extends Page {
$("form").twitter = "spg"
$("form").description = "A research group called " + name
}


def fillResearchGroupName(String name) {
$("form").name = name
}

def fillResearchGroupTwitter(String twitter) {
$("form").twitter = twitter
}

def fillResearchGroupDescription(String description) {
$("form").description = description
}

def fillResearchGroupSigla(String sigla) {
$("form").sigla = sigla
}

def clickOnCreate() {
$("input", name: "create").click()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ class ResearchGroupListPage extends Page {
static content = {
}

def select(String s) {
$('div', id: 'status').find('a', text: s).click()
}

def selectResearchGroup(String s) {
$('div').find('a', text: s).click()
}
Expand Down

1 comment on commit e178ca5

@fmcs3
Copy link
Author

@fmcs3 fmcs3 commented on e178ca5 Apr 19, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Desconsiderar esse Commit, meu intelliji bugou e acabou gerando esse commit adicional.

Please sign in to comment.