Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix e2e (#1535)

Stanimir837e3291dabb
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 91c673c27..9a4056bcd 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -84,7 +84,6 @@ jobs:
- name: Checkout TagspacesPro
uses: actions/checkout@v2
with:
- ref: devnext
repository: tagspaces/tagspacespro
token: ${{ secrets.CHECKOUT_TSPRO }}
path: extensions/tagspacespro
diff --git a/app/components/MobileNavigation.tsx b/app/components/MobileNavigation.tsx
index 88046fa6a..8b9c7c316 100644
--- a/app/components/MobileNavigation.tsx
+++ b/app/components/MobileNavigation.tsx
@@ -170,7 +170,7 @@ const MobileNavigation = (props: Props) => {
>
<Tooltip title={i18n.t('core:createFileTitle')}>
<Button
- data-tid="createNewLocation"
+ data-tid="createNewFileTID"
onClick={() => {
if (props.isReadOnlyMode || !directoryPath) {
showNotification(
diff --git a/app/components/SearchPopover.tsx b/app/components/SearchPopover.tsx
index b5ef12a00..30566ba9e 100644
--- a/app/components/SearchPopover.tsx
+++ b/app/components/SearchPopover.tsx
@@ -564,7 +564,7 @@ const SearchPopover = (props: Props) => {
<CloseIcon />
</IconButton>
</div>
- <div className={classes.searchArea}>
+ <div className={classes.searchArea} data-tid="searchAdvancedTID">
<FormControl className={classes.formControl} disabled={indexing}>
<ToggleButtonGroup
onChange={switchSearchBoxing}
@@ -646,7 +646,7 @@ const SearchPopover = (props: Props) => {
<ButtonGroup style={{ justifyContent: 'center' }}>
<Button
disabled={indexing}
- id="searchButton"
+ id="searchButtonAdvTID"
// variant="outlined"
color="primary"
onClick={executeSearch}
@@ -672,6 +672,7 @@ const SearchPopover = (props: Props) => {
</FormControl>
<FormControl className={classes.formControl} disabled={indexing}>
<TagsSelect
+ dataTid="searchTagsAndTID"
placeholderText={i18n.t('core:selectTags')}
label={i18n.t('core:mustContainTheseTags')}
tags={props.searchQuery.tagsAND}
@@ -682,6 +683,7 @@ const SearchPopover = (props: Props) => {
</FormControl>
<FormControl className={classes.formControl} disabled={indexing}>
<TagsSelect
+ dataTid="searchTagsOrTID"
placeholderText={i18n.t('core:selectTags')}
tags={props.searchQuery.tagsOR}
label={i18n.t('core:atLeastOneOfTheseTags')}
@@ -692,6 +694,7 @@ const SearchPopover = (props: Props) => {
</FormControl>
<FormControl className={classes.formControl} disabled={indexing}>
<TagsSelect
+ dataTid="searchTagsNotTID"
placeholderText={i18n.t('core:selectTags')}
tags={props.searchQuery.tagsNOT}
label={i18n.t('core:noneOfTheseTags')}
diff --git a/package.json b/package.json
index d9165485d..d2f3f0c58 100644
--- a/package.json
+++ b/package.json
@@ -253,7 +253,7 @@
"@milkdown/preset-gfm": "^4.13.1",
"@milkdown/react": "^4.13.1",
"@milkdown/theme-nord": "^4.13.1",
- "@playwright/test": "^1.14.1",
+ "@playwright/test": "^1.16.3",
"@types/jest": "^26.0.10",
"@types/react": "^16.7.18",
"@types/react-dom": "^16.0.11",
@@ -317,7 +317,7 @@
"node-sass": "^6.0.1",
"npm": "^6.14.15",
"optimize-css-assets-webpack-plugin": "^5.0.1",
- "playwright": "^1.14.1",
+ "playwright": "^1.16.3",
"prettier": "1.19.1",
"properties-reader": "^2.2.0",
"raw-loader": "^3.1.0",
diff --git a/tests/e2e/general.helpers.js b/tests/e2e/general.helpers.js
index e3b9ce31e..bf697ef1d 100644
--- a/tests/e2e/general.helpers.js
+++ b/tests/e2e/general.helpers.js
@@ -427,13 +427,6 @@ export async function createLocation(
await confirmLocationCreation.click();
}
-export async function createTxtFile() {
- await clickOn('[data-tid=folderContainerOpenDirMenu]');
- await clickOn('[data-tid=createNewFile]');
- await clickOn('[data-tid=createTextFileButton]');
- await waitForNotification();
-}
-
export async function showDirectories(show = true) {
//open Option menu
await clickOn('[data-tid=gridPerspectiveOptionsMenu]');
@@ -756,28 +749,24 @@ export async function createNewDirectory(dirName = testFolder) {
}
export async function newHTMLFile() {
- await clickOn('[data-tid=locationManager]');
- /*const newFile = await global.client.$('[data-tid=locationManager]');
- await newFile.waitForDisplayed();
- await newFile.click();
- await delay(500);*/
+ await clickOn('[data-tid=folderContainerOpenDirMenu]');
+ await clickOn('[data-tid=createNewFile]');
await clickOn('[data-tid=createRichTextFileButton]');
- /*const newNoteFile = await global.client.$(
- '[data-tid=createRichTextFileButton]'
- );
- await newNoteFile.waitForDisplayed();
- await newNoteFile.click();
- await delay(500);*/
+ await waitForNotification();
}
export async function newMDFile() {
- await clickOn('[data-tid=locationManager]');
+ await clickOn('[data-tid=folderContainerOpenDirMenu]');
+ await clickOn('[data-tid=createNewFile]');
await clickOn('[data-tid=createMarkdownButton]');
+ await waitForNotification();
}
-export async function newTEXTFile() {
- await clickOn('[data-tid=locationManager]');
+export async function createTxtFile() {
+ await clickOn('[data-tid=folderContainerOpenDirMenu]');
+ await clickOn('[data-tid=createNewFile]');
await clickOn('[data-tid=createTextFileButton]');
+ await waitForNotification();
}
export async function closeOpenedFile() {
diff --git a/tests/e2e/general.pw.e2e.js b/tests/e2e/general.pw.e2e.js
index 21d40fef9..40d7067c4 100644
--- a/tests/e2e/general.pw.e2e.js
+++ b/tests/e2e/general.pw.e2e.js
@@ -13,14 +13,13 @@ import {
createNewDirectory,
newHTMLFile,
newMDFile,
- newTEXTFile,
closeOpenedFile,
deleteDirectory,
clickOn,
expectElementExist,
selectorFile,
setSettings,
- takeScreenshot
+ takeScreenshot, createTxtFile
} from './general.helpers';
import { searchEngine } from './search.helpers';
import { startTestingApp, stopSpectronApp, testDataRefresh } from './hook';
@@ -113,7 +112,7 @@ describe('TST51 - Perspective Grid', () => {
await global.client.dblclick('[data-tid=fsEntryName_' + testFolder + ']');
// create new file
- await newTEXTFile();
+ await createTxtFile();
await closeOpenedFile();
// await reloadDirectory();
await expectElementExist(selectorFile, true);
diff --git a/tests/e2e/key-bindings.pw.e2e.js b/tests/e2e/key-bindings.pw.e2e.js
index 109a8446e..b96ffdbad 100644
--- a/tests/e2e/key-bindings.pw.e2e.js
+++ b/tests/e2e/key-bindings.pw.e2e.js
@@ -38,7 +38,7 @@ describe('TST13 - Settings Key Bindings [electron]', () => {
} else {
await global.client.keyboard.press('Control+KeyF');
}
- await expectElementExist('[data-tid=searchMenu]', true);
+ await expectElementExist('#textQuery', true);
});
it('TST1312 - Test rename file [electron]', async () => {
diff --git a/tests/e2e/perspective-grid-right-button.pw.e2e.js b/tests/e2e/perspective-grid-right-button.pw.e2e.js
index 5dd11bcdf..844115835 100644
--- a/tests/e2e/perspective-grid-right-button.pw.e2e.js
+++ b/tests/e2e/perspective-grid-right-button.pw.e2e.js
@@ -432,7 +432,7 @@ describe('TST50** - Right button on a file', () => {
let gridStyle = await grid.getAttribute('style');
expect(gridStyle).toContain(
- 'grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));'
+ 'margin-top: 53px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));'
);
await clickOn('[data-tid=gridPerspectiveSwitchLayoutToRow]');
diff --git a/tests/e2e/perspective-grid.pw.e2e.js b/tests/e2e/perspective-grid.pw.e2e.js
index a427f0734..0d0a63f32 100644
--- a/tests/e2e/perspective-grid.pw.e2e.js
+++ b/tests/e2e/perspective-grid.pw.e2e.js
@@ -201,7 +201,8 @@ describe('TST50 - Perspective Grid', () => {
for (let i = 0; i < selectedIds.length; i++) {
await expectElementExist(
selectorFile + '[' + (i + 1) + ']//div[@id="gridCellTags"]//button[1]',
- false
+ false,
+ 1500
);
await expectTagsExistBySelector(
'[data-entry-id="' + selectedIds[i] + '"]',
diff --git a/tests/e2e/search.helpers.js b/tests/e2e/search.helpers.js
index ec781ea98..c88b2619f 100644
--- a/tests/e2e/search.helpers.js
+++ b/tests/e2e/search.helpers.js
@@ -26,13 +26,14 @@ export const firstTagButton = '/tbody/tr[1]/td[3]/button[1]';
*/
export async function searchEngine(filename, options = {}) {
if (!(await isDisplayed('#textQuery'))) {
- await clickOn('[data-tid=search]');
+ await clickOn('[data-tid=toggleSearch]');
}
- // await expectElementExist('#textQuery', true);
await setInputValue('#textQuery', filename);
-
+ if (!(await isDisplayed('[data-tid=searchAdvancedTID]'))) {
+ await clickOn('[data-tid=advancedSearch]');
+ }
if (options.tagName) {
- await setInputValue('#searchTags', filename);
+ await setInputValue('[data-tid=searchTagsAndTID] input', filename);
}
if (options.reindexing) {
@@ -47,7 +48,7 @@ export async function searchEngine(filename, options = {}) {
if (options.resetSearchButton) {
await clickOn('#resetSearchButton');
} else {
- await clickOn('#searchButton');
+ await clickOn('#searchButtonAdvTID');
}
await waitForNotification('TIDSearching');
}
diff --git a/yarn.lock b/yarn.lock
index fa2819153..cd204878a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1309,6 +1309,13 @@
dependencies:
"@babel/highlight" "^7.14.5"
+"@babel/code-frame@^7.12.13":
+ version "7.16.0"
+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.0.tgz#0dfc80309beec8411e65e706461c408b0bb9b431"
+ integrity sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==
+ dependencies:
+ "@babel/highlight" "^7.16.0"
+
"@babel/compat-data@^7.12.7", "@babel/compat-data@^7.15.0":
version "7.15.0"
resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz"
@@ -1537,6 +1544,11 @@
resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz"
integrity sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==
+"@babel/helper-validator-identifier@^7.15.7":
+ version "7.15.7"
+ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz#220df993bfe904a4a6b02ab4f3385a5ebf6e2389"
+ integrity sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==
+
"@babel/helper-validator-option@^7.12.1", "@babel/helper-validator-option@^7.14.5":
version "7.14.5"
resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz"
@@ -1570,6 +1582,15 @@
chalk "^2.0.0"
js-tokens "^4.0.0"
+"@babel/highlight@^7.16.0":
+ version "7.16.0"
+ resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.0.tgz#6ceb32b2ca4b8f5f361fb7fd821e3fddf4a1725a"
+ integrity sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==
+ dependencies:
+ "@babel/helper-validator-identifier" "^7.15.7"
+ chalk "^2.0.0"
+ js-tokens "^4.0.0"
+
"@babel/parser@^7.1.0", "@babel/parser@^7.14.5", "@babel/parser@^7.15.0", "@babel/parser@^7.7.0":
version "7.15.3"
resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.15.3.tgz"
@@ -2868,6 +2889,17 @@
"@types/yargs" "^15.0.0"
chalk "^4.0.0"
+"@jest/types@^27.2.5":
+ version "27.2.5"
+ resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.2.5.tgz#420765c052605e75686982d24b061b4cbba22132"
+ integrity sha512-nmuM4VuDtCZcY+eTpw+0nvstwReMsjPoj7ZR80/BbixulhLaiX+fbv8oeLW8WZlJMcsGQsTmMKT/iTZu1Uy/lQ==
+ dependencies:
+ "@types/istanbul-lib-coverage" "^2.0.0"
+ "@types/istanbul-reports" "^3.0.0"
+ "@types/node" "*"
+ "@types/yargs" "^16.0.0"
+ chalk "^4.0.0"
+
"@joeattardi/emoji-button@^4.6.0":
version "4.6.0"
resolved "https://registry.yarnpkg.com/@joeattardi/emoji-button/-/emoji-button-4.6.0.tgz#93a78abb19c61ce9dcc464d15f373743b15cd2a2"
@@ -3221,10 +3253,10 @@
"@nodelib/fs.scandir" "2.1.3"
fastq "^1.6.0"
-"@playwright/test@^1.14.1":
- version "1.14.1"
- resolved "https://registry.npmjs.org/@playwright/test/-/test-1.14.1.tgz"
- integrity sha512-yL/808TEvUmsXxKMPf/Hf6Tajx666QFr8g+hCUZbRy2cbmQOPt7xhwGvXb1cpwMwIlJ4gBx/AiOpnnppsuLgTA==
+"@playwright/test@^1.16.3":
+ version "1.16.3"
+ resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.16.3.tgz#99439d07af6a355586393b463fd88315f32d2a57"
+ integrity sha512-aJR6d6Fd/y6lq1RWWggcuiivM7offqddOW3te+NGGMxgF2P0xAxU0/xUurwIFnEp7iHwXILSZByzZ6W6fuKPIg==
dependencies:
"@babel/code-frame" "^7.14.5"
"@babel/core" "^7.14.8"
@@ -3244,26 +3276,21 @@
"@babel/plugin-transform-modules-commonjs" "^7.14.5"
"@babel/preset-typescript" "^7.14.5"
colors "^1.4.0"
- commander "^6.1.0"
+ commander "^8.2.0"
debug "^4.1.1"
- expect "^26.4.2"
- extract-zip "^2.0.1"
- https-proxy-agent "^5.0.0"
+ expect "=27.2.5"
+ jest-matcher-utils "=27.2.5"
jpeg-js "^0.4.2"
- mime "^2.4.6"
minimatch "^3.0.3"
ms "^2.1.2"
+ open "^8.3.0"
pirates "^4.0.1"
pixelmatch "^5.2.1"
+ playwright-core "=1.16.3"
pngjs "^5.0.0"
- progress "^2.0.3"
- proper-lockfile "^4.1.1"
- proxy-from-env "^1.1.0"
rimraf "^3.0.2"
source-map-support "^0.4.18"
stack-utils "^2.0.3"
- ws "^7.4.6"
- yazl "^2.5.1"
"@polka/url@^1.0.0-next.9":
version "1.0.0-next.12"
@@ -3758,6 +3785,11 @@
resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz"
integrity sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==
+"@types/stack-utils@^2.0.0":
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c"
+ integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==
+
"@types/styled-jsx@^2.2.8":
version "2.2.8"
resolved "https://registry.npmjs.org/@types/styled-jsx/-/styled-jsx-2.2.8.tgz"
@@ -3808,6 +3840,13 @@
dependencies:
"@types/yargs-parser" "*"
+"@types/yargs@^16.0.0":
+ version "16.0.4"
+ resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.4.tgz#26aad98dd2c2a38e421086ea9ad42b9e51642977"
+ integrity sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw==
+ dependencies:
+ "@types/yargs-parser" "*"
+
"@types/yargs@^17.0.1":
version "17.0.2"
resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.2.tgz"
@@ -4165,6 +4204,13 @@ agent-base@6:
dependencies:
debug "4"
+agent-base@^6.0.2:
+ version "6.0.2"
+ resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77"
+ integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==
+ dependencies:
+ debug "4"
+
agent-base@~4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
@@ -4320,6 +4366,11 @@ ansi-regex@^5.0.0:
resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz"
integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
+ansi-regex@^5.0.1:
+ version "5.0.1"
+ resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
+ integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
+
ansi-styles@^2.2.1:
version "2.2.1"
resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
@@ -4340,6 +4391,11 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0:
"@types/color-name" "^1.1.1"
color-convert "^2.0.1"
+ansi-styles@^5.0.0:
+ version "5.2.0"
+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b"
+ integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==
+
[email protected], ansi-wrap@^0.1.0:
version "0.1.0"
resolved "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz"
@@ -6111,11 +6167,16 @@ commander@^5.0.0:
resolved "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz"
integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==
-commander@^6.0.0, commander@^6.1.0, commander@^6.2.0:
+commander@^6.0.0, commander@^6.2.0:
version "6.2.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==
+commander@^8.2.0:
+ version "8.3.0"
+ resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66"
+ integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==
+
commondir@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz"
@@ -7468,6 +7529,11 @@ defer-to-connect@^1.0.1:
resolved "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz"
integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==
+define-lazy-prop@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f"
+ integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==
+
define-properties@^1.1.2, define-properties@^1.1.3:
version "1.1.3"
resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz"
@@ -7636,6 +7702,11 @@ diff-sequences@^26.3.0:
resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.3.0.tgz"
integrity sha512-5j5vdRcw3CNctePNYN0Wy2e/JbWT6cAYnXv5OuqPhDpyCGc0uLu2TK0zOCJWNB9kOIfYMSpIulRaDgIi4HJ6Ig==
+diff-sequences@^27.0.6:
+ version "27.0.6"
+ resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.0.6.tgz#3305cb2e55a033924054695cc66019fd7f8e5723"
+ integrity sha512-ag6wfpBFyNXZ0p8pcuIDS//D8H062ZQJ3fzYxjpmeKjnz8W4pekL3AI8VohmyZmsWW2PWaHgjsmqR6L13101VQ==
+
diff@^3.1.0, diff@^3.5.0:
version "3.5.0"
resolved "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz"
@@ -8764,6 +8835,18 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2:
dependencies:
homedir-polyfill "^1.0.1"
+expect@=27.2.5:
+ version "27.2.5"
+ resolved "https://registry.yarnpkg.com/expect/-/expect-27.2.5.tgz#16154aaa60b4d9a5b0adacfea3e4d6178f4b93fd"
+ integrity sha512-ZrO0w7bo8BgGoP/bLz+HDCI+0Hfei9jUSZs5yI/Wyn9VkG9w8oJ7rHRgYj+MA7yqqFa0IwHA3flJzZtYugShJA==
+ dependencies:
+ "@jest/types" "^27.2.5"
+ ansi-styles "^5.0.0"
+ jest-get-type "^27.0.6"
+ jest-matcher-utils "^27.2.5"
+ jest-message-util "^27.2.5"
+ jest-regex-util "^27.0.6"
+
expect@^26.4.2:
version "26.4.2"
resolved "https://registry.npmjs.org/expect/-/expect-26.4.2.tgz"
@@ -10850,6 +10933,11 @@ is-docker@^2.0.0:
resolved "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz"
integrity sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==
+is-docker@^2.1.1:
+ version "2.2.1"
+ resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa"
+ integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==
+
is-extendable@^0.1.0, is-extendable@^0.1.1:
version "0.1.1"
resolved "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz"
@@ -11387,6 +11475,16 @@ jest-diff@^26.4.2:
jest-get-type "^26.3.0"
pretty-format "^26.4.2"
+jest-diff@^27.2.5, jest-diff@^27.3.1:
+ version "27.3.1"
+ resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.3.1.tgz#d2775fea15411f5f5aeda2a5e02c2f36440f6d55"
+ integrity sha512-PCeuAH4AWUo2O5+ksW4pL9v5xJAcIKPUPfIhZBcG1RKv/0+dvaWTQK1Nrau8d67dp65fOqbeMdoil+6PedyEPQ==
+ dependencies:
+ chalk "^4.0.0"
+ diff-sequences "^27.0.6"
+ jest-get-type "^27.3.1"
+ pretty-format "^27.3.1"
+
jest-docblock@^26.0.0:
version "26.0.0"
resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz"
@@ -11440,6 +11538,11 @@ jest-get-type@^26.3.0:
resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz"
integrity sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==
+jest-get-type@^27.0.6, jest-get-type@^27.3.1:
+ version "27.3.1"
+ resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.3.1.tgz#a8a2b0a12b50169773099eee60a0e6dd11423eff"
+ integrity sha512-+Ilqi8hgHSAdhlQ3s12CAVNd8H96ZkQBfYoXmArzZnOfAtVAJEiPDBirjByEblvG/4LPJmkL+nBqPO3A1YJAEg==
+
jest-haste-map@^26.3.0, jest-haste-map@^26.6.2:
version "26.6.2"
resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.6.2.tgz"
@@ -11525,6 +11628,16 @@ jest-leak-detector@^26.4.2:
jest-get-type "^26.3.0"
pretty-format "^26.4.2"
+jest-matcher-utils@=27.2.5:
+ version "27.2.5"
+ resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.2.5.tgz#4684faaa8eb32bf15e6edaead6834031897e2980"
+ integrity sha512-qNR/kh6bz0Dyv3m68Ck2g1fLW5KlSOUNcFQh87VXHZwWc/gY6XwnKofx76Qytz3x5LDWT09/2+yXndTkaG4aWg==
+ dependencies:
+ chalk "^4.0.0"
+ jest-diff "^27.2.5"
+ jest-get-type "^27.0.6"
+ pretty-format "^27.2.5"
+
jest-matcher-utils@^26.4.2:
version "26.4.2"
resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.4.2.tgz"
@@ -11535,6 +11648,16 @@ jest-matcher-utils@^26.4.2:
jest-get-type "^26.3.0"
pretty-format "^26.4.2"
+jest-matcher-utils@^27.2.5:
+ version "27.3.1"
+ resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.3.1.tgz#257ad61e54a6d4044e080d85dbdc4a08811e9c1c"
+ integrity sha512-hX8N7zXS4k+8bC1Aj0OWpGb7D3gIXxYvPNK1inP5xvE4ztbz3rc4AkI6jGVaerepBnfWB17FL5lWFJT3s7qo8w==
+ dependencies:
+ chalk "^4.0.0"
+ jest-diff "^27.3.1"
+ jest-get-type "^27.3.1"
+ pretty-format "^27.3.1"
+
jest-message-util@^25.5.0:
version "25.5.0"
resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-25.5.0.tgz"
@@ -11563,6 +11686,21 @@ jest-message-util@^26.3.0:
slash "^3.0.0"
stack-utils "^2.0.2"
+jest-message-util@^27.2.5:
+ version "27.3.1"
+ resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.3.1.tgz#f7c25688ad3410ab10bcb862bcfe3152345c6436"
+ integrity sha512-bh3JEmxsTZ/9rTm0jQrPElbY2+y48Rw2t47uMfByNyUVR+OfPh4anuyKsGqsNkXk/TI4JbLRZx+7p7Hdt6q1yg==
+ dependencies:
+ "@babel/code-frame" "^7.12.13"
+ "@jest/types" "^27.2.5"
+ "@types/stack-utils" "^2.0.0"
+ chalk "^4.0.0"
+ graceful-fs "^4.2.4"
+ micromatch "^4.0.4"
+ pretty-format "^27.3.1"
+ slash "^3.0.0"
+ stack-utils "^2.0.3"
+
jest-mock@^26.3.0:
version "26.3.0"
resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-26.3.0.tgz"
@@ -11581,6 +11719,11 @@ jest-regex-util@^26.0.0:
resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz"
integrity sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==
+jest-regex-util@^27.0.6:
+ version "27.0.6"
+ resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.0.6.tgz#02e112082935ae949ce5d13b2675db3d8c87d9c5"
+ integrity sha512-SUhPzBsGa1IKm8hx2F4NfTGGp+r7BXJ4CulsZ1k2kI+mGLG+lxGrs76veN2LF/aUdGosJBzKgXmNCw+BzFqBDQ==
+
jest-resolve-dependencies@^26.4.2:
version "26.4.2"
resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.4.2.tgz"
@@ -13378,6 +13521,14 @@ micromatch@^4.0.0, micromatch@^4.0.2:
braces "^3.0.1"
picomatch "^2.0.5"
+micromatch@^4.0.4:
+ version "4.0.4"
+ resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9"
+ integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==
+ dependencies:
+ braces "^3.0.1"
+ picomatch "^2.2.3"
+
miller-rabin@^4.0.0:
version "4.0.1"
resolved "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz"
@@ -14390,6 +14541,15 @@ open-location-code@^1.0.3:
resolved "https://registry.npmjs.org/open-location-code/-/open-location-code-1.0.3.tgz"
integrity sha1-XqGjTuUiHGyvoEOS4b2Qb9dIj34=
+open@^8.3.0:
+ version "8.4.0"
+ resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8"
+ integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==
+ dependencies:
+ define-lazy-prop "^2.0.0"
+ is-docker "^2.1.1"
+ is-wsl "^2.2.0"
+
opencollective-postinstall@^2.0.2:
version "2.0.3"
resolved "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz"
@@ -14866,6 +15026,11 @@ picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.2.1:
resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz"
integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
+picomatch@^2.2.3:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
+ integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==
+
pify@^2.0.0:
version "2.3.0"
resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz"
@@ -14935,12 +15100,12 @@ pkg-up@^3.1.0:
dependencies:
find-up "^3.0.0"
-playwright@^1.14.1:
- version "1.14.1"
- resolved "https://registry.npmjs.org/playwright/-/playwright-1.14.1.tgz"
- integrity sha512-JYNjhwWcfsBkg0FMGLbFO9e58FVdmICE4k97/glIQV7cBULL7oxNjRQC7Ffe+Y70XVNnP0HSJLaA0W5SukyftQ==
+playwright-core@=1.16.3:
+ version "1.16.3"
+ resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.16.3.tgz#f466be9acaffb698654adfb0a17a4906ba936895"
+ integrity sha512-16hF27IvQheJee+DbhC941AUZLjbJgfZFWi9YPS4LKEk/lKFhZI+9TiFD0sboYqb9eaEWvul47uR5xxTVbE4iw==
dependencies:
- commander "^6.1.0"
+ commander "^8.2.0"
debug "^4.1.1"
extract-zip "^2.0.1"
https-proxy-agent "^5.0.0"
@@ -14951,10 +15116,19 @@ playwright@^1.14.1:
proper-lockfile "^4.1.1"
proxy-from-env "^1.1.0"
rimraf "^3.0.2"
+ socks-proxy-agent "^6.1.0"
stack-utils "^2.0.3"
ws "^7.4.6"
+ yauzl "^2.10.0"
yazl "^2.5.1"
+playwright@^1.16.3:
+ version "1.16.3"
+ resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.16.3.tgz#27a292d9fa54fbac923998d3af58cd2b691f5ebe"
+ integrity sha512-nfJx/OpIb/8OexL3rYGxNN687hGyaM3XNpfuMzoPlrekURItyuiHHsNhC9oQCx3JDmCn5O3EyyyFCnrZjH6MpA==
+ dependencies:
+ playwright-core "=1.16.3"
+
please-upgrade-node@^3.0.2, please-upgrade-node@^3.2.0:
version "3.2.0"
resolved "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz"
@@ -15493,6 +15667,16 @@ pretty-format@^26.6.2:
ansi-styles "^4.0.0"
react-is "^17.0.1"
+pretty-format@^27.2.5, pretty-format@^27.3.1:
+ version "27.3.1"
+ resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.3.1.tgz#7e9486365ccdd4a502061fa761d3ab9ca1b78df5"
+ integrity sha512-DR/c+pvFc52nLimLROYjnXPtolawm+uWDxr4FjuLDLUn+ktWnSN851KoHwHzzqq6rfCOjkzN8FLgDrSub6UDuA==
+ dependencies:
+ "@jest/types" "^27.2.5"
+ ansi-regex "^5.0.1"
+ ansi-styles "^5.0.0"
+ react-is "^17.0.1"
+
prismjs@~1.25.0:
version "1.25.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.25.0.tgz#6f822df1bdad965734b310b315a23315cf999756"
@@ -17620,6 +17804,23 @@ socks-proxy-agent@^4.0.0:
agent-base "~4.2.1"
socks "~2.3.2"
+socks-proxy-agent@^6.1.0:
+ version "6.1.0"
+ resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-6.1.0.tgz#869cf2d7bd10fea96c7ad3111e81726855e285c3"
+ integrity sha512-57e7lwCN4Tzt3mXz25VxOErJKXlPfXmkMLnk310v/jwW20jWRVcgsOit+xNkN3eIEdB47GwnfAEBLacZ/wVIKg==
+ dependencies:
+ agent-base "^6.0.2"
+ debug "^4.3.1"
+ socks "^2.6.1"
+
+socks@^2.6.1:
+ version "2.6.1"
+ resolved "https://registry.yarnpkg.com/socks/-/socks-2.6.1.tgz#989e6534a07cf337deb1b1c94aaa44296520d30e"
+ integrity sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==
+ dependencies:
+ ip "^1.1.5"
+ smart-buffer "^4.1.0"
+
socks@~2.3.2:
version "2.3.3"
resolved "https://registry.npmjs.org/socks/-/socks-2.3.3.tgz"