Skip to content

Commit f294b59

Browse files
committed
docs: add passive option disclaimer
1 parent d655633 commit f294b59

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

docs/config/browsers.mdx

+6-3
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,8 @@ If the value is not set, the general timeout for all browsers, set with the [sys
406406
<td>`false`</td>
407407
<td>
408408
Allows making the browser passive. In passive browsers, tests do not run by default.
409-
_Available since [email protected]_.
409+
_Available since [email protected]_. **Warning**: it currently has issues, read
410+
below.
410411
</td>
411412
</tr>
412413
<tr>
@@ -467,8 +468,10 @@ This option guarantees strict order of reading tests. Default: `false`.
467468
### passive {#passive}
468469

469470
<Admonition type="warning">
470-
Available since [email protected]. Does not work with the deprecated plugin
471-
[hermione-passive-browsers](https://github.com/gemini-testing/testplane-passive-browsers).
471+
Available since [email protected].
472+
473+
This option currently doesn't work well with html-reporter. For now, we recommend to keep using the [hermione-passive-browsers](https://github.com/gemini-testing/testplane-passive-browsers) plugin. Note that the plugin and this option must not be used together. We're already working on a fix.
474+
472475
</Admonition>
473476

474477
Allows making the browser passive. In passive browsers, tests do not run by default. Using the helper [`testplane.also.in`][testplane-also-in-helper], you can enable a test or suite before it is run.

i18n/ru/docusaurus-plugin-content-docs/current/config/browsers.mdx

+5-3
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ const browserOptions = {
409409
<td>`false`</td>
410410
<td>
411411
Позволяет сделать браузер пассивным. В пассивных браузерах тесты не запускаются по
412-
умолчанию. _Доступна с [email protected]_.
412+
умолчанию. _Доступна с [email protected]_. **Внимание**: есть ограничения, см. ниже.
413413
</td>
414414
</tr>
415415
<tr>
@@ -470,8 +470,10 @@ interface FailedTestData {
470470
### passive {#passive}
471471

472472
<Admonition type="warning">
473-
Доступна с [email protected]. Не работает вместе с устаревшим плагином
474-
[hermione-passive-browsers](https://github.com/gemini-testing/testplane-passive-browsers).
473+
Доступна с [email protected].
474+
475+
В данный момент эта опция не работает с html-reporter. В данный момент мы рекомендуем продолжить использовать плагин [hermione-passive-browsers](https://github.com/gemini-testing/testplane-passive-browsers). Обратите внимание, что нельзя использовать плагин и эту опцию одновременно. Мы уже работаем над исправлением проблемы.
476+
475477
</Admonition>
476478

477479
Позволяет сделать браузер пассивным. В пассивных браузерах тесты не запускаются по умолчанию. С помощью хелпера [`testplane.also.in`][testplane-also-in-helper] можно включить тест или сьют, перед которым он указан.

0 commit comments

Comments
 (0)