From 74737b9016983500763be2223f9eea7b83692d7e Mon Sep 17 00:00:00 2001 From: alizul01 Date: Tue, 20 Jun 2023 10:46:58 +0700 Subject: [PATCH] fix final reservation view --- app/Http/Controllers/RoomReservationController.php | 2 +- tests/cypress/integration/user/dashboard.cy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/RoomReservationController.php b/app/Http/Controllers/RoomReservationController.php index d4e0c9d..41ceb21 100644 --- a/app/Http/Controllers/RoomReservationController.php +++ b/app/Http/Controllers/RoomReservationController.php @@ -86,7 +86,7 @@ public function showFinal() $step1 = session()->get('step1'); $step2 = session()->get('step2'); $room = Room::where('id', $step2["room_id"])->first(); - return view('user.partials.components.finish', compact('step', 'step1', 'step2', 'room')); + return view('reservation.finish', compact('step', 'step1', 'step2', 'room')); } public function finish(Request $request) diff --git a/tests/cypress/integration/user/dashboard.cy.js b/tests/cypress/integration/user/dashboard.cy.js index 9e5d24b..355cc12 100644 --- a/tests/cypress/integration/user/dashboard.cy.js +++ b/tests/cypress/integration/user/dashboard.cy.js @@ -8,7 +8,7 @@ describe('Dashboard Test', () => { beforeEach(() => { cy.visit('/login'); cy.get('input[name="email"]').type('ali@example.com'); - cy.get('input[name="password"]').type('password'); + cy.get('input[name="password"]').type('polarysuserpass2023!rtspolinema'); cy.get('.text-white').click(); })