Skip to content

Commit 21c0731

Browse files
author
rocketraccoon
committed
feat(testplane): fixes
1 parent 71cfdd2 commit 21c0731

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/html-reporter/html-reporter-setup.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import ConfigExamples from "/docs/_partials/html-reporter-config-examples.mdx";
3737
<tr><td>[plugins](#plugins)</td><td>`Plugin[]`</td><td>`[]`</td><td>A list of plugins with their settings.</td></tr>
3838
<tr><td>[customScripts](#customscripts)</td><td>`AnyFunction[]`</td><td>`[]`</td><td>A list of functions that implement custom scripts. For example, Yandex.Metrika scripts or a Bug.</td></tr>
3939
<tr><td>[yandexMetrika](#yandexmetrika)</td><td>`YandexMetrika`</td><td>*see below*</td><td>[Yandex.Metrika][yandex-metrika].</td></tr>
40-
<tr><td>[generateBadge](#badgeformatter)</td><td>`BadgeFormatter`</td><td>`null`</td><td>A callback that is called after every test run. It receives the test result and returns a list of badges.</td></tr>
40+
<tr><td>[generateBadges](#generatebadges)</td><td>`GenerateBadges`</td><td>`null`</td><td>A callback that is called after every test run. It receives the test result and returns a list of badges.</td></tr>
4141

4242
</tbody>
4343
</table>
@@ -291,7 +291,7 @@ If you don't want to share analytics with us, you can disable it in any of the f
291291
- Using environment variables: `html_reporter_yandex_metrika_enabled=false` or simply `NO_ANALYTICS=true`
292292
- Using CLI arguments: `--html-reporter-yandex_metrika_enabled=false`
293293

294-
### generateBadge
294+
### generateBadges
295295

296296
<Version version="11.4.0" />
297297

@@ -305,7 +305,7 @@ Usage example: here we set the ticket name and URL, the branch name.
305305
plugins: {
306306
"html-reporter/testplane": {
307307
//...
308-
generateBadge: (test) => [
308+
generateBadges: (test) => [
309309
{
310310
title: test.meta.issueTitle,
311311
icon: 'LogoYandexTracker',

i18n/ru/docusaurus-plugin-content-docs/current/html-reporter/html-reporter-setup.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import ConfigExamples from "../_partials/html-reporter-config-examples.mdx";
3535
<tr><td>[plugins](#plugins)</td><td>`Plugin[]`</td><td>`[]`</td><td>Список плагинов с их настройками.</td></tr>
3636
<tr><td>[customScripts](#customscripts)</td><td>`AnyFunction[]`</td><td>`[]`</td><td>Список функций, реализующих кастомные скрипты. Например, скрипты Яндекс.Метрики или Жучка.</td></tr>
3737
<tr><td>[yandexMetrika](#yandexmetrika)</td><td>`YandexMetrika`</td><td>*см. ниже*</td><td>[Яндекс.Метрика][yandex-metrika].</td></tr>
38-
<tr><td>[generateBadge](#badgeformatter)</td><td>`BadgeFormatter`</td><td>`null`</td><td>Колбэк, который вызывается после каждого запуска теста. Он получает результат теста и возвращает список бейджей.</td></tr>
38+
<tr><td>[generateBadges](#generatebadges)</td><td>`GenerateBadges`</td><td>`null`</td><td>Колбэк, который вызывается после каждого запуска теста. Он получает результат теста и возвращает список бейджей.</td></tr>
3939

4040
</tbody>
4141
</table>
@@ -289,7 +289,7 @@ customScripts: [
289289
- С помощью переменных окружения: `html_reporter_yandex_metrika_enabled=false` или просто `NO_ANALYTICS=true`
290290
- С помощью аргументов CLI: `--html-reporter-yandex_metrika_enabled=false`
291291

292-
### generateBadge
292+
### generateBadges
293293

294294
<Version version="11.4.0" />
295295

@@ -303,7 +303,7 @@ customScripts: [
303303
plugins: {
304304
"html-reporter/testplane": {
305305
//...
306-
generateBadge: (test) => [
306+
generateBadges: (test) => [
307307
{
308308
title: test.meta.issueTitle,
309309
icon: 'LogoYandexTracker',

0 commit comments

Comments
 (0)