Open
Conversation
added 9 commits
March 23, 2026 08:16
- Add links to reference sections for methods (browser.url, browser.openAndWait, $) - Add examples of different selector types (CSS, text, XPath) with recommendations - Expand --grep section with regex examples and .only() alternative - Add tips on selector priority and best practices
✅ Successfully deployed static |
shadowusr
approved these changes
Apr 2, 2026
Member
shadowusr
left a comment
There was a problem hiding this comment.
В целом все супер. Статья почти готова к влитию. Можно пофиксить минорные замечания ниже и вливать. Я ок поставил
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/writing-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/writing-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
sipayRT
requested changes
Apr 2, 2026
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/running-tests.mdx
Show resolved
Hide resolved
i18n/ru/docusaurus-plugin-content-docs/current/quickstart/writing-tests.mdx
Show resolved
Hide resolved
| describe("Типы селекторов", () => { | ||
| it("CSS-селекторы", async ({ browser }) => { | ||
| // Рекомендуется: data-атрибуты (стабильны, не зависят от верстки) | ||
| const button = await browser.$('[data-testid="submit-button"]'); |
Member
There was a problem hiding this comment.
я бы тут (и в остальных местах) показывал сразу 2 варианта поиска — текущий и browser.findByTestId()
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.