-
Notifications
You must be signed in to change notification settings - Fork 2
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
docs: improve assertView docs #27
Conversation
501d715
to
fe1177a
Compare
✅ Successfully deployed static |
docs/commands/browser/assertView.mdx
Outdated
@@ -24,7 +25,7 @@ await browser.assertView(state, selector, options); | |||
</thead> | |||
<tbody> | |||
<tr><td>[state](#state)</td><td>String</td><td>Обязательный параметр. Название состояния теста. Должно быть уникальным в пределах одного теста.</td></tr> | |||
<tr><td>[selector](#selector)</td><td>String или String[]</td><td>Обязательный параметр. Селектор DOM-элемента, который необходимо заснять.</td></tr> | |||
<tr><td>[selector](#selector)</td><td>String или String[]</td><td>Необязательный параметр. Может быть пропущен. Селектор DOM-элемента, который необходимо заснять.</td></tr> |
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.
Let's leave a note right here that if omitted, the whole viewport will be screenshotted
docs/commands/browser/assertView.mdx
Outdated
@@ -159,9 +168,22 @@ it("should assert view", async ({ browser }) => { | |||
}); | |||
``` | |||
|
|||
**example-2.js** | |||
**example-2.ts** |
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.
Let's give this heading a human readable form. Like "Визуальная проверка всего вьюпорта" or something like that.
7c6c8d5
to
c14840b
Compare
No description provided.