diff --git a/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationComponent.vue b/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationComponent.vue index b03b6447..79a428bc 100644 --- a/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationComponent.vue +++ b/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationComponent.vue @@ -124,7 +124,7 @@
- +
@@ -233,7 +233,7 @@
logo
-

Online Banking

+

Online Banking

@@ -266,7 +266,7 @@
-
{{$store.getters.isShowing('otherPaymentMethods') ? 'Hide' : 'Show'}} Alternative Methods
+
{{$store.getters.isShowing('otherPaymentMethods') ? 'Hide' : 'Show'}} Alternative Methods
@@ -280,7 +280,7 @@ viewBox="0 0 172 172" style=" fill:#000000;">
-

Manual Transfer

+

Manual Transfer

@@ -406,7 +406,7 @@
- +
@@ -506,9 +506,9 @@
- +
- + diff --git a/resources/assets/vue/components/bookings/forms/ConfirmQuotationFormComponent.vue b/resources/assets/vue/components/bookings/forms/ConfirmQuotationFormComponent.vue index f8db5603..db136e28 100644 --- a/resources/assets/vue/components/bookings/forms/ConfirmQuotationFormComponent.vue +++ b/resources/assets/vue/components/bookings/forms/ConfirmQuotationFormComponent.vue @@ -71,7 +71,7 @@
- +
diff --git a/tests/Browser/DryRun/CreateBookingTest.php b/tests/Browser/DryRun/CreateBookingTest.php index 75299c22..989dd565 100644 --- a/tests/Browser/DryRun/CreateBookingTest.php +++ b/tests/Browser/DryRun/CreateBookingTest.php @@ -15,8 +15,8 @@ class CreateBookingTest extends DuskTestCase $this->browse(function (Browser $browser) { $browser->visit('http://exchange-2.0.test') ->pause(5000) - ->typeSlowly('email', 'junkit.mah@bioloop.com.my') - ->typeSlowly('password', '123456abcabc') + ->type('email', 'giftolavie@hotmail.com') + ->type('password', 'pass123') ->click('#sign-in') ->pause(5000) ->assertPathIs('/dashboard'); @@ -60,6 +60,14 @@ class CreateBookingTest extends DuskTestCase ->click('#add-product') ->pause(7000) ->click('#save-purchase-order') + ->click('#payment-btn') + ->click('#online-banking') + ->click('#create-booking') + ->pause(3000) + ->click('#lock-booking') + ->whenAvailable('#confirm-booking-modal', function ($modal) { + $modal->click('#confirm-booking'); + }) ->pause(10000); //Assert if booking created successfully