Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TECH: custom clicks wiki is updated #549

Merged
merged 1 commit into from Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/Wiki/Kaspresso_configuration.en.md
Expand Up @@ -28,7 +28,7 @@ Kakao library provides a set of prepared custom clicks which improves the stabil

All details about the problem and solutions are described in [Kakao documentation](https://github.com/KakaoCup/Kakao/tree/master/kakao-ext-clicks).

The example of how to apply the custom clicks in your test is presented in [ClickTest](../../samples/kaspresso-sample/src/androidTest/kotlin/com/kaspersky/kaspressample/customclick_tests/ClickTest.kt).
The example of how to apply the custom clicks in your test is presented in [CustomClickTest](../../samples/kaspresso-sample/src/androidTest/kotlin/com/kaspersky/kaspressample/customclick_tests/CustomClickTest.kt).
```kotlin
class ClickTest : TestCase(
kaspressoBuilder = Kaspresso.Builder.simple(
Expand All @@ -41,6 +41,11 @@ class ClickTest : TestCase(
}
```

Kaspresso provides the next prepared options to customise clicks:
1. `ClickParams.kakaoVisual()' - Kakao clicks with visualisation.
2. `ClickParams.kakao()' - Kakao clicks.
3. `ClickParams.default()' - Espresso clicks. Using by default.

#### Loggers
Kaspresso provides two loggers: `libLogger` and `testLogger`.
```libLogger``` - inner Kaspresso logger <br>
Expand Down
5 changes: 5 additions & 0 deletions docs/Wiki/Kaspresso_configuration.ru.md
Expand Up @@ -41,6 +41,11 @@ class ClickTest : TestCase(
}
```

Kaspresso предоставляет следующие подготовленные опции для кастомизации кликов:
1. `ClickParams.kakaoVisual()' - Kakao clicks с визуализацией.
2. `ClickParams.kakao()' - Kakao clicks.
3. `ClickParams.default()' - Espresso clicks. Используются по умолчанию.

#### Логгеры
Kaspresso предоставляет два вида логгеров: `libLogger` и `testLogger`.
```libLogger``` - внутренний логгер Kaspresso <br>
Expand Down