   casper.then ->
     @test.comment("Your Allowances Validation");
     @fill 'form', {}, true
+    @waitForUrl /.*your_allowances/
   casper.then ->
+    @test.assertUrlMatch /.*your_allowances/, "correctly stayed on your allowances page"
     @test.assertExists ".ErrorSummary", "your allowances error summary exists"
     @test.assertSelectorHasText ".ErrorSummary", "There was a problem submitting the form", "your allowances error summary has correct title"
     @test.assertExists ".FormRow.Error", "your allowances individual error exists"


  # Fail Your Details validation
  casper.then ->
    @test.comment("Your Problem Validation");
    @fill 'form', {}, true
  casper.then ->
    @test.assertExists ".ErrorSummary", "your problem error summary exists"
    @test.assertSelectorHasText ".ErrorSummary", "There was a problem submitting the form", "your problem error summary has correct title"
    @test.assertExists ".FormRow.Error", "your problem individual error exists"
    @test.assertSelectorHasText ".FormRow.Error", "required", "your problem individual error has correct text"

  # Pass Your Details page
  casper.thenEvaluate ->

  casper.then ->
    @test.comment("Your Income Validation");
    @fill 'form', {}, true
    @waitForUrl /.*your_income/
  casper.then ->
    @test.assertUrlMatch /.*your_income/, "correctly stayed on your income page"
    @test.assertExists ".ErrorSummary", "your income error summary exists"
    @test.assertSelectorHasText ".ErrorSummary", "There was a problem submitting the form", "your income error summary has correct title"
    @test.assertExists ".FormRow.Error", "your income individual error exists"
