fix: landing smoke test
CI / changes (pull_request) Successful in 3s
CI / unit (pull_request) Successful in 9s
CI / integration (pull_request) Successful in 14s
CI / ui (pull_request) Successful in 57s
CI / conformance (pull_request) Successful in 10s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m18s
CI / changes (pull_request) Successful in 3s
CI / unit (pull_request) Successful in 9s
CI / integration (pull_request) Successful in 14s
CI / ui (pull_request) Successful in 57s
CI / conformance (pull_request) Successful in 10s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m18s
This commit is contained in:
@@ -11,7 +11,7 @@ test('landing shows the pitch, switches language via the dropdown, and toggles t
|
|||||||
// The language dropdown switches the copy to Russian.
|
// The language dropdown switches the copy to Russian.
|
||||||
await page.getByRole('button', { name: 'Language' }).click();
|
await page.getByRole('button', { name: 'Language' }).click();
|
||||||
await page.getByRole('menuitem', { name: /Русский/ }).click();
|
await page.getByRole('menuitem', { name: /Русский/ }).click();
|
||||||
await expect(page.getByText(/Играй в Скрэббл/)).toBeVisible();
|
await expect(page.getByText(/Играй в «Эрудита»/)).toBeVisible();
|
||||||
|
|
||||||
// The theme toggle flips the document theme (ephemeral, light<->dark).
|
// The theme toggle flips the document theme (ephemeral, light<->dark).
|
||||||
const before = await page.evaluate(() => document.documentElement.getAttribute('data-theme'));
|
const before = await page.evaluate(() => document.documentElement.getAttribute('data-theme'));
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ export const ru: Record<MessageKey, string> = {
|
|||||||
'feedback.banned': 'Отправка обратной связи недоступна',
|
'feedback.banned': 'Отправка обратной связи недоступна',
|
||||||
'feedback.replyTitle': 'Ответ на ваше последнее сообщение',
|
'feedback.replyTitle': 'Ответ на ваше последнее сообщение',
|
||||||
|
|
||||||
'landing.tagline': 'Играй в «Эрудит» с друзьями, случайным соперником или ИИ-роботом.',
|
'landing.tagline': 'Играй в «Эрудита» с друзьями, случайным соперником или ИИ-роботом.',
|
||||||
'landing.playTelegram': 'Играть в Telegram',
|
'landing.playTelegram': 'Играть в Telegram',
|
||||||
'landing.playVK': 'Играть во ВКонтакте',
|
'landing.playVK': 'Играть во ВКонтакте',
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user