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 444e8a3 commit 5feb26cCopy full SHA for 5feb26c
tests/Browser/Auth/AuthenticationTest.php
@@ -50,7 +50,7 @@
50
actingAs($user);
51
52
visit(route('dashboard'))
53
- ->click($user->name)
+ ->click("//button[.//*[normalize-space(text())='$user->name']]")
54
->click('@logout-button')
55
->assertUrlIs(route('home'))
56
->assertNoConsoleLogs()
0 commit comments