Skip to content

Commit

Permalink
hackery for drone
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlau committed Jul 4, 2013
1 parent 0edfcdf commit 91a379d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/kotlin/io/fixture/feature/step/StepDefs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@ class StepDefs [Autowired] (

[Then("""^the theme should change to "([^"]*)"$""")]
fun the_theme_should_change_to(theme: String) {
System.out.println("1: >>>>> ${driver.getCurrentUrl()} <<<<<")

assertTrue(driver.getPageSource().contains("href=\"/fixture/static/bootswatch/2.3.1/${theme}/bootstrap.min.css\""))
}

[Then("""^I should see the page "([^"]*)"$""")]
fun I_should_see_the_page(title: String) {
System.out.println("2: >>>>> ${driver.getCurrentUrl()} <<<<<")

assertEquals(title, driver.getTitle())
}

Expand Down

0 comments on commit 91a379d

Please sign in to comment.