{"id":406250,"date":"2024-06-29T18:49:18","date_gmt":"2024-06-29T18:49:18","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=406250"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=406250","title":{"rendered":"<span>5 \u043f\u0440\u0438\u0447\u0438\u043d \u043f\u043e\u0447\u0435\u043c\u0443 Playwright \u043b\u0443\u0447\u0448\u0435 Cypress<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><em>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0430\u0442\u044c\u0438\u00a0<\/em><a href=\"https:\/\/github.com\/alisterscott\/\" rel=\"noopener noreferrer nofollow\"><em><u>Alister Scott<\/u><\/em><\/a><em>:\u00a0<\/em><a href=\"https:\/\/alisterbscott.com\/2021\/10\/27\/five-reasons-why-playwright-is-better-than-cypress\/\" rel=\"noopener noreferrer nofollow\"><em><u>Five reasons why Playwright is better than Cypress<\/u><\/em><\/a><\/p>\n<p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u044f \u043d\u0435 \u0444\u0430\u043d\u0430\u0442 Cypress, \u043e \u0447\u0435\u043c, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, 2 \u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434\u00a0<a href=\"https:\/\/alisterbscott.com\/2019\/07\/06\/my-thoughts-on-cypress-io\/\" rel=\"noopener noreferrer nofollow\"><u>\u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u043e\u0441\u0442<\/u><\/a>. \u0417\u0430 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043c\u043e\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u0432\u043b\u0435\u043a Playwright. \u042f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u043a Cypress, \u0447\u0442\u043e\u0431\u044b \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0435\u0433\u043e \u0441 Playwright \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0431\u044b\u043b\u0438 \u043b\u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u0438 \u043f\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044e \u043a \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0443. \u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u043c\u043e\u0433\u0443 \u0441\u043c\u0435\u043b\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u0445, \u043f\u043e\u0447\u0435\u043c\u0443 Cypress \u0432\u0441\u0435 \u0435\u0449\u0435 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0446\u0438\u044e.<\/p>\n<blockquote>\n<p><em>\u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438:<br \/><\/em><strong><em>Cypress:<\/em><\/strong><em>\u00a08.7.0 on Electron 93<br \/><\/em><strong><em>Playwright:<\/em><\/strong><em>\u00a01.16.0<\/em><\/p>\n<\/blockquote>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 1: Playwright \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0447\u0435\u043c Cypress<\/h2>\n<p><a href=\"https:\/\/blog.checklyhq.com\/cypress-vs-selenium-vs-playwright-vs-puppeteer-speed-comparison\/\" rel=\"noopener noreferrer nofollow\"><u>\u0417\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u0434\u043e 4-\u0445 \u0440\u0430\u0437 \u0431\u044b\u0441\u0442\u0440\u0435\u0435!<\/u><\/a><br \/>\u0411\u0435\u0440\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 Cypress:<\/p>\n<pre><code class=\"javascript\">describe('My First Test', () => {     it('clicking \"type\" shows the right headings', () => {       cy.visit('https:\/\/example.cypress.io')       cy.contains('type').click()       \/\/ Should be on a new URL which includes '\/commands\/actions'       cy.url().should('include', '\/commands\/actions')       \/\/ Get an input, type into it and verify that the value has been updated       cy.get('.action-email')         .type('fake@email.com')         .should('have.value', 'fake@email.com')     }) })<\/code><\/pre>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 8 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u043c\u043e\u0435\u043c M1 Macbook Air<\/p>\n<pre><code>\u2714  demo-spec.js                              00:08<\/code><\/pre>\n<p>\u0422\u043e\u0442 \u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 Playwright:<\/p>\n<pre><code class=\"javascript\">import { test, expect } from '@playwright\/test'   test.describe.parallel('My First Test', () => {   test('clicking \"type\" shows the right headings', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     \/\/ Should be on a new URL which includes '\/commands\/actions'     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     \/\/ Get an input, type into it and verify that the value has been updated     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   }) })<\/code><\/pre>\n<pre><code>Running 1 test using 1 worker   \u2713  scenarios\/compare.cypress.spec.ts:4:3 \u203a My First Test \u203a clicking \"type\" shows the right headings (1s)   1 passed (2s)<\/code><\/pre>\n<p>\u0412 4 \u0440\u0430\u0437\u0430 \u0431\u044b\u0441\u0442\u0440\u0435\u0435!?<\/p>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 2: \u0423 Playwright \u043a\u0440\u0443\u0442\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0434\u043b\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0442\u0435\u0441\u0442\u043e\u0432 \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 (\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0438 \u043d\u0430 CI \u0431\u0435\u0437 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0438\u043b\u0438 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438)<\/h2>\n<p>\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u044b \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e, \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0438\u0445 \u0432\u00a0<a href=\"https:\/\/dashboard.cypress.io\/\" rel=\"noopener noreferrer nofollow\"><u>Cypress Dashboard<\/u><\/a>\u00a0(\u0438\u043b\u0438\u00a0<a href=\"https:\/\/github.com\/sorry-cypress\/sorry-cypress\" rel=\"noopener noreferrer nofollow\"><u>Sorry Cypress<\/u><\/a>). \u0422\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043a \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435, \u0445\u043e\u0442\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Cypress \u0438\u00a0<strong>\u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e\u0442<\/strong>\u00a0\u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c. \u0412 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f, \u043d\u0430 Playwright \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c.<\/p>\n<blockquote>\n<p><em>\u201cWhile parallel tests can also technically run on a single machine, we do not recommend it since this machine would require significant resources to run your tests efficiently.\u201d<\/em><\/p>\n<p><a href=\"https:\/\/docs.cypress.io\/guides\/guides\/parallelization#Overview\" rel=\"noopener noreferrer nofollow\"><em><u>https:\/\/docs.cypress.io\/guides\/guides\/parallelization#Overview<\/u><\/em><\/a><\/p>\n<\/blockquote>\n<p>\u041b\u0438\u0431\u043e Cypress \u0442\u0430\u043a \u0440\u0430\u0437\u0434\u0443\u0442, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0440\u043e\u0433\u043e\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435, \u043b\u0438\u0431\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0430 Cypress \u0445\u043e\u0447\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u043b\u0430\u0442\u0438\u043b\u0438 \u0437\u0430 \u0438\u0445 \u0441\u043b\u0443\u0436\u0431\u0443 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u0410 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c, \u0438 \u0442\u043e, \u0438 \u0434\u0440\u0443\u0433\u043e\u0435?<\/p>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 3: Playwright \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435, \u0430 \u0434\u043b\u044f Cypress \u0438\u0445 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0442\u044c<\/h2>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 Playwright \u044f \u043c\u043e\u0433\u0443 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u0438 8 \u0442\u0435\u0441\u0442\u043e\u0432 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e:<\/p>\n<pre><code class=\"javascript\">import { test, expect } from '@playwright\/test'   test.describe.parallel('My First Test', () => {   test('clicking \"type\" shows the right headings 1', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 2', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 3', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 4', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 5', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 6', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 7', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 8', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   }) })<\/code><\/pre>\n<p>\u043d\u0430 \u043c\u043e\u0435\u043c Macbook Air \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0432\u0441\u0435\u0433\u043e 6 \u0441\u0435\u043a\u0443\u043d\u0434 ?<\/p>\n<pre><code>npx playwright test \".\/scenarios\/compare.cypress.bulk.spec.ts\" Running 8 tests using 4 workers   \u2713  scenarios\/compare.cypress.bulk.spec.ts:4:3 \u203a My First Test \u203a clicking \"type\" shows the right headings 1 (4s) ...... 8 passed (6s)<\/code><\/pre>\n<p>\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u0438 \u0442\u0435\u0441\u0442\u044b \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e (\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430) \u0432 Cypress, \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043a\u0430\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b (\u043f\u043e \u043e\u0434\u043d\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439):<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/494\/ac4\/aa7\/494ac4aa7f73573d07668408ea751393.png\" width=\"766\" height=\"414\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/494\/ac4\/aa7\/494ac4aa7f73573d07668408ea751393.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u044d\u0442\u0438 \u0442\u0435\u0441\u0442\u044b, \u043d\u0430 \u0442\u043e\u0439 \u0436\u0435 \u043c\u0430\u0448\u0438\u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f 45 \u0441\u0435\u043a\u0443\u043d\u0434, \u0447\u0442\u043e \u0432<strong>\u00a07,5 \u0440\u0430\u0437 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435.<\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/164\/15d\/f9a\/16415df9a39c5f3d45e285bae057a2d0.png\" alt=\"\" title=\"\" width=\"1024\" height=\"504\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/164\/15d\/f9a\/16415df9a39c5f3d45e285bae057a2d0.png\"\/><figcaption><\/figcaption><\/figure>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 4: Playwright \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 async\/await \u0434\u043b\u044f \u0447\u0438\u0441\u0442\u043e\u0433\u043e \u0438 \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u0434\u0430<\/h2>\n<pre><code>import { test, expect } from '@playwright\/test'   test.describe.parallel('My First Test', () => {   test('clicking \"type\" shows the right headings', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   }) })<\/code><\/pre>\n<p>\u041d\u0435\u0442 \u0446\u0435\u043f\u043e\u0447\u0435\u043a \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u0432, \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430, \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043c\u0430\u0433\u0438\u0438. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c, \u043e\u0442\u043a\u0443\u0434\u0430 \u0431\u0435\u0440\u0443\u0442\u0441\u044f<em>\u00a0test, expect \u0438 page<\/em>.<\/p>\n<p>\u0422\u043e\u0442 \u0436\u0435 \u0442\u0435\u0441\u0442 \u0432 Cypress:<\/p>\n<pre><code class=\"javascript\">describe('My First Test', () => {     it('clicking \"type\" shows the right headings', () => {       cy.visit('https:\/\/example.cypress.io')             cy.contains('type').click()           \/\/ Should be on a new URL which includes '\/commands\/actions'       cy.url().should('include', '\/commands\/actions')           \/\/ Get an input, type into it and verify that the value has been updated       cy.get('.action-email')         .type('fake@email.com')         .should('have.value', 'fake@email.com')     }) })<\/code><\/pre>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u043a\u0430\u043a \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0446\u0435\u043f\u043e\u0447\u043a\u0443. \u041d\u0435\u043f\u043b\u043e\u0445\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435, \u043d\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u0438\u0437-\u043f\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f. \u041d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0439, \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u2014 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442\u00a0<em>await<\/em>\u00a0\u043d\u0430 \u0432\u044b\u0437\u043e\u0432\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0439. \u201c\u041c\u0430\u0433\u0438\u044f\u201d \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u00a0<em>cy<\/em>\u00a0\u0438\u00a0<em>describe<\/em>, \u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0438\u043c\u043f\u043e\u0440\u0442.<\/p>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 5. Playwright \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u044b<\/h2>\n<p>\u0412 Cypress \u043c\u043d\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439. \u0411\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0438\u0437 \u043d\u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u0430\u043c\u0438, \u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0442\u0430\u043a\u043e\u0432\u044b\u043c\u0438 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0432\u0432\u0438\u0434\u0443 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u201c\u043b\u0435\u043a\u0430\u0440\u0441\u0442\u0432\u0430\u201d.<\/p>\n<p>\u041d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043b\u0430\u0432\u0438\u0448\u0443 tab?\u00a0<a href=\"https:\/\/www.npmjs.com\/package\/cypress-plugin-tab\" rel=\"noopener noreferrer nofollow\"><u>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d<\/u><\/a>. \u0418, \u0441\u0443\u0434\u044f \u043f\u043e\u00a0<a href=\"https:\/\/github.com\/cypress-io\/cypress\/issues\/299\" rel=\"noopener noreferrer nofollow\"><u>\u0438\u0448\u044c\u044e Github<\/u><\/a>\u00a0\u043e\u043d \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u0437-\u0437\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u044d\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0438. \u0422\u0435\u043c\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0430 \u0441 2016 \u0433\u043e\u0434\u0430 \u043f\u043e \u0441\u0435\u0439 \u0434\u0435\u043d\u044c. \u0412\u043e\u043f\u0440\u043e\u0441 \u0430\u043a\u0442\u0443\u0430\u043b\u0435\u043d \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430, \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0430\u0437 \u043f\u0438\u0441\u0430\u043b \u043e Cypress.<\/p>\n<p>\u041d\u0443\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b?\u00a0<a href=\"https:\/\/www.npmjs.com\/package\/cypress-file-upload\" rel=\"noopener noreferrer nofollow\"><u>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0442\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d.<\/u><\/a><\/p>\n<p>\u0412\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u044b n \u0440\u0430\u0437 \u043f\u043e\u0434\u0440\u044f\u0434, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0442\u0435\u0441\u0442\u043e\u0432?\u00a0<a href=\"https:\/\/github.com\/bahmutov\/cypress-repeat\" rel=\"noopener noreferrer nofollow\"><u>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d.<\/u><\/a><\/p>\n<p>\u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, Playwright \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0451 \u0432\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432. ?<\/p>\n<h2>\u0412\u044b\u0432\u043e\u0434:<\/h2>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u044f \u0432\u0441\u0435 \u0435\u0449\u0435 \u043d\u0435 \u0444\u0430\u043d\u0430\u0442 Cypress ?<\/p>\n<p>\u0422\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0442\u0430\u043b \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e.<\/p>\n<p>\u0422\u0430\u043a \u0447\u0442\u043e \u044f \u0431\u0443\u0434\u0443 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0432\u0443\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u0434\u0430\u0432\u043d\u043e\u0441\u0442\u0438:<\/p>\n<blockquote>\n<p><em>\u0418\u0437\u0434\u0430\u043b\u0435\u043a\u0430 Cypress \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u042f \u0434\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u0435\u0433\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u044e\u0442, \u043a\u0430\u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u04352\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0445\u043e\u0442\u044f \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u0412 \u043d\u0435\u043c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0445 e2e \u0442\u0435\u0441\u0442\u043e\u0432.<br \/><\/em><a href=\"https:\/\/alisterbscott.com\/2019\/07\/06\/my-oughtts-on-cypress-io\" rel=\"noopener noreferrer nofollow\"><em><u>https:\/\/alisterbscott.com\/2019\/07\/06\/my-oughtts-on-cypress-io<\/u><\/em><\/a><em>\/<\/em><\/p>\n<\/blockquote>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/593577\/\"> https:\/\/habr.com\/ru\/articles\/593577\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><em>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0430\u0442\u044c\u0438\u00a0<\/em><a href=\"https:\/\/github.com\/alisterscott\/\" rel=\"noopener noreferrer nofollow\"><em><u>Alister Scott<\/u><\/em><\/a><em>:\u00a0<\/em><a href=\"https:\/\/alisterbscott.com\/2021\/10\/27\/five-reasons-why-playwright-is-better-than-cypress\/\" rel=\"noopener noreferrer nofollow\"><em><u>Five reasons why Playwright is better than Cypress<\/u><\/em><\/a><\/p>\n<p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u044f \u043d\u0435 \u0444\u0430\u043d\u0430\u0442 Cypress, \u043e \u0447\u0435\u043c, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, 2 \u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434\u00a0<a href=\"https:\/\/alisterbscott.com\/2019\/07\/06\/my-thoughts-on-cypress-io\/\" rel=\"noopener noreferrer nofollow\"><u>\u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u043e\u0441\u0442<\/u><\/a>. \u0417\u0430 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043c\u043e\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u0432\u043b\u0435\u043a Playwright. \u042f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u043a Cypress, \u0447\u0442\u043e\u0431\u044b \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0435\u0433\u043e \u0441 Playwright \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0431\u044b\u043b\u0438 \u043b\u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u0438 \u043f\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044e \u043a \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0443. \u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u043c\u043e\u0433\u0443 \u0441\u043c\u0435\u043b\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u0445, \u043f\u043e\u0447\u0435\u043c\u0443 Cypress \u0432\u0441\u0435 \u0435\u0449\u0435 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0446\u0438\u044e.<\/p>\n<blockquote>\n<p><em>\u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438:<br \/><\/em><strong><em>Cypress:<\/em><\/strong><em>\u00a08.7.0 on Electron 93<br \/><\/em><strong><em>Playwright:<\/em><\/strong><em>\u00a01.16.0<\/em><\/p>\n<\/blockquote>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 1: Playwright \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0447\u0435\u043c Cypress<\/h2>\n<p><a href=\"https:\/\/blog.checklyhq.com\/cypress-vs-selenium-vs-playwright-vs-puppeteer-speed-comparison\/\" rel=\"noopener noreferrer nofollow\"><u>\u0417\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u0434\u043e 4-\u0445 \u0440\u0430\u0437 \u0431\u044b\u0441\u0442\u0440\u0435\u0435!<\/u><\/a><br \/>\u0411\u0435\u0440\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 Cypress:<\/p>\n<pre><code class=\"javascript\">describe('My First Test', () => {     it('clicking \"type\" shows the right headings', () => {       cy.visit('https:\/\/example.cypress.io')       cy.contains('type').click()       \/\/ Should be on a new URL which includes '\/commands\/actions'       cy.url().should('include', '\/commands\/actions')       \/\/ Get an input, type into it and verify that the value has been updated       cy.get('.action-email')         .type('fake@email.com')         .should('have.value', 'fake@email.com')     }) })<\/code><\/pre>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 8 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u043c\u043e\u0435\u043c M1 Macbook Air<\/p>\n<pre><code>\u2714  demo-spec.js                              00:08<\/code><\/pre>\n<p>\u0422\u043e\u0442 \u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 Playwright:<\/p>\n<pre><code class=\"javascript\">import { test, expect } from '@playwright\/test'   test.describe.parallel('My First Test', () => {   test('clicking \"type\" shows the right headings', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     \/\/ Should be on a new URL which includes '\/commands\/actions'     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     \/\/ Get an input, type into it and verify that the value has been updated     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   }) })<\/code><\/pre>\n<pre><code>Running 1 test using 1 worker   \u2713  scenarios\/compare.cypress.spec.ts:4:3 \u203a My First Test \u203a clicking \"type\" shows the right headings (1s)   1 passed (2s)<\/code><\/pre>\n<p>\u0412 4 \u0440\u0430\u0437\u0430 \u0431\u044b\u0441\u0442\u0440\u0435\u0435!?<\/p>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 2: \u0423 Playwright \u043a\u0440\u0443\u0442\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0434\u043b\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0442\u0435\u0441\u0442\u043e\u0432 \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 (\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0438 \u043d\u0430 CI \u0431\u0435\u0437 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0438\u043b\u0438 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438)<\/h2>\n<p>\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u044b \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e, \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0438\u0445 \u0432\u00a0<a href=\"https:\/\/dashboard.cypress.io\/\" rel=\"noopener noreferrer nofollow\"><u>Cypress Dashboard<\/u><\/a>\u00a0(\u0438\u043b\u0438\u00a0<a href=\"https:\/\/github.com\/sorry-cypress\/sorry-cypress\" rel=\"noopener noreferrer nofollow\"><u>Sorry Cypress<\/u><\/a>). \u0422\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043a \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435, \u0445\u043e\u0442\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Cypress \u0438\u00a0<strong>\u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e\u0442<\/strong>\u00a0\u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c. \u0412 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f, \u043d\u0430 Playwright \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c.<\/p>\n<blockquote>\n<p><em>\u201cWhile parallel tests can also technically run on a single machine, we do not recommend it since this machine would require significant resources to run your tests efficiently.\u201d<\/em><\/p>\n<p><a href=\"https:\/\/docs.cypress.io\/guides\/guides\/parallelization#Overview\" rel=\"noopener noreferrer nofollow\"><em><u>https:\/\/docs.cypress.io\/guides\/guides\/parallelization#Overview<\/u><\/em><\/a><\/p>\n<\/blockquote>\n<p>\u041b\u0438\u0431\u043e Cypress \u0442\u0430\u043a \u0440\u0430\u0437\u0434\u0443\u0442, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0440\u043e\u0433\u043e\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435, \u043b\u0438\u0431\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0430 Cypress \u0445\u043e\u0447\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u043b\u0430\u0442\u0438\u043b\u0438 \u0437\u0430 \u0438\u0445 \u0441\u043b\u0443\u0436\u0431\u0443 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u0410 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c, \u0438 \u0442\u043e, \u0438 \u0434\u0440\u0443\u0433\u043e\u0435?<\/p>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 3: Playwright \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435, \u0430 \u0434\u043b\u044f Cypress \u0438\u0445 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0442\u044c<\/h2>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 Playwright \u044f \u043c\u043e\u0433\u0443 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u0438 8 \u0442\u0435\u0441\u0442\u043e\u0432 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e:<\/p>\n<pre><code class=\"javascript\">import { test, expect } from '@playwright\/test'   test.describe.parallel('My First Test', () => {   test('clicking \"type\" shows the right headings 1', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 2', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 3', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 4', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 5', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 6', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 7', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   })   test('clicking \"type\" shows the right headings 8', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   }) })<\/code><\/pre>\n<p>\u043d\u0430 \u043c\u043e\u0435\u043c Macbook Air \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0432\u0441\u0435\u0433\u043e 6 \u0441\u0435\u043a\u0443\u043d\u0434 ?<\/p>\n<pre><code>npx playwright test \".\/scenarios\/compare.cypress.bulk.spec.ts\" Running 8 tests using 4 workers   \u2713  scenarios\/compare.cypress.bulk.spec.ts:4:3 \u203a My First Test \u203a clicking \"type\" shows the right headings 1 (4s) ...... 8 passed (6s)<\/code><\/pre>\n<p>\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u0438 \u0442\u0435\u0441\u0442\u044b \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e (\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430) \u0432 Cypress, \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043a\u0430\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b (\u043f\u043e \u043e\u0434\u043d\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439):<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u044d\u0442\u0438 \u0442\u0435\u0441\u0442\u044b, \u043d\u0430 \u0442\u043e\u0439 \u0436\u0435 \u043c\u0430\u0448\u0438\u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f 45 \u0441\u0435\u043a\u0443\u043d\u0434, \u0447\u0442\u043e \u0432<strong>\u00a07,5 \u0440\u0430\u0437 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435.<\/strong><\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 4: Playwright \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 async\/await \u0434\u043b\u044f \u0447\u0438\u0441\u0442\u043e\u0433\u043e \u0438 \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u0434\u0430<\/h2>\n<pre><code>import { test, expect } from '@playwright\/test'   test.describe.parallel('My First Test', () => {   test('clicking \"type\" shows the right headings', async ({ page }) => {     await page.goto('https:\/\/example.cypress.io')     await page.click('a:has-text(\"type\")')     await page.waitForURL(\/.+\\\/commands\\\/actions$\/)     await page.fill('.action-email', 'fake@email.com')     await expect(page.locator('.action-email')).toHaveValue('fake@email.com')   }) })<\/code><\/pre>\n<p>\u041d\u0435\u0442 \u0446\u0435\u043f\u043e\u0447\u0435\u043a \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u0432, \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430, \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043c\u0430\u0433\u0438\u0438. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c, \u043e\u0442\u043a\u0443\u0434\u0430 \u0431\u0435\u0440\u0443\u0442\u0441\u044f<em>\u00a0test, expect \u0438 page<\/em>.<\/p>\n<p>\u0422\u043e\u0442 \u0436\u0435 \u0442\u0435\u0441\u0442 \u0432 Cypress:<\/p>\n<pre><code class=\"javascript\">describe('My First Test', () => {     it('clicking \"type\" shows the right headings', () => {       cy.visit('https:\/\/example.cypress.io')             cy.contains('type').click()           \/\/ Should be on a new URL which includes '\/commands\/actions'       cy.url().should('include', '\/commands\/actions')           \/\/ Get an input, type into it and verify that the value has been updated       cy.get('.action-email')         .type('fake@email.com')         .should('have.value', 'fake@email.com')     }) })<\/code><\/pre>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u043a\u0430\u043a \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0446\u0435\u043f\u043e\u0447\u043a\u0443. \u041d\u0435\u043f\u043b\u043e\u0445\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435, \u043d\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u0438\u0437-\u043f\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f. \u041d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0439, \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u2014 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442\u00a0<em>await<\/em>\u00a0\u043d\u0430 \u0432\u044b\u0437\u043e\u0432\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0439. \u201c\u041c\u0430\u0433\u0438\u044f\u201d \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u00a0<em>cy<\/em>\u00a0\u0438\u00a0<em>describe<\/em>, \u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0438\u043c\u043f\u043e\u0440\u0442.<\/p>\n<h2>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 5. Playwright \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u044b<\/h2>\n<p>\u0412 Cypress \u043c\u043d\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439. \u0411\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0438\u0437 \u043d\u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u0430\u043c\u0438, \u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0442\u0430\u043a\u043e\u0432\u044b\u043c\u0438 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0432\u0432\u0438\u0434\u0443 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u201c\u043b\u0435\u043a\u0430\u0440\u0441\u0442\u0432\u0430\u201d.<\/p>\n<p>\u041d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043b\u0430\u0432\u0438\u0448\u0443 tab?\u00a0<a href=\"https:\/\/www.npmjs.com\/package\/cypress-plugin-tab\" rel=\"noopener noreferrer nofollow\"><u>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d<\/u><\/a>. \u0418, \u0441\u0443\u0434\u044f \u043f\u043e\u00a0<a href=\"https:\/\/github.com\/cypress-io\/cypress\/issues\/299\" rel=\"noopener noreferrer nofollow\"><u>\u0438\u0448\u044c\u044e Github<\/u><\/a>\u00a0\u043e\u043d \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u0437-\u0437\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u044d\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0438. \u0422\u0435\u043c\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0430 \u0441 2016 \u0433\u043e\u0434\u0430 \u043f\u043e \u0441\u0435\u0439 \u0434\u0435\u043d\u044c. \u0412\u043e\u043f\u0440\u043e\u0441 \u0430\u043a\u0442\u0443\u0430\u043b\u0435\u043d \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430, \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0430\u0437 \u043f\u0438\u0441\u0430\u043b \u043e Cypress.<\/p>\n<p>\u041d\u0443\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b?\u00a0<a href=\"https:\/\/www.npmjs.com\/package\/cypress-file-upload\" rel=\"noopener noreferrer nofollow\"><u>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0442\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d.<\/u><\/a><\/p>\n<p>\u0412\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u044b n \u0440\u0430\u0437 \u043f\u043e\u0434\u0440\u044f\u0434, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0442\u0435\u0441\u0442\u043e\u0432?\u00a0<a href=\"https:\/\/github.com\/bahmutov\/cypress-repeat\" rel=\"noopener noreferrer nofollow\"><u>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d.<\/u><\/a><\/p>\n<p>\u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, Playwright \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0451 \u0432\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432. ?<\/p>\n<h2>\u0412\u044b\u0432\u043e\u0434:<\/h2>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u044f \u0432\u0441\u0435 \u0435\u0449\u0435 \u043d\u0435 \u0444\u0430\u043d\u0430\u0442 Cypress ?<\/p>\n<p>\u0422\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0442\u0430\u043b \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e.<\/p>\n<p>\u0422\u0430\u043a \u0447\u0442\u043e \u044f \u0431\u0443\u0434\u0443 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0432\u0443\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u0434\u0430\u0432\u043d\u043e\u0441\u0442\u0438:<\/p>\n<blockquote>\n<p><em>\u0418\u0437\u0434\u0430\u043b\u0435\u043a\u0430 Cypress \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u042f \u0434\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u0435\u0433\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u044e\u0442, \u043a\u0430\u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u04352\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0445\u043e\u0442\u044f \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u0412 \u043d\u0435\u043c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0445 e2e \u0442\u0435\u0441\u0442\u043e\u0432.<br \/><\/em><a href=\"https:\/\/alisterbscott.com\/2019\/07\/06\/my-oughtts-on-cypress-io\" rel=\"noopener noreferrer nofollow\"><em><u>https:\/\/alisterbscott.com\/2019\/07\/06\/my-oughtts-on-cypress-io<\/u><\/em><\/a><em>\/<\/em><\/p>\n<\/blockquote>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/593577\/\"> https:\/\/habr.com\/ru\/articles\/593577\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-406250","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/406250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=406250"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/406250\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=406250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=406250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=406250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}