fixes
Some checks failed
CI / Check (pull_request) Has been cancelled
CI / Format (pull_request) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
CI / Build (macos-latest) (pull_request) Has been cancelled
CI / Build (ubuntu-latest) (pull_request) Has been cancelled
CI / Build (windows-latest) (pull_request) Has been cancelled
Some checks failed
CI / Check (pull_request) Has been cancelled
CI / Format (pull_request) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
CI / Build (macos-latest) (pull_request) Has been cancelled
CI / Build (ubuntu-latest) (pull_request) Has been cancelled
CI / Build (windows-latest) (pull_request) Has been cancelled
This commit is contained in:
5
tests/snapshots/footer__footer_chat_list.snap
Normal file
5
tests/snapshots/footer__footer_chat_list.snap
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
source: tests/footer.rs
|
||||
expression: output
|
||||
---
|
||||
⏳ Подключение... | Инициализация TDLib...
|
||||
5
tests/snapshots/footer__footer_network_connecting.snap
Normal file
5
tests/snapshots/footer__footer_network_connecting.snap
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
source: tests/footer.rs
|
||||
expression: output
|
||||
---
|
||||
⏳ Подключение... | Инициализация TDLib...
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
source: tests/footer.rs
|
||||
expression: output
|
||||
---
|
||||
⏳ Прокси... | Инициализация TDLib...
|
||||
5
tests/snapshots/footer__footer_network_waiting.snap
Normal file
5
tests/snapshots/footer__footer_network_waiting.snap
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
source: tests/footer.rs
|
||||
expression: output
|
||||
---
|
||||
⚠ Нет сети | Инициализация TDLib...
|
||||
5
tests/snapshots/footer__footer_open_chat.snap
Normal file
5
tests/snapshots/footer__footer_open_chat.snap
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
source: tests/footer.rs
|
||||
expression: output
|
||||
---
|
||||
⏳ Подключение... | Инициализация TDLib...
|
||||
5
tests/snapshots/footer__footer_search_mode.snap
Normal file
5
tests/snapshots/footer__footer_search_mode.snap
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
source: tests/footer.rs
|
||||
expression: output
|
||||
---
|
||||
⏳ Подключение... | Инициализация TDLib...
|
||||
28
tests/snapshots/input_field__empty_input.snap
Normal file
28
tests/snapshots/input_field__empty_input.snap
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
source: tests/input_field.rs
|
||||
expression: output
|
||||
---
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│👤 Mom │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│Нет сообщений │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│> █ Введите сообщение... │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
28
tests/snapshots/input_field__input_editing_mode.snap
Normal file
28
tests/snapshots/input_field__input_editing_mode.snap
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
source: tests/input_field.rs
|
||||
expression: output
|
||||
---
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│👤 Mom │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│ ──────── 02.01.2022 ──────── │
|
||||
│ │
|
||||
│ Вы ──────────────── │
|
||||
│ Original message text (14:33 ✓✓) │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌ Редактирование (Esc отмена) ─────────────────────────────────────────────────┐
|
||||
│✏ Edited text here │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
28
tests/snapshots/input_field__input_long_text_2_lines.snap
Normal file
28
tests/snapshots/input_field__input_long_text_2_lines.snap
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
source: tests/input_field.rs
|
||||
expression: output
|
||||
---
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│👤 Mom │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│Нет сообщений │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│> This is a longer message that will wrap to multiple lines in the input field│
|
||||
│for testing purposes. │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
28
tests/snapshots/input_field__input_long_text_max_lines.snap
Normal file
28
tests/snapshots/input_field__input_long_text_max_lines.snap
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
source: tests/input_field.rs
|
||||
expression: output
|
||||
---
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│👤 Mom │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│Нет сообщений │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod │
|
||||
│tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, │
|
||||
│quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo │
|
||||
│consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse │
|
||||
│cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non │
|
||||
│proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed │
|
||||
│ut perspiciatis unde omnis iste natus error sit voluptatem accusantium │
|
||||
│doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
28
tests/snapshots/input_field__input_reply_mode.snap
Normal file
28
tests/snapshots/input_field__input_reply_mode.snap
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
source: tests/input_field.rs
|
||||
expression: output
|
||||
---
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│👤 Mom │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│ ──────── 02.01.2022 ──────── │
|
||||
│ │
|
||||
│Mom ──────────────── │
|
||||
│ (14:33) What do you think about this? │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌ Ответ (Esc отмена) ──────────────────────────────────────────────────────────┐
|
||||
│↪ Mom: What do yo > I think it's great! │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
28
tests/snapshots/input_field__input_search_mode.snap
Normal file
28
tests/snapshots/input_field__input_search_mode.snap
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
source: tests/input_field.rs
|
||||
expression: output
|
||||
---
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│🔍 hello │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
28
tests/snapshots/input_field__input_with_text.snap
Normal file
28
tests/snapshots/input_field__input_with_text.snap
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
source: tests/input_field.rs
|
||||
expression: output
|
||||
---
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│👤 Mom │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│Нет сообщений │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│> Hello, how are you? │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
22
tests/snapshots/screens__auth_screen_code.snap
Normal file
22
tests/snapshots/screens__auth_screen_code.snap
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
source: tests/screens.rs
|
||||
expression: output
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌──────────────────────────────────────┐
|
||||
│ TTUI - Telegram Authentication │
|
||||
└──────────────────────────────────────┘
|
||||
Введите код подтверждения из Telegram
|
||||
Код был отправлен на ваш номер
|
||||
|
||||
|
||||
┌ Verification Code ───────────────────┐
|
||||
│ 🔐 1234 │
|
||||
└──────────────────────────────────────┘
|
||||
Инициализация TDLib...
|
||||
22
tests/snapshots/screens__auth_screen_password.snap
Normal file
22
tests/snapshots/screens__auth_screen_password.snap
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
source: tests/screens.rs
|
||||
expression: output
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌──────────────────────────────────────┐
|
||||
│ TTUI - Telegram Authentication │
|
||||
└──────────────────────────────────────┘
|
||||
Введите пароль двухфакторной аутентифика
|
||||
|
||||
|
||||
|
||||
┌ Password ────────────────────────────┐
|
||||
│ 🔒 **** │
|
||||
└──────────────────────────────────────┘
|
||||
Инициализация TDLib...
|
||||
22
tests/snapshots/screens__auth_screen_phone.snap
Normal file
22
tests/snapshots/screens__auth_screen_phone.snap
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
source: tests/screens.rs
|
||||
expression: output
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌──────────────────────────────────────┐
|
||||
│ TTUI - Telegram Authentication │
|
||||
└──────────────────────────────────────┘
|
||||
Введите номер телефона в международном ф
|
||||
Пример: +79991111111
|
||||
|
||||
|
||||
┌ Phone Number ────────────────────────┐
|
||||
│ 📱 +7 │
|
||||
└──────────────────────────────────────┘
|
||||
Инициализация TDLib...
|
||||
18
tests/snapshots/screens__loading_screen_default.snap
Normal file
18
tests/snapshots/screens__loading_screen_default.snap
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
source: tests/screens.rs
|
||||
expression: output
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌ TTUI ────────────────────────────────────────────────────────────────────────┐
|
||||
│ Инициализация TDLib... │
|
||||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
18
tests/snapshots/screens__loading_screen_with_status.snap
Normal file
18
tests/snapshots/screens__loading_screen_with_status.snap
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
source: tests/screens.rs
|
||||
expression: output
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌ TTUI ────────────────────────────────────────────────────────────────────────┐
|
||||
│ Подключение к Telegram... │
|
||||
│ │
|
||||
│ │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
28
tests/snapshots/screens__main_screen_empty.snap
Normal file
28
tests/snapshots/screens__main_screen_empty.snap
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
source: tests/screens.rs
|
||||
expression: output
|
||||
---
|
||||
┌ TTUI ────────────────────────────────────────────────────────────────────────┐
|
||||
│ 1:All │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
┌──────────────────────┐┌──────────────────────────────────────────────────────┐
|
||||
│🔍 Ctrl+S для поиска ││ Выберите чат │
|
||||
└──────────────────────┘│ │
|
||||
┌──────────────────────┐│ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
│ ││ │
|
||||
└──────────────────────┘│ │
|
||||
┌──────────────────────┐│ │
|
||||
│ ││ │
|
||||
└──────────────────────┘└──────────────────────────────────────────────────────┘
|
||||
⏳ Подключение... | Инициализация TDLib...
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
source: tests/screens.rs
|
||||
expression: output
|
||||
---
|
||||
30x8
|
||||
Минимум: 40x10
|
||||
Reference in New Issue
Block a user