From 40f4afa477eae2d68bd02a0e541c30c1bdd33835 Mon Sep 17 00:00:00 2001 From: EwelinaLasowy Date: Tue, 18 Jan 2022 09:48:13 +0100 Subject: [PATCH] #17 - fix --- resources/js/Pages/Login.vue | 2 +- tests/Browser/AuthenticationTest.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/js/Pages/Login.vue b/resources/js/Pages/Login.vue index 7bef9d2..e3ba099 100644 --- a/resources/js/Pages/Login.vue +++ b/resources/js/Pages/Login.vue @@ -38,6 +38,7 @@
Zaloguj się za pomocą Google assertVisible("@user-menu-list") ->assertSee("Sign out") ->press("Sign out") - ->assertPathIs("/"); + ->on(new HomePage()) + ->waitFor("@login-link"); }); } }