-
Notifications
You must be signed in to change notification settings - Fork 3
docs(config): fix wrong parallelLimit option default value #42
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,20 +27,80 @@ import TestRunEnvExample from "@site/docs/config/_partials/examples/_system-test | |
|
|
||
| <table> | ||
| <thead> | ||
| <tr><td>**Параметр**</td><td>**Тип**</td><td>**По умолчанию**</td><td>**Описание**</td></tr> | ||
| <tr> | ||
| <td>**Параметр**</td> | ||
| <td>**Тип**</td> | ||
| <td>**По умолчанию**</td> | ||
| <td>**Описание**</td> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| <tr><td>[`debug`](#debug)</td><td>`boolean`</td><td>`false`</td><td>Включить / отключить режим отладки для WebDriver.</td></tr> | ||
| <tr><td>[`expectOpts`](#expect_opts)</td><td>`ExpectOpts`</td><td>_[см. ниже](#expect_opts)_</td><td>Опции expect-webdriverio.</td></tr> | ||
| <tr><td>[`mochaOpts`](#mocha_opts)</td><td>`MochaOpts`</td><td>_[см. ниже](#mocha_opts)_</td><td>Дополнительные опции для _mocha_.</td></tr> | ||
| <tr><td>[`ctx`](#ctx)</td><td>`Record<string, any>`</td><td>`{ }`</td><td>Контекст, который будет доступен во всех тестах через метод _testplane.ctx._</td></tr> | ||
| <tr><td>[`patternsOnReject`](#patterns_on_reject)</td><td>`RegExp[]`</td><td>`[ ]`</td><td>Список шаблонов ошибок. Сессия будет закрыта, если тест упадет с ошибкой, соответствующей одному из указанных шаблонов. После чего будет создана новая сессия, чтобы исключить инфраструктурные проблемы.</td></tr> | ||
| <tr><td>[`workers`](#workers)</td><td>`number`</td><td>`1`</td><td>Число подпроцессов, которые будут запущены для выполнения тестов.</td></tr> | ||
| <tr><td>[`testsPerWorker`](#tests_per_worker)</td><td>`number`</td><td>`Infinity`</td><td>Максимальное количество тестов, которые будут запущены в одном подпроцессе, прежде чем подпроцесс будет перезапущен.</td></tr> | ||
| <tr><td>[`diffColor`](#diff_color)</td><td>`string`</td><td>`"#ff00ff"`</td><td>Цвет, которым нужно отображать дифф на скриншотах.</td></tr> | ||
| <tr><td>[`parallelLimit`](#parallel_limit)</td><td>`number`</td><td>`1`</td><td>Максимальное количество браузеров, которые могут быть запущены одновременно.</td></tr> | ||
| <tr><td>[`fileExtensions`](#file_extensions)</td><td>`string[]`</td><td>`[".js", ".mjs", ".ts", ".mts", ".jsx", ".tsx"]`</td><td>Расширения файлов, в которых Testplane будет искать тесты для запуска.</td></tr> | ||
| <tr><td>[`testRunEnv`](#testrunenv)</td><td>`nodejs` или `browser` или `Array`</td><td>`nodejs`</td><td>Возможно указать в каком окружении должны выполняться тесты.</td></tr> | ||
| <tr> | ||
| <td>[`debug`](#debug)</td> | ||
| <td>`boolean`</td> | ||
| <td>`false`</td> | ||
| <td>Включить / отключить режим отладки для WebDriver.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`expectOpts`](#expect_opts)</td> | ||
| <td>`ExpectOpts`</td> | ||
| <td>_[см. ниже](#expect_opts)_</td> | ||
| <td>Опции expect-webdriverio.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`mochaOpts`](#mocha_opts)</td> | ||
| <td>`MochaOpts`</td> | ||
| <td>_[см. ниже](#mocha_opts)_</td> | ||
| <td>Дополнительные опции для _mocha_.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`ctx`](#ctx)</td> | ||
| <td>`Record<string, any>`</td> | ||
| <td>`{ }`</td> | ||
| <td>Контекст, который будет доступен во всех тестах через метод _testplane.ctx._</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`patternsOnReject`](#patterns_on_reject)</td> | ||
| <td>`RegExp[]`</td> | ||
| <td>`[ ]`</td> | ||
| <td>Список шаблонов ошибок. Сессия будет закрыта, если тест упадет с ошибкой, соответствующей одному из указанных шаблонов. После чего будет создана новая сессия, чтобы исключить инфраструктурные проблемы.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`workers`](#workers)</td> | ||
| <td>`number`</td> | ||
| <td>`1`</td> | ||
| <td>Число подпроцессов, которые будут запущены для выполнения тестов.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`testsPerWorker`](#tests_per_worker)</td> | ||
| <td>`number`</td> | ||
| <td>`Infinity`</td> | ||
| <td>Максимальное количество тестов, которые будут запущены в одном подпроцессе, прежде чем подпроцесс будет перезапущен.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`diffColor`](#diff_color)</td> | ||
| <td>`string`</td> | ||
| <td>`"#ff00ff"`</td> | ||
| <td>Цвет, которым нужно отображать дифф на скриншотах.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`parallelLimit`](#parallel_limit)</td> | ||
| <td>`number`</td> | ||
| <td>`Infinity`</td> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the same |
||
| <td>Максимальное количество браузеров, которые могут быть запущены одновременно.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`fileExtensions`](#file_extensions)</td> | ||
| <td>`string[]`</td> | ||
| <td>`[".js", ".mjs", ".ts", ".mts", ".jsx", ".tsx"]`</td> | ||
| <td>Расширения файлов, в которых Testplane будет искать тесты для запуска.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>[`testRunEnv`](#testrunenv)</td> | ||
| <td>`nodejs` или `browser` или `Array`</td> | ||
| <td>`nodejs`</td> | ||
| <td>Возможно указать в каком окружении должны выполняться тесты.</td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
|
|
||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the only change is here (changed from
1)