Skip to content

Commit

Permalink
use localized text
Browse files Browse the repository at this point in the history
  • Loading branch information
notbakaneko committed Apr 11, 2023
1 parent 0d72fbf commit d7f3743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Browser/BeatmapDiscussionPostsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand All @@ -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('common.buttons.reply_resolve');
break;
default:
$newReply->keys('textarea', '{enter}');
Expand Down

0 comments on commit d7f3743

Please sign in to comment.