Skip to content

Commit

Permalink
Merge pull request #549 from KasperskyLab/TECH-update-clicks-wiki
Browse files Browse the repository at this point in the history
TECH: custom clicks wiki is updated
  • Loading branch information
matzuk authored Jul 31, 2023
2 parents 5d415d4 + 71b407b commit 329a361
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/Wiki/Kaspresso_configuration.en.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit 329a361

Please sign in to comment.