diff --git a/tests/Browser/BeatmapDiscussionPostsTest.php b/tests/Browser/BeatmapDiscussionPostsTest.php index 2df6047ba82..44ed350ddef 100644 --- a/tests/Browser/BeatmapDiscussionPostsTest.php +++ b/tests/Browser/BeatmapDiscussionPostsTest.php @@ -48,7 +48,7 @@ public function testConcurrentPostAfterResolve() protected function writeReply(Browser $browser, $reply) { $browser->with(static::NEW_REPLY_SELECTOR, function ($newReply) use ($reply) { - $newReply->press('Respond') + $newReply->press(trans('beatmap_discussions.reply.open.user')) ->waitFor('textarea') ->type('textarea', $reply); }); @@ -59,7 +59,7 @@ protected function postReply(Browser $browser, $action) $browser->with(static::NEW_REPLY_SELECTOR, function ($newReply) use ($action) { switch ($action) { case 'resolve': - $newReply->press('Reply and Resolve'); + $newReply->press(trans('common.buttons.reply_resolve')); break; default: $newReply->keys('textarea', '{enter}');