We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a628f34 commit 816cb9bCopy full SHA for 816cb9b
tests/Browser/Auth/AuthenticationTest.php
@@ -50,7 +50,7 @@
50
actingAs($user);
51
52
visit(route('dashboard'))
53
- ->click("//button[.//*[normalize-space(text())='{$user->name}']]")
+ ->click('@sidebar-menu-button')
54
->click('@logout-button')
55
->assertUrlIs(route('home'))
56
->assertNoConsoleLogs()
0 commit comments