Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
test(#581): fixup failing tests after room validation message changes ⏪
Browse files Browse the repository at this point in the history
  • Loading branch information
a-drew authored and Alex-Hayeur committed Apr 7, 2021
1 parent f396a80 commit 629ce72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Browser/SearchPageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function testDifferentTimeRestrictionForUserGroup()
})->pause(500);

$browser->click("#createBookingRequest")->pause(5000)
->assertSee("later than 30 days");
->assertSee("earlier than 30 days");


$browser->within( new DateTimePicker($startId), function($browser) {
Expand All @@ -72,7 +72,7 @@ public function testDifferentTimeRestrictionForUserGroup()
})->pause(500);

$browser->click("#createBookingRequest")->pause(5000)
->assertSee("sooner than 31 days");
->assertSee("later than 31 days");
});
}

Expand Down Expand Up @@ -112,7 +112,7 @@ public function testBookingPeriodRestrictions()
})->pause(500);

$browser->click("#createBookingRequest")->pause(5000)
->assertSee("later than 2 days");
->assertSee("earlier than 2 days");

$browser->within( new DateTimePicker($startId), function($browser) {
$browser->setDatetime(10,13);
Expand All @@ -123,7 +123,7 @@ public function testBookingPeriodRestrictions()
})->pause(500);

$browser->click("#createBookingRequest")->pause(5000)
->assertSee("sooner than 5 days");
->assertSee("later than 5 days");

});
}
Expand Down

0 comments on commit 629ce72

Please sign in to comment.