Skip to content

Commit

Permalink
Update path in Test Scripts to align with the strong suggestion in GE…
Browse files Browse the repository at this point in the history
…B Manual.
  • Loading branch information
rstens committed Oct 30, 2017
1 parent e542ce6 commit 7ea7272
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import geb.Page
class ActivitySubmissionPage extends Page {
static at = { title == "Groundwater Wells Activity Submission - Province of British Columbia" }

static url = "/gwells/submission/create"
static url = "gwells/submission/create"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import geb.Page
class AdditionalInformationPage extends Page {
static at = { title == "Groundwater Wells Groundwater Information - Province of British Columbia" }

static url = "/gwells/groundwater-information"
static url = "gwells/groundwater-information"
}
2 changes: 1 addition & 1 deletion navunit/src/test/groovy/pages/app/HomePage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ class HomePage extends Page {
// NOTE - the title comparison is based on parsed HTML, not an exact character match of the HTML source. For example " " becomes " ".
// So even though there are currently two spaces after Wells in the page source, we have to compare against a single space after Wells.
static at = { title == "Groundwater Wells - Province of British Columbia" }
static url = "/gwells"
static url = "gwells"
}
2 changes: 1 addition & 1 deletion navunit/src/test/groovy/pages/app/SearchPage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import geb.Module

class SearchPage extends Page {
static at = { title == "Groundwater Wells Search - Province of British Columbia" }
static url = "/gwells/search"
static url = "gwells/search"

static content = {
well_id(wait: true) { $("input", id:"id_well") }
Expand Down
10 changes: 4 additions & 6 deletions navunit/src/test/resources/GebConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,10 @@ environments {
// phantomJs --> “./gradlew phantomJsTest” (headless)
// chrome --> "./gradlew chromeTest"
//baseUrl = "http://localhost:8000"
baseUrl = "http://gwells-dev.pathfinder.gov.bc.ca"
//baseUrl = "https://dlvrapps.nrs.gov.bc.ca" //Dev
//baseUrl = "https://testapps.nrs.gov.bc.ca" //Test
//baseUrl = "https://apps.nrs.gov.bc.ca" //Prod


baseUrl = "http://gwells-dev.pathfinder.gov.bc.ca/"
//baseUrl = "https://dlvrapps.nrs.gov.bc.ca/" //Dev
//baseUrl = "https://testapps.nrs.gov.bc.ca/" //Test
//baseUrl = "https://apps.nrs.gov.bc.ca/" //Prod

baseNavigatorWaiting = true

Expand Down

0 comments on commit 7ea7272

Please sign in to comment.