Skip to content

Commit bf67062

Browse files
authored
docs: switch to english language by default (#32)
1 parent 39c3bee commit bf67062

File tree

469 files changed

+20085
-20085
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

469 files changed

+20085
-20085
lines changed

docs/_partials/specs/assert-view-options.mdx

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,95 @@
11
<table>
22
<thead>
33
<tr>
4-
<td>**Опция**</td>
5-
<td>**Тип**</td>
6-
<td>**Описание**</td>
4+
<td>**Option**</td>
5+
<td>**Type**</td>
6+
<td>**Description**</td>
77
</tr>
88
</thead>
99
<tbody>
1010
<tr>
1111
<td>ignoreElements</td>
12-
<td>Array или String</td>
12+
<td>Array or String</td>
1313
<td>
14-
Элементы (задаются как селекторы), которые будут проигнорированы при сравнении
15-
скриншотов. Игнор реализуется с помощью закраски перечисленных элементов черным
16-
цветом. В случае одного элемента параметр можно задавать как строку.
14+
Elements (specified as selectors) that will be ignored when comparing screenshots.
15+
Ignoring is implemented by painting the listed elements black. In the case of a
16+
single element, the parameter can be specified as a string.
1717
</td>
1818
</tr>
1919
<tr>
2020
<td>tolerance</td>
2121
<td>Number</td>
22-
<td>Чувствительность к разнице в цветам.</td>
22+
<td>Sensitivity to color differences.</td>
2323
</tr>
2424
<tr>
2525
<td>antialiasingTolerance</td>
2626
<td>Number</td>
27-
<td>Чувствительность в антиалиасинге.</td>
27+
<td>Sensitivity to antialiasing.</td>
2828
</tr>
2929
<tr>
3030
<td>allowViewportOverflow</td>
3131
<td>Boolean</td>
3232
<td>
33-
По умолчанию Testplane выдает ошибку, если элемент находится за пределами границ
34-
вьюпорта. Этот параметр отключает проверку на границы, позволяя снимать скриншоты
35-
элементов, не влезающих во вьюпорт. При этом на скриншоте будут видны только те
36-
части элемента, которые влезли во вьюпорт. Однако если _compositeImage_ равен
37-
_true_, то части элемента, которые оказались за _нижней_ границей вьюпорта, тоже
38-
будут видны на скриншоте. Аналогично если _captureElementFromTop_ равен _true_, то
39-
на скриншот попадут и те части элемента, которые оказались за пределами _верхней_
40-
границы вьюпорта.
33+
By default, Testplane throws an error if an element is outside the viewport
34+
boundaries. This parameter disables boundary checking, allowing screenshots of
35+
elements that do not fit within the viewport. Only the parts of the element that fit
36+
within the viewport will be visible in the screenshot. However, if _compositeImage_
37+
is set to _true_, parts of the element that are below the viewport will also be
38+
visible in the screenshot. Similarly, if _captureElementFromTop_ is set to _true_,
39+
parts of the element that are above the viewport will also be included in the
40+
screenshot.
4141
</td>
4242
</tr>
4343
<tr>
4444
<td>captureElementFromTop</td>
4545
<td>Boolean</td>
4646
<td>
47-
Снимать скриншот элемента с самого верха. Если элемент находится за пределами
48-
вьюпорта, то к нему будет выполнен подскролл.
47+
Capture a screenshot of the element from the very top. If the element is outside the
48+
viewport, it will be scrolled into view.
4949
</td>
5050
</tr>
5151
<tr>
5252
<td>compositeImage</td>
5353
<td>Boolean</td>
5454
<td>
55-
Если элемент не влазит во вьюпорт, то при включении этой опции поочередно будет
56-
сделано несколько скриншотов разных частей элемента, после чего скриншоты будут
57-
склеены в один, чтобы отобразить элемент полностью.
55+
If the element does not fit within the viewport, enabling this option will take
56+
multiple screenshots of different parts of the element sequentially, and then stitch
57+
them together into one image to display the entire element.
5858
</td>
5959
</tr>
6060
<tr>
6161
<td>screenshotDelay</td>
6262
<td>Number</td>
6363
<td>
64-
Задержка в миллисекундах перед снятием скриншота. Может пригодиться, когда на
65-
странице есть элементы, использующие анимацию, или скроллбар, который исчезает не
66-
сразу и попадает на результирующий скриншот.
64+
Delay in milliseconds before taking a screenshot. This can be useful when there are
65+
elements on the page that use animation, or a scrollbar that does not disappear
66+
immediately and ends up in the resulting screenshot.
6767
</td>
6868
</tr>
6969
<tr>
7070
<td>selectorToScroll</td>
7171
<td>String</td>
7272
<td>
73-
Селектор, который нужно скроллировать. Может пригодиться, когда надо сделать
74-
скриншот модального окна, которое не помещается на экране. Иначе без указания
75-
селектора скролл будет применяться к объекту _window_, и скроллироваться будет
76-
задний фон, оставляя попап-окно на месте.
73+
Selector to scroll. This can be useful when you need to take a screenshot of a modal
74+
window that does not fit on the screen. Otherwise, without specifying the selector,
75+
the scroll will be applied to the _window_ object, and the background will scroll,
76+
leaving the popup window in place.
7777
</td>
7878
</tr>
7979
<tr>
8080
<td>disableAnimation</td>
8181
<td>Boolean</td>
8282
<td>
83-
Отключение анимаций и переходов при снятии скриншота. По умолчанию `true` начиная с
84-
версии `8.0.0`
83+
Disable animations and transitions when taking a screenshot. Default is `true`
84+
starting from version `8.0.0`.
8585
</td>
8686
</tr>
8787
<tr>
8888
<td>ignoreDiffPixelCount</td>
89-
<td>`` `${number}%` `` или Number</td>
89+
<td>`` `${number}%` `` or Number</td>
9090
<td>
91-
Процент пикселей, которые нужно игнорировать при диффе. Удобно для игнорирования
92-
очень маленьких диффов. По умолчанию `0`. Доступен начиная с версии `8.2.0`
91+
Percentage of pixels to ignore in the diff. Useful for ignoring very small diffs.
92+
Default is `0`. Available starting from version `8.2.0`.
9393
</td>
9494
</tr>
9595
</tbody>

0 commit comments

Comments
 (0)