From d4c6b9acf9f6b15e976821e785d8316ee928e684 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 17:25:25 +0530 Subject: [PATCH 01/34] feat: Added playwright testing ci/cd --- .github/workflows/test.yml | 43 + apps/amakrushi/README.md | 1 - apps/amakrushi/package.json | 8 +- apps/amakrushi/playwright.config.ts | 8 + .../src/components/LoginPage/LoginPage.tsx | 4 +- apps/amakrushi/src/tests/e2e/login.spec.ts | 64 + package-lock.json | 3041 +---------------- package.json | 4 +- turbo.json | 2 - yarn.lock | 169 +- 10 files changed, 246 insertions(+), 3098 deletions(-) create mode 100644 .github/workflows/test.yml create mode 100644 apps/amakrushi/playwright.config.ts create mode 100644 apps/amakrushi/src/tests/e2e/login.spec.ts diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..0d56dbf1 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,43 @@ +name: CI/CD check + +on: + push: + branches: main + pull_request: + branches: main + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x, 18.x] + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: npm install --frozen-lockfile + + - name: Run prettier test + run: npm run format:check + + - name: Install browser binaries + run: npx playwright install + + - name: Run the tests and generate coverage report + run: npm run test + + - name: Build + run: npm run build + + - name: Start the dev server and Playwright testing + run: npm run dev & sleep 5 && npm run e2e:test + \ No newline at end of file diff --git a/apps/amakrushi/README.md b/apps/amakrushi/README.md index 23600bab..ba7054dc 100644 --- a/apps/amakrushi/README.md +++ b/apps/amakrushi/README.md @@ -1,7 +1,6 @@ # Unified Communication Interface [![ci](https://github.com/samagra-comms/uci-web-channel/actions/workflows/ci.yml/badge.svg)](https://github.com/samagra-comms/uci-web-channel/actions/workflows/ci.yml) [![badges](https://github.com/samagra-comms/uci-web-channel/actions/workflows/badges.yml/badge.svg)](https://github.com/samagra-comms/uci-web-channel/actions/workflows/badges.yml) -![cypress version](https://img.shields.io/badge/cypress-9.7.0-brightgreen) ## About UCI :open_book: diff --git a/apps/amakrushi/package.json b/apps/amakrushi/package.json index 57c4360d..c1a2d528 100644 --- a/apps/amakrushi/package.json +++ b/apps/amakrushi/package.json @@ -9,13 +9,13 @@ "lint": "next lint", "analyze": "cross-env ANALYZE=true next build", "analyze:server": "cross-env BUNDLE_ANALYZE=server next build", - "analyze:browser": "cross-env BUNDLE_ANALYZE=browser next build" + "analyze:browser": "cross-env BUNDLE_ANALYZE=browser next build", + "e2e:test": "playwright test" }, "dependencies": { "@chakra-ui/react": "^1.8.8", "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", - "@magicbell/magicbell-react": "^8.5.3", "@material-ui/core": "^4.12.4", "@next/bundle-analyzer": "^13.3.0", "@storybook/react": "^6.5.9", @@ -55,8 +55,7 @@ "web-vitals": "^2.1.4" }, "devDependencies": { - "@cypress/react": "^5.12.5", - "@cypress/webpack-dev-server": "^1.8.4", + "@playwright/test": "^1.35.0", "@storybook/addon-actions": "^6.4.19", "@storybook/addon-essentials": "^6.4.19", "@storybook/addon-interactions": "^6.4.19", @@ -73,7 +72,6 @@ "@types/react-dom": "^18.0.5", "@types/underscore": "^1.11.4", "@types/uuid": "^9.0.1", - "cypress": "^9.7.0", "dotenv-cli": "^7.2.1", "eslint": "8.18.0", "eslint-config-next": "12.1.6", diff --git a/apps/amakrushi/playwright.config.ts b/apps/amakrushi/playwright.config.ts new file mode 100644 index 00000000..89d8f19c --- /dev/null +++ b/apps/amakrushi/playwright.config.ts @@ -0,0 +1,8 @@ +import { PlaywrightTestConfig } from '@playwright/test'; + +const config: PlaywrightTestConfig = { + testDir: './src/tests/e2e', + outputDir: './src/tests/test-results', +}; + +export default config; \ No newline at end of file diff --git a/apps/amakrushi/src/components/LoginPage/LoginPage.tsx b/apps/amakrushi/src/components/LoginPage/LoginPage.tsx index b8c05254..10de2ef6 100644 --- a/apps/amakrushi/src/components/LoginPage/LoginPage.tsx +++ b/apps/amakrushi/src/components/LoginPage/LoginPage.tsx @@ -68,7 +68,7 @@ const LoginPage: React.FC = () => {
event?.preventDefault()}>
- + { > {t("message.register_message")}
*/} - diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts new file mode 100644 index 00000000..c2298e50 --- /dev/null +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -0,0 +1,64 @@ +import { test, expect } from '@playwright/test'; + +// This code will run before each test +test.beforeEach(async ({ page }) => { + // Navigate to the login page + await page.goto('http://localhost:3000'); + // Wait for the page title to load + await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); +}); + +test('Login Page - Input Field', async ({ page }) => { + // Find the mobile number input field + const mobileNumberInput = await page.$('#mobile-number-input'); + expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists + + if (mobileNumberInput) { + const inputPlaceholder = await mobileNumberInput.getAttribute('placeholder'); + expect(inputPlaceholder).toBe('ମୋବାଇଲ୍ ନମ୍ବର ପ୍ରବେଶ କରନ୍ତୁ |'); + } else { + throw new Error('Mobile number input field not found.'); + } +}); + +test('Login Page - Continue Button', async ({ page }) => { + // Find the mobile number input field + const mobileNumberInput = await page.$('#mobile-number-input'); + expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists + + if (mobileNumberInput) { + // Enter less than 10 digits in the input field and click continue + await mobileNumberInput.fill('123456789'); + const continueButton = await page.$('#login-continue-button'); + expect(await continueButton?.innerText()).toBe('ଜାରି ରଖ'); + await continueButton?.click(); + + // Verify the URL after clicking continue + const currentURL = page.url(); + expect(currentURL).toBe('http://localhost:3000/login'); + } else { + throw new Error('Mobile number input field not found.'); + } +}); + +test('OTP Page - URL and Verification', async ({ page }) => { + // Find the mobile number input field + const mobileNumberInput = await page.$('#mobile-number-input'); + expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists + + if (mobileNumberInput) { + // Enter exactly 10 digits in the input field and click continue + await mobileNumberInput.fill('9034350533'); + const continueButton = await page.$('#login-continue-button'); + await continueButton?.click(); + + // Verify the URL after clicking continue + const otpURL = new URL('http://localhost:3000/otp?state=903435053'); + await page.waitForURL((url) => url.href.startsWith(otpURL.href)); + + // Verify the new URL after clicking continue + const updatedURL = page.url(); + } else { + throw new Error('Mobile number input field not found.'); + } +}); diff --git a/package-lock.json b/package-lock.json index 2aec70d5..dbd0834d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,6 @@ "@chakra-ui/react": "^1.8.8", "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", - "@magicbell/magicbell-react": "^8.5.3", "@material-ui/core": "^4.12.4", "@next/bundle-analyzer": "^13.3.0", "@storybook/react": "^6.5.9", @@ -38,7 +37,6 @@ "@testing-library/user-event": "^12.8.3", "@types/jest": "^25.2.3", "@types/node": "^12.20.46", - "audio-react-recorder": "^1.0.4", "axios": "^1.3.5", "bootstrap": "^5.1.3", "chatui": "*", @@ -70,8 +68,7 @@ "web-vitals": "^2.1.4" }, "devDependencies": { - "@cypress/react": "^5.12.5", - "@cypress/webpack-dev-server": "^1.8.4", + "@playwright/test": "^1.35.0", "@storybook/addon-actions": "^6.4.19", "@storybook/addon-essentials": "^6.4.19", "@storybook/addon-interactions": "^6.4.19", @@ -88,7 +85,6 @@ "@types/react-dom": "^18.0.5", "@types/underscore": "^1.11.4", "@types/uuid": "^9.0.1", - "cypress": "^9.7.0", "dotenv-cli": "^7.2.1", "eslint": "8.18.0", "eslint-config-next": "12.1.6", @@ -302,14 +298,6 @@ "react": "^18.2.0" } }, - "node_modules/@ably/msgpack-js": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@ably/msgpack-js/-/msgpack-js-0.4.0.tgz", - "integrity": "sha512-IPt/BoiQwCWubqoNik1aw/6M/DleMdrxJOUpSja6xmMRbT2p1TA8oqKWgfZabqzrq8emRNeSl/+4XABPNnW5pQ==", - "dependencies": { - "bops": "^1.0.1" - } - }, "node_modules/@adobe/css-tools": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.2.0.tgz", @@ -3871,147 +3859,6 @@ "node": ">=10" } }, - "node_modules/@cypress/mount-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@cypress/mount-utils/-/mount-utils-1.0.2.tgz", - "integrity": "sha512-Fn3fdTiyayHoy8Ol0RSu4MlBH2maQ2ZEXeEVKl/zHHXEQpld5HX3vdNLhK5YLij8cLynA4DxOT/nO9iEnIiOXw==", - "dev": true - }, - "node_modules/@cypress/react": { - "version": "5.12.5", - "resolved": "https://registry.npmjs.org/@cypress/react/-/react-5.12.5.tgz", - "integrity": "sha512-9ARxdLMVrrmh853xe6j9gNdXdh+vqM7lMrvJ+MGoT4Wae+nE0q3guNgotFZjFot0ZP/npw8r3NFyJO216ddbEA==", - "dev": true, - "dependencies": { - "@cypress/mount-utils": "1.0.2", - "debug": "^4.3.2", - "find-webpack": "2.2.1", - "find-yarn-workspace-root": "2.0.0" - }, - "peerDependencies": { - "@babel/core": ">=7", - "@babel/preset-env": ">=7", - "@cypress/webpack-dev-server": "*", - "@types/react": "^16.9.16 || ^17.0.0", - "babel-loader": ">=8", - "cypress": "*", - "next": ">=8", - "react": "^=16.x || ^=17.x", - "react-dom": "^=16.x || ^=17.x", - "webpack": ">=4" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@babel/preset-env": { - "optional": true - }, - "@cypress/webpack-dev-server": { - "optional": true - }, - "@types/react": { - "optional": true - }, - "babel-loader": { - "optional": true - }, - "next": { - "optional": true - }, - "webpack": { - "optional": true - } - } - }, - "node_modules/@cypress/request": { - "version": "2.88.11", - "resolved": "https://registry.npmjs.org/@cypress/request/-/request-2.88.11.tgz", - "integrity": "sha512-M83/wfQ1EkspjkE2lNWNV5ui2Cv7UCv1swW1DqljahbzLVWltcsexQh8jYtuS/vzFXP+HySntGM83ZXA9fn17w==", - "dev": true, - "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "http-signature": "~1.3.6", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "performance-now": "^2.1.0", - "qs": "~6.10.3", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@cypress/request/node_modules/form-data": { - "version": "2.3.3", - "dev": true, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/@cypress/request/node_modules/qs": { - "version": "6.10.5", - "dev": true, - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/@cypress/webpack-dev-server": { - "version": "1.8.4", - "resolved": "https://registry.npmjs.org/@cypress/webpack-dev-server/-/webpack-dev-server-1.8.4.tgz", - "integrity": "sha512-kDg57ozD4vzIwHa0FhT44IoMKqsgFy7WV5SbBjWLBPdoOhuCdf22gy8VukaxwYqh+MFKxqVJ7hqVLErmMgpAYA==", - "dev": true, - "dependencies": { - "debug": "^4.3.2", - "lodash": "^4.17.21", - "semver": "^7.3.4", - "webpack-merge": "^5.4.0" - }, - "peerDependencies": { - "html-webpack-plugin": ">=4", - "webpack": ">=4", - "webpack-dev-server": ">=3.0.0" - } - }, - "node_modules/@cypress/xvfb": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz", - "integrity": "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==", - "dev": true, - "dependencies": { - "debug": "^3.1.0", - "lodash.once": "^4.1.1" - } - }, - "node_modules/@cypress/xvfb/node_modules/debug": { - "version": "3.2.7", - "dev": true, - "dependencies": { - "ms": "^2.1.1" - } - }, "node_modules/@design-systems/utils": { "version": "2.12.0", "resolved": "https://registry.npmjs.org/@design-systems/utils/-/utils-2.12.0.tgz", @@ -7558,67 +7405,6 @@ "node": ">=10" } }, - "node_modules/@magicbell/magicbell-react": { - "version": "8.5.6", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@emotion/react": "^11.4.1", - "@magicbell/react-headless": "^2.6.4", - "@tippyjs/react": "^4.2.4", - "ably": "^1.2.14", - "axios": "^0.26.0", - "dayjs": "^1.10.4", - "humps": "^2.0.1", - "immer": "^9.0.7", - "miragejs": "^0.1.41", - "ramda": "^0.28.0", - "react-infinite-scroll-component": "^6.0.0", - "react-use": "^17.2.1", - "timeago.js": "^4.0.2", - "tinycolor2": "^1.4.2", - "tslib": "^2.3.1", - "zustand": "^3.6.4" - }, - "peerDependencies": { - "react": ">= 16.8.0" - } - }, - "node_modules/@magicbell/magicbell-react/node_modules/axios": { - "version": "0.26.1", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.14.8" - } - }, - "node_modules/@magicbell/react-headless": { - "version": "2.6.4", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "ably": "^1.2.14", - "axios": "^0.26.0", - "dayjs": "1.10.8", - "humps": "^2.0.1", - "immer": "^9.0.6", - "mitt": "^3.0.0", - "ramda": "^0.28.0", - "tslib": "^2.3.1", - "zustand": "^3.6.4" - }, - "peerDependencies": { - "react": ">= 16.8.0" - } - }, - "node_modules/@magicbell/react-headless/node_modules/axios": { - "version": "0.26.1", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.14.8" - } - }, - "node_modules/@magicbell/react-headless/node_modules/dayjs": { - "version": "1.10.8", - "license": "MIT" - }, "node_modules/@material-ui/core": { "version": "4.12.4", "resolved": "https://registry.npmjs.org/@material-ui/core/-/core-4.12.4.tgz", @@ -7874,10 +7660,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/@miragejs/pretender-node-polyfill": { - "version": "0.1.2", - "license": "MIT" - }, "node_modules/@motionone/animation": { "version": "10.15.1", "license": "MIT", @@ -9922,6 +9704,25 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/@playwright/test": { + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.35.0.tgz", + "integrity": "sha512-6qXdd5edCBynOwsz1YcNfgX8tNWeuS9fxy5o59D0rvHXxRtjXRebB4gE4vFVfEMXl/z8zTnAzfOs7aQDEs8G4Q==", + "dev": true, + "dependencies": { + "@types/node": "*", + "playwright-core": "1.35.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, "node_modules/@pmmmwh/react-refresh-webpack-plugin": { "version": "0.5.10", "license": "MIT", @@ -10247,16 +10048,6 @@ "version": "0.24.51", "license": "MIT" }, - "node_modules/@sindresorhus/is": { - "version": "4.6.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/is?sponsor=1" - } - }, "node_modules/@sinonjs/commons": { "version": "1.8.6", "license": "BSD-3-Clause", @@ -16383,16 +16174,6 @@ "tslib": "^2.4.0" } }, - "node_modules/@szmarczak/http-timer": { - "version": "4.0.6", - "license": "MIT", - "dependencies": { - "defer-to-connect": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@testing-library/dom": { "version": "8.20.0", "dev": true, @@ -16520,17 +16301,6 @@ "@testing-library/dom": ">=7.21.4" } }, - "node_modules/@tippyjs/react": { - "version": "4.2.6", - "license": "MIT", - "dependencies": { - "tippy.js": "^6.3.1" - }, - "peerDependencies": { - "react": ">=16.8", - "react-dom": ">=16.8" - } - }, "node_modules/@tootallnate/once": { "version": "1.1.2", "license": "MIT", @@ -16664,16 +16434,6 @@ "@types/node": "*" } }, - "node_modules/@types/cacheable-request": { - "version": "6.0.3", - "license": "MIT", - "dependencies": { - "@types/http-cache-semantics": "*", - "@types/keyv": "^3.1.4", - "@types/node": "*", - "@types/responselike": "^1.0.0" - } - }, "node_modules/@types/connect": { "version": "3.4.35", "license": "MIT", @@ -16776,10 +16536,6 @@ "version": "6.1.0", "license": "MIT" }, - "node_modules/@types/http-cache-semantics": { - "version": "4.0.1", - "license": "MIT" - }, "node_modules/@types/http-proxy": { "version": "1.17.10", "license": "MIT", @@ -16863,10 +16619,6 @@ "node": ">= 8.3" } }, - "node_modules/@types/js-cookie": { - "version": "2.2.7", - "license": "MIT" - }, "node_modules/@types/json-schema": { "version": "7.0.11", "license": "MIT" @@ -16883,13 +16635,6 @@ "@types/node": "*" } }, - "node_modules/@types/keyv": { - "version": "3.1.4", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/lodash": { "version": "4.14.192", "license": "MIT" @@ -17030,13 +16775,6 @@ "@types/node": "*" } }, - "node_modules/@types/responselike": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/retry": { "version": "0.12.0", "license": "MIT" @@ -17064,16 +16802,6 @@ "@types/node": "*" } }, - "node_modules/@types/sinonjs__fake-timers": { - "version": "8.1.1", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/sizzle": { - "version": "2.3.3", - "dev": true, - "license": "MIT" - }, "node_modules/@types/sockjs": { "version": "0.3.33", "license": "MIT", @@ -17211,15 +16939,6 @@ "version": "21.0.0", "license": "MIT" }, - "node_modules/@types/yauzl": { - "version": "2.10.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "5.57.1", "license": "MIT", @@ -17641,10 +17360,6 @@ "@xtuc/long": "4.2.2" } }, - "node_modules/@xobotyi/scrollbar-width": { - "version": "1.9.5", - "license": "MIT" - }, "node_modules/@xtuc/ieee754": { "version": "1.2.0", "license": "BSD-3-Clause" @@ -17703,25 +17418,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/ably": { - "version": "1.2.38", - "license": "Apache-2.0", - "dependencies": { - "@ably/msgpack-js": "^0.4.0", - "got": "^11.8.2", - "ws": "^5.1" - }, - "engines": { - "node": ">=5.10.x" - } - }, - "node_modules/ably/node_modules/ws": { - "version": "5.2.3", - "license": "MIT", - "dependencies": { - "async-limiter": "~1.0.0" - } - }, "node_modules/abort-controller": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", @@ -18034,25 +17730,6 @@ "dev": true, "license": "ISC" }, - "node_modules/arch": { - "version": "2.2.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, "node_modules/are-we-there-yet": { "version": "2.0.0", "dev": true, @@ -18331,14 +18008,6 @@ "version": "2.0.6", "license": "MIT" }, - "node_modules/asn1": { - "version": "0.2.6", - "dev": true, - "license": "MIT", - "dependencies": { - "safer-buffer": "~2.1.0" - } - }, "node_modules/asn1.js": { "version": "5.4.1", "dev": true, @@ -18364,14 +18033,6 @@ "util": "0.10.3" } }, - "node_modules/assert-plus": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, "node_modules/assert/node_modules/inherits": { "version": "2.0.1", "dev": true, @@ -18439,10 +18100,6 @@ "license": "MIT", "optional": true }, - "node_modules/async-limiter": { - "version": "1.0.1", - "license": "MIT" - }, "node_modules/asynckit": { "version": "0.4.0", "license": "MIT" @@ -18465,20 +18122,6 @@ "node": ">= 4.5.0" } }, - "node_modules/audio-react-recorder": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/audio-react-recorder/-/audio-react-recorder-1.0.4.tgz", - "integrity": "sha512-an7eX0yOGDbZOSu2LvnfWIsI41pkx9nXgtBVbI+9ByS91WKqoVGVb5pbmqHax5sZty2DjOIG/neuxcghIU/ucg==", - "dependencies": { - "prop-types": "^15.7.2" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "react": "^16.0.0" - } - }, "node_modules/autoprefixer": { "version": "10.4.14", "funding": [ @@ -18520,19 +18163,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/aws-sign2": { - "version": "0.7.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "*" - } - }, - "node_modules/aws4": { - "version": "1.12.0", - "dev": true, - "license": "MIT" - }, "node_modules/axe-core": { "version": "4.6.3", "license": "MPL-2.0", @@ -19130,6 +18760,7 @@ }, "node_modules/base64-js": { "version": "1.0.2", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -19139,14 +18770,6 @@ "version": "0.6.1", "license": "MIT" }, - "node_modules/bcrypt-pbkdf": { - "version": "1.0.2", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "tweetnacl": "^0.14.3" - } - }, "node_modules/before-after-hook": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", @@ -19324,11 +18947,6 @@ "safe-buffer": "~5.2.0" } }, - "node_modules/blob-util": { - "version": "2.0.2", - "dev": true, - "license": "Apache-2.0" - }, "node_modules/bluebird": { "version": "3.7.2", "license": "MIT" @@ -19428,14 +19046,6 @@ "@popperjs/core": "^2.11.6" } }, - "node_modules/bops": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "base64-js": "1.0.2", - "to-utf8": "0.0.1" - } - }, "node_modules/boxen": { "version": "5.1.2", "dev": true, @@ -19691,14 +19301,6 @@ "ieee754": "^1.1.13" } }, - "node_modules/buffer-crc32": { - "version": "0.2.13", - "dev": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, "node_modules/buffer-equal-constant-time": { "version": "1.0.1", "license": "BSD-3-Clause" @@ -19912,50 +19514,6 @@ "node": ">=0.10.0" } }, - "node_modules/cacheable-lookup": { - "version": "5.0.4", - "license": "MIT", - "engines": { - "node": ">=10.6.0" - } - }, - "node_modules/cacheable-request": { - "version": "7.0.2", - "license": "MIT", - "dependencies": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^4.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^6.0.1", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cacheable-request/node_modules/get-stream": { - "version": "5.2.0", - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cachedir": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/call-bind": { "version": "1.0.2", "license": "MIT", @@ -20071,11 +19629,6 @@ "node": ">=4" } }, - "node_modules/caseless": { - "version": "0.12.0", - "dev": true, - "license": "Apache-2.0" - }, "node_modules/ccount": { "version": "1.1.0", "dev": true, @@ -20153,16 +19706,6 @@ "resolved": "packages/chat-ui", "link": true }, - "node_modules/check-more-types": { - "version": "2.24.0", - "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", - "integrity": "sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/check-types": { "version": "11.2.2", "resolved": "https://registry.npmjs.org/check-types/-/check-types-11.2.2.tgz", @@ -20407,21 +19950,6 @@ "@colors/colors": "1.5.0" } }, - "node_modules/cli-truncate": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "slice-ansi": "^3.0.0", - "string-width": "^4.2.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/cli-width": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", @@ -20470,16 +19998,6 @@ "node": ">=6" } }, - "node_modules/clone-response": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "mimic-response": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/clsx": { "version": "1.2.1", "license": "MIT", @@ -22001,13 +21519,6 @@ "postcss": "^8.4" } }, - "node_modules/css-in-js-utils": { - "version": "3.1.0", - "license": "MIT", - "dependencies": { - "hyphenate-style-name": "^1.0.3" - } - }, "node_modules/css-loader": { "version": "5.2.7", "dev": true, @@ -22363,156 +21874,6 @@ "dev": true, "license": "MIT" }, - "node_modules/cypress": { - "version": "9.7.0", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "@cypress/request": "^2.88.10", - "@cypress/xvfb": "^1.2.4", - "@types/node": "^14.14.31", - "@types/sinonjs__fake-timers": "8.1.1", - "@types/sizzle": "^2.3.2", - "arch": "^2.2.0", - "blob-util": "^2.0.2", - "bluebird": "^3.7.2", - "buffer": "^5.6.0", - "cachedir": "^2.3.0", - "chalk": "^4.1.0", - "check-more-types": "^2.24.0", - "cli-cursor": "^3.1.0", - "cli-table3": "~0.6.1", - "commander": "^5.1.0", - "common-tags": "^1.8.0", - "dayjs": "^1.10.4", - "debug": "^4.3.2", - "enquirer": "^2.3.6", - "eventemitter2": "^6.4.3", - "execa": "4.1.0", - "executable": "^4.1.1", - "extract-zip": "2.0.1", - "figures": "^3.2.0", - "fs-extra": "^9.1.0", - "getos": "^3.2.1", - "is-ci": "^3.0.0", - "is-installed-globally": "~0.4.0", - "lazy-ass": "^1.6.0", - "listr2": "^3.8.3", - "lodash": "^4.17.21", - "log-symbols": "^4.0.0", - "minimist": "^1.2.6", - "ospath": "^1.2.2", - "pretty-bytes": "^5.6.0", - "proxy-from-env": "1.0.0", - "request-progress": "^3.0.0", - "semver": "^7.3.2", - "supports-color": "^8.1.1", - "tmp": "~0.2.1", - "untildify": "^4.0.0", - "yauzl": "^2.10.0" - }, - "bin": { - "cypress": "bin/cypress" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/cypress/node_modules/@types/node": { - "version": "14.18.42", - "dev": true, - "license": "MIT" - }, - "node_modules/cypress/node_modules/commander": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/cypress/node_modules/execa": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/cypress/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/cypress/node_modules/get-stream": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cypress/node_modules/human-signals": { - "version": "1.1.1", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=8.12.0" - } - }, - "node_modules/cypress/node_modules/proxy-from-env": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/cypress/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, "node_modules/damerau-levenshtein": { "version": "1.0.8", "license": "BSD-2-Clause" @@ -22525,17 +21886,6 @@ "node": ">=8" } }, - "node_modules/dashdash": { - "version": "1.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "assert-plus": "^1.0.0" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/data-urls": { "version": "2.0.0", "license": "MIT", @@ -22592,10 +21942,6 @@ "node": "*" } }, - "node_modules/dayjs": { - "version": "1.11.7", - "license": "MIT" - }, "node_modules/debug": { "version": "4.3.4", "license": "MIT", @@ -22654,29 +22000,6 @@ "node": ">=0.10" } }, - "node_modules/decompress-response": { - "version": "6.0.0", - "license": "MIT", - "dependencies": { - "mimic-response": "^3.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decompress-response/node_modules/mimic-response": { - "version": "3.1.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/dedent": { "version": "0.7.0", "license": "MIT" @@ -22978,13 +22301,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/defer-to-connect": { - "version": "2.0.1", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, "node_modules/define-lazy-prop": { "version": "2.0.0", "license": "MIT", @@ -23492,15 +22808,6 @@ "safe-buffer": "~5.1.0" } }, - "node_modules/ecc-jsbn": { - "version": "0.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "license": "Apache-2.0", @@ -23601,6 +22908,7 @@ }, "node_modules/end-of-stream": { "version": "1.4.4", + "dev": true, "license": "MIT", "dependencies": { "once": "^1.4.0" @@ -24821,11 +24129,6 @@ "node": ">=6" } }, - "node_modules/eventemitter2": { - "version": "6.4.9", - "dev": true, - "license": "MIT" - }, "node_modules/eventemitter3": { "version": "4.0.7", "license": "MIT" @@ -24872,17 +24175,6 @@ "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/executable": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "pify": "^2.2.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/exit": { "version": "0.1.2", "engines": { @@ -25239,51 +24531,6 @@ "node": ">=0.10.0" } }, - "node_modules/extract-zip": { - "version": "2.0.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "debug": "^4.1.1", - "get-stream": "^5.1.0", - "yauzl": "^2.10.0" - }, - "bin": { - "extract-zip": "cli.js" - }, - "engines": { - "node": ">= 10.17.0" - }, - "optionalDependencies": { - "@types/yauzl": "^2.9.1" - } - }, - "node_modules/extract-zip/node_modules/get-stream": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/extsprintf": { - "version": "1.3.0", - "dev": true, - "engines": [ - "node >=0.6.0" - ], - "license": "MIT" - }, - "node_modules/fake-xml-http-request": { - "version": "2.1.2", - "license": "MIT" - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "license": "MIT" @@ -25315,17 +24562,6 @@ "version": "2.0.6", "license": "MIT" }, - "node_modules/fast-loops": { - "version": "1.1.3", - "license": "MIT" - }, - "node_modules/fast-shallow-equal": { - "version": "1.0.0" - }, - "node_modules/fastest-stable-stringify": { - "version": "2.0.2", - "license": "MIT" - }, "node_modules/fastq": { "version": "1.15.0", "license": "ISC", @@ -25350,14 +24586,6 @@ "bser": "2.1.1" } }, - "node_modules/fd-slicer": { - "version": "1.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pend": "~1.2.0" - } - }, "node_modules/fetch-retry": { "version": "5.0.4", "dev": true, @@ -25629,193 +24857,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/find-webpack": { - "version": "2.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "4.1.1", - "find-yarn-workspace-root": "1.2.1", - "mocked-env": "1.3.2" - } - }, - "node_modules/find-webpack/node_modules/braces": { - "version": "2.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-webpack/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-webpack/node_modules/debug": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/find-webpack/node_modules/fill-range": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-webpack/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-webpack/node_modules/find-yarn-workspace-root": { - "version": "1.2.1", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "fs-extra": "^4.0.3", - "micromatch": "^3.1.4" - } - }, - "node_modules/find-webpack/node_modules/fs-extra": { - "version": "4.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "node_modules/find-webpack/node_modules/is-buffer": { - "version": "1.1.6", - "dev": true, - "license": "MIT" - }, - "node_modules/find-webpack/node_modules/is-extendable": { - "version": "0.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-webpack/node_modules/is-number": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-webpack/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "dev": true, - "license": "MIT", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-webpack/node_modules/jsonfile": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/find-webpack/node_modules/micromatch": { - "version": "3.1.10", - "dev": true, - "license": "MIT", - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-webpack/node_modules/to-regex-range": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-webpack/node_modules/universalify": { - "version": "0.1.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/find-yarn-workspace-root": { - "version": "2.0.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "micromatch": "^4.0.2" - } - }, "node_modules/firebase": { "version": "9.19.1", "license": "Apache-2.0", @@ -25978,14 +25019,6 @@ "node": ">=8.0.0" } }, - "node_modules/forever-agent": { - "version": "0.6.1", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "*" - } - }, "node_modules/fork-ts-checker-webpack-plugin": { "version": "6.5.3", "license": "MIT", @@ -26505,22 +25538,6 @@ "node": ">=0.10.0" } }, - "node_modules/getos": { - "version": "3.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "async": "^3.2.0" - } - }, - "node_modules/getpass": { - "version": "0.1.7", - "dev": true, - "license": "MIT", - "dependencies": { - "assert-plus": "^1.0.0" - } - }, "node_modules/git-raw-commits": { "version": "2.0.11", "dev": true, @@ -26671,20 +25688,6 @@ "process": "^0.11.10" } }, - "node_modules/global-dirs": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ini": "2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/global-modules": { "version": "2.0.0", "license": "MIT", @@ -26798,29 +25801,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/got": { - "version": "11.8.6", - "license": "MIT", - "dependencies": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.2", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=10.19.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" - } - }, "node_modules/graceful-fs": { "version": "4.2.11", "license": "ISC" @@ -27425,6 +26405,7 @@ }, "node_modules/http-cache-semantics": { "version": "4.1.1", + "dev": true, "license": "BSD-2-Clause" }, "node_modules/http-deceiver": { @@ -27506,30 +26487,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/http-signature": { - "version": "1.3.6", - "dev": true, - "license": "MIT", - "dependencies": { - "assert-plus": "^1.0.0", - "jsprim": "^2.0.2", - "sshpk": "^1.14.1" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/http2-wrapper": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "quick-lru": "^5.1.1", - "resolve-alpn": "^1.0.0" - }, - "engines": { - "node": ">=10.19.0" - } - }, "node_modules/https-browserify": { "version": "1.0.0", "dev": true, @@ -27562,10 +26519,6 @@ "ms": "^2.0.0" } }, - "node_modules/humps": { - "version": "2.0.1", - "license": "MIT" - }, "node_modules/husky": { "version": "8.0.3", "dev": true, @@ -27819,10 +26772,6 @@ "dev": true, "license": "ISC" }, - "node_modules/inflected": { - "version": "2.1.0", - "license": "MIT" - }, "node_modules/inflight": { "version": "1.0.6", "license": "ISC", @@ -27835,14 +26784,6 @@ "version": "2.0.4", "license": "ISC" }, - "node_modules/ini": { - "version": "2.0.0", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, "node_modules/init-package-json": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-3.0.2.tgz", @@ -27911,14 +26852,6 @@ "dev": true, "license": "MIT" }, - "node_modules/inline-style-prefixer": { - "version": "6.0.4", - "license": "MIT", - "dependencies": { - "css-in-js-utils": "^3.1.0", - "fast-loops": "^1.1.3" - } - }, "node_modules/inquirer": { "version": "8.2.5", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", @@ -28149,17 +27082,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-ci": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ci-info": "^3.2.0" - }, - "bin": { - "is-ci": "bin.js" - } - }, "node_modules/is-core-module": { "version": "2.11.0", "license": "MIT", @@ -28311,21 +27233,6 @@ "resolved": "https://registry.npmjs.org/is-in-browser/-/is-in-browser-1.1.3.tgz", "integrity": "sha512-FeXIBgG/CPGd/WUxuEyvgGTEfwiG9Z4EKGxjNMRqviiIIfsmgrpnHLffEDdwUHqNva1VEW91o3xBT/m8Elgl9g==" }, - "node_modules/is-installed-globally": { - "version": "0.4.0", - "dev": true, - "license": "MIT", - "dependencies": { - "global-dirs": "^3.0.0", - "is-path-inside": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", @@ -28684,11 +27591,6 @@ "unfetch": "^4.2.0" } }, - "node_modules/isstream": { - "version": "0.1.2", - "dev": true, - "license": "MIT" - }, "node_modules/istanbul-lib-coverage": { "version": "3.2.0", "license": "BSD-3-Clause", @@ -31640,10 +30542,6 @@ "url": "https://github.com/sponsors/panva" } }, - "node_modules/js-cookie": { - "version": "2.2.1", - "license": "MIT" - }, "node_modules/js-packages": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/js-packages/-/js-packages-1.0.1.tgz", @@ -31672,11 +30570,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/jsbn": { - "version": "0.1.1", - "dev": true, - "license": "MIT" - }, "node_modules/jsdom": { "version": "16.7.0", "license": "MIT", @@ -31802,10 +30695,6 @@ "node": ">=4" } }, - "node_modules/json-buffer": { - "version": "3.0.1", - "license": "MIT" - }, "node_modules/json-parse-better-errors": { "version": "1.0.2", "dev": true, @@ -31924,20 +30813,6 @@ "semver": "bin/semver" } }, - "node_modules/jsprim": { - "version": "2.0.2", - "dev": true, - "engines": [ - "node >=0.6.0" - ], - "license": "MIT", - "dependencies": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.4.0", - "verror": "1.10.0" - } - }, "node_modules/jss": { "version": "10.10.0", "resolved": "https://registry.npmjs.org/jss/-/jss-10.10.0.tgz", @@ -32089,13 +30964,6 @@ "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" }, - "node_modules/keyv": { - "version": "4.5.2", - "license": "MIT", - "dependencies": { - "json-buffer": "3.0.1" - } - }, "node_modules/kind-of": { "version": "6.0.3", "license": "MIT", @@ -32136,14 +31004,6 @@ "shell-quote": "^1.7.3" } }, - "node_modules/lazy-ass": { - "version": "1.6.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "> 0.8" - } - }, "node_modules/lazy-universal-dotenv": { "version": "3.0.1", "dev": true, @@ -33046,48 +31906,6 @@ "version": "1.2.4", "license": "MIT" }, - "node_modules/listr2": { - "version": "3.14.0", - "dev": true, - "license": "MIT", - "dependencies": { - "cli-truncate": "^2.1.0", - "colorette": "^2.0.16", - "log-update": "^4.0.0", - "p-map": "^4.0.0", - "rfdc": "^1.3.0", - "rxjs": "^7.5.1", - "through": "^2.3.8", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "enquirer": ">= 2.3.0 < 3" - }, - "peerDependenciesMeta": { - "enquirer": { - "optional": true - } - } - }, - "node_modules/listr2/node_modules/p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/load-json-file": { "version": "1.1.0", "dev": true, @@ -33164,10 +31982,6 @@ "version": "4.17.21", "license": "MIT" }, - "node_modules/lodash.assign": { - "version": "4.2.0", - "license": "MIT" - }, "node_modules/lodash.camelcase": { "version": "4.3.0", "license": "MIT" @@ -33176,56 +31990,21 @@ "version": "4.5.0", "license": "MIT" }, - "node_modules/lodash.compact": { - "version": "3.0.1", - "license": "MIT" - }, "node_modules/lodash.debounce": { "version": "4.0.8", "license": "MIT" }, - "node_modules/lodash.find": { - "version": "4.6.0", - "license": "MIT" - }, - "node_modules/lodash.flatten": { - "version": "4.4.0", - "license": "MIT" - }, - "node_modules/lodash.forin": { - "version": "4.4.0", - "license": "MIT" - }, - "node_modules/lodash.get": { - "version": "4.4.2", - "license": "MIT" - }, - "node_modules/lodash.has": { - "version": "4.5.2", - "license": "MIT" - }, "node_modules/lodash.includes": { "version": "4.3.0", "license": "MIT" }, - "node_modules/lodash.invokemap": { - "version": "4.6.0", - "license": "MIT" - }, "node_modules/lodash.isboolean": { "version": "3.0.3", "license": "MIT" }, - "node_modules/lodash.isempty": { - "version": "4.4.0", - "license": "MIT" - }, - "node_modules/lodash.isequal": { - "version": "4.5.0", - "license": "MIT" - }, "node_modules/lodash.isfunction": { "version": "3.0.9", + "dev": true, "license": "MIT" }, "node_modules/lodash.isinteger": { @@ -33255,18 +32034,6 @@ "dev": true, "license": "MIT" }, - "node_modules/lodash.lowerfirst": { - "version": "4.3.1", - "license": "MIT" - }, - "node_modules/lodash.map": { - "version": "4.6.0", - "license": "MIT" - }, - "node_modules/lodash.mapvalues": { - "version": "4.6.0", - "license": "MIT" - }, "node_modules/lodash.memoize": { "version": "4.1.2", "license": "MIT" @@ -33283,12 +32050,9 @@ "version": "4.1.1", "license": "MIT" }, - "node_modules/lodash.pick": { - "version": "4.4.0", - "license": "MIT" - }, "node_modules/lodash.snakecase": { "version": "4.1.1", + "dev": true, "license": "MIT" }, "node_modules/lodash.sortby": { @@ -33308,19 +32072,11 @@ "version": "4.5.0", "license": "MIT" }, - "node_modules/lodash.uniqby": { - "version": "4.7.0", - "license": "MIT" - }, "node_modules/lodash.upperfirst": { "version": "4.3.1", "dev": true, "license": "MIT" }, - "node_modules/lodash.values": { - "version": "4.3.0", - "license": "MIT" - }, "node_modules/log-symbols": { "version": "4.1.0", "dev": true, @@ -33336,52 +32092,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/log-update": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-escapes": "^4.3.0", - "cli-cursor": "^3.1.0", - "slice-ansi": "^4.0.0", - "wrap-ansi": "^6.2.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/slice-ansi": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/log-update/node_modules/wrap-ansi": { - "version": "6.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/long": { "version": "4.0.0", "license": "Apache-2.0" @@ -33416,13 +32126,6 @@ "tslib": "^2.0.3" } }, - "node_modules/lowercase-keys": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/lru-cache": { "version": "5.1.1", "license": "ISC", @@ -34053,13 +32756,6 @@ "node": ">=6" } }, - "node_modules/mimic-response": { - "version": "1.0.1", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/min-document": { "version": "2.19.0", "dev": true, @@ -34292,41 +32988,6 @@ "dev": true, "license": "ISC" }, - "node_modules/miragejs": { - "version": "0.1.47", - "license": "MIT", - "dependencies": { - "@miragejs/pretender-node-polyfill": "^0.1.0", - "inflected": "^2.0.4", - "lodash.assign": "^4.2.0", - "lodash.camelcase": "^4.3.0", - "lodash.clonedeep": "^4.5.0", - "lodash.compact": "^3.0.1", - "lodash.find": "^4.6.0", - "lodash.flatten": "^4.4.0", - "lodash.forin": "^4.4.0", - "lodash.get": "^4.4.2", - "lodash.has": "^4.5.2", - "lodash.invokemap": "^4.6.0", - "lodash.isempty": "^4.4.0", - "lodash.isequal": "^4.5.0", - "lodash.isfunction": "^3.0.9", - "lodash.isinteger": "^4.0.4", - "lodash.isplainobject": "^4.0.6", - "lodash.lowerfirst": "^4.3.1", - "lodash.map": "^4.6.0", - "lodash.mapvalues": "^4.6.0", - "lodash.pick": "^4.4.0", - "lodash.snakecase": "^4.1.1", - "lodash.uniq": "^4.5.0", - "lodash.uniqby": "^4.7.0", - "lodash.values": "^4.3.0", - "pretender": "^3.4.7" - }, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, "node_modules/mississippi": { "version": "3.0.0", "dev": true, @@ -34391,10 +33052,6 @@ "xtend": "~4.0.1" } }, - "node_modules/mitt": { - "version": "3.0.0", - "license": "MIT" - }, "node_modules/mixin-deep": { "version": "1.3.2", "dev": true, @@ -34432,33 +33089,6 @@ "node": ">=10" } }, - "node_modules/mocked-env": { - "version": "1.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "check-more-types": "2.24.0", - "debug": "4.1.1", - "lazy-ass": "1.6.0", - "ramda": "0.26.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/mocked-env/node_modules/debug": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/mocked-env/node_modules/ramda": { - "version": "0.26.1", - "dev": true, - "license": "MIT" - }, "node_modules/modify-values": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", @@ -34577,24 +33207,6 @@ "license": "MIT", "optional": true }, - "node_modules/nano-css": { - "version": "5.3.5", - "license": "Unlicense", - "dependencies": { - "css-tree": "^1.1.2", - "csstype": "^3.0.6", - "fastest-stable-stringify": "^2.0.2", - "inline-style-prefixer": "^6.0.0", - "rtl-css-js": "^1.14.0", - "sourcemap-codec": "^1.4.8", - "stacktrace-js": "^2.0.2", - "stylis": "^4.0.6" - }, - "peerDependencies": { - "react": "*", - "react-dom": "*" - } - }, "node_modules/nanoid": { "version": "3.3.6", "funding": [ @@ -36391,11 +35003,6 @@ "node": ">=0.10.0" } }, - "node_modules/ospath": { - "version": "1.2.2", - "dev": true, - "license": "MIT" - }, "node_modules/p-all": { "version": "2.1.0", "dev": true, @@ -36415,13 +35022,6 @@ "node": ">=6" } }, - "node_modules/p-cancelable": { - "version": "2.1.1", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/p-defer": { "version": "1.0.0", "dev": true, @@ -37203,11 +35803,6 @@ "node": ">=0.12" } }, - "node_modules/pend": { - "version": "1.2.0", - "dev": true, - "license": "MIT" - }, "node_modules/performance-now": { "version": "2.1.0", "license": "MIT" @@ -37335,6 +35930,18 @@ "node": ">=4" } }, + "node_modules/playwright-core": { + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.0.tgz", + "integrity": "sha512-muMXyPmIx/2DPrCHOD1H1ePT01o7OdKxKj2ebmCAYvqhUy+Y1bpal7B0rdoxros7YrXI294JT/DWw2LqyiqTPA==", + "dev": true, + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/pnp-webpack-plugin": { "version": "1.7.0", "dev": true, @@ -38605,14 +37212,6 @@ "node": ">= 0.8.0" } }, - "node_modules/pretender": { - "version": "3.4.7", - "license": "MIT", - "dependencies": { - "fake-xml-http-request": "^2.1.2", - "route-recognizer": "^0.3.3" - } - }, "node_modules/prettier": { "version": "2.8.7", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz", @@ -38940,6 +37539,7 @@ }, "node_modules/pump": { "version": "3.0.0", + "dev": true, "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", @@ -39049,6 +37649,7 @@ }, "node_modules/ramda": { "version": "0.28.0", + "dev": true, "license": "MIT", "funding": { "type": "opencollective", @@ -39435,16 +38036,6 @@ "react-dom": ">=16" } }, - "node_modules/react-infinite-scroll-component": { - "version": "6.1.0", - "license": "MIT", - "dependencies": { - "throttle-debounce": "^2.1.0" - }, - "peerDependencies": { - "react": ">=16.0.0" - } - }, "node_modules/react-inspector": { "version": "5.1.1", "dev": true, @@ -39808,44 +38399,6 @@ "react-dom": ">=16.6.0" } }, - "node_modules/react-universal-interface": { - "version": "0.6.2", - "peerDependencies": { - "react": "*", - "tslib": "*" - } - }, - "node_modules/react-use": { - "version": "17.4.0", - "license": "Unlicense", - "dependencies": { - "@types/js-cookie": "^2.2.6", - "@xobotyi/scrollbar-width": "^1.9.5", - "copy-to-clipboard": "^3.3.1", - "fast-deep-equal": "^3.1.3", - "fast-shallow-equal": "^1.0.0", - "js-cookie": "^2.2.1", - "nano-css": "^5.3.1", - "react-universal-interface": "^0.6.2", - "resize-observer-polyfill": "^1.5.1", - "screenfull": "^5.1.0", - "set-harmonic-interval": "^1.0.1", - "throttle-debounce": "^3.0.1", - "ts-easing": "^0.2.0", - "tslib": "^2.1.0" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/react-use/node_modules/throttle-debounce": { - "version": "3.0.1", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, "node_modules/read": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", @@ -40484,14 +39037,6 @@ "node": ">=0.10.0" } }, - "node_modules/request-progress": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "throttleit": "^1.0.0" - } - }, "node_modules/require-directory": { "version": "2.1.1", "license": "MIT", @@ -40510,10 +39055,6 @@ "version": "1.0.0", "license": "MIT" }, - "node_modules/resize-observer-polyfill": { - "version": "1.5.1", - "license": "MIT" - }, "node_modules/resolve": { "version": "1.22.2", "license": "MIT", @@ -40529,10 +39070,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/resolve-alpn": { - "version": "1.2.1", - "license": "MIT" - }, "node_modules/resolve-cwd": { "version": "3.0.0", "license": "MIT", @@ -40645,16 +39182,6 @@ "node": ">=10" } }, - "node_modules/responselike": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "lowercase-keys": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/restore-cursor": { "version": "3.1.0", "dev": true, @@ -40690,11 +39217,6 @@ "node": ">=0.10.0" } }, - "node_modules/rfdc": { - "version": "1.3.0", - "dev": true, - "license": "MIT" - }, "node_modules/rimraf": { "version": "3.0.2", "license": "ISC", @@ -40750,10 +39272,6 @@ "randombytes": "^2.1.0" } }, - "node_modules/route-recognizer": { - "version": "0.3.4", - "license": "MIT" - }, "node_modules/rsvp": { "version": "4.8.5", "dev": true, @@ -40762,13 +39280,6 @@ "node": "6.* || >= 7.*" } }, - "node_modules/rtl-css-js": { - "version": "1.16.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.1.2" - } - }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -41201,16 +39712,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/screenfull": { - "version": "5.2.0", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/select-hose": { "version": "2.0.0", "license": "MIT" @@ -41409,13 +39910,6 @@ "dev": true, "license": "ISC" }, - "node_modules/set-harmonic-interval": { - "version": "1.0.1", - "license": "Unlicense", - "engines": { - "node": ">=6.9" - } - }, "node_modules/set-value": { "version": "2.0.1", "dev": true, @@ -41809,19 +40303,6 @@ "node": ">=6" } }, - "node_modules/slice-ansi": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", @@ -42365,30 +40846,6 @@ "version": "1.0.3", "license": "BSD-3-Clause" }, - "node_modules/sshpk": { - "version": "1.17.0", - "dev": true, - "license": "MIT", - "dependencies": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - }, - "bin": { - "sshpk-conv": "bin/sshpk-conv", - "sshpk-sign": "bin/sshpk-sign", - "sshpk-verify": "bin/sshpk-verify" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/ssri": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", @@ -42408,15 +40865,6 @@ "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==", "license": "MIT" }, - "node_modules/stack-generator": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.10.tgz", - "integrity": "sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==", - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, "node_modules/stack-utils": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", @@ -42442,34 +40890,6 @@ "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", "license": "MIT" }, - "node_modules/stacktrace-gps": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/stacktrace-gps/-/stacktrace-gps-3.1.2.tgz", - "integrity": "sha512-GcUgbO4Jsqqg6RxfyTHFiPxdPqF+3LFmQhm7MgCuYQOYuWyqxo5pwRPz5d/u6/WYJdEnWfK4r+jGbyD8TSggXQ==", - "license": "MIT", - "dependencies": { - "source-map": "0.5.6", - "stackframe": "^1.3.4" - } - }, - "node_modules/stacktrace-gps/node_modules/source-map": { - "version": "0.5.6", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stacktrace-js": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stacktrace-js/-/stacktrace-js-2.0.2.tgz", - "integrity": "sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==", - "license": "MIT", - "dependencies": { - "error-stack-parser": "^2.0.6", - "stack-generator": "^2.0.5", - "stacktrace-gps": "^3.0.4" - } - }, "node_modules/state-toggle": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz", @@ -43527,18 +41947,6 @@ "version": "6.0.2", "license": "MIT" }, - "node_modules/throttle-debounce": { - "version": "2.3.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/throttleit": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, "node_modules/through": { "version": "2.3.8", "dev": true, @@ -43600,10 +42008,6 @@ "version": "1.1.0", "license": "MIT" }, - "node_modules/timeago.js": { - "version": "4.0.2", - "license": "MIT" - }, "node_modules/timers-browserify": { "version": "2.0.12", "dev": true, @@ -43624,17 +42028,6 @@ "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" }, - "node_modules/tinycolor2": { - "version": "1.6.0", - "license": "MIT" - }, - "node_modules/tippy.js": { - "version": "6.3.7", - "license": "MIT", - "dependencies": { - "@popperjs/core": "^2.9.0" - } - }, "node_modules/tmp": { "version": "0.2.1", "dev": true, @@ -43713,10 +42106,6 @@ "node": ">=8.0" } }, - "node_modules/to-utf8": { - "version": "0.0.1", - "license": "MIT" - }, "node_modules/toggle-selection": { "version": "1.0.6", "license": "MIT" @@ -43769,18 +42158,6 @@ "node": "*" } }, - "node_modules/tough-cookie": { - "version": "2.5.0", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=0.8" - } - }, "node_modules/tr46": { "version": "0.0.3", "license": "MIT" @@ -43845,10 +42222,6 @@ "node": ">=6.10" } }, - "node_modules/ts-easing": { - "version": "0.2.0", - "license": "Unlicense" - }, "node_modules/ts-interface-checker": { "version": "0.1.13", "license": "Apache-2.0" @@ -44258,17 +42631,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, "node_modules/turbo": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.9.1.tgz", @@ -44364,11 +42726,6 @@ "win32" ] }, - "node_modules/tweetnacl": { - "version": "0.14.5", - "dev": true, - "license": "Unlicense" - }, "node_modules/type-check": { "version": "0.4.0", "license": "MIT", @@ -45053,24 +43410,6 @@ "node": ">= 0.8" } }, - "node_modules/verror": { - "version": "1.10.0", - "dev": true, - "engines": [ - "node >=0.6.0" - ], - "license": "MIT", - "dependencies": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "node_modules/verror/node_modules/core-util-is": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, "node_modules/vfile": { "version": "4.2.1", "dev": true, @@ -45847,18 +44186,6 @@ "node": ">=10.13.0" } }, - "node_modules/webpack-merge": { - "version": "5.8.0", - "dev": true, - "license": "MIT", - "dependencies": { - "clone-deep": "^4.0.1", - "wildcard": "^2.0.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/webpack-sources": { "version": "3.2.3", "license": "MIT", @@ -46022,11 +44349,6 @@ "node": ">=8" } }, - "node_modules/wildcard": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, "node_modules/word-wrap": { "version": "1.2.3", "license": "MIT", @@ -46541,15 +44863,6 @@ "node": ">=12" } }, - "node_modules/yauzl": { - "version": "2.10.0", - "dev": true, - "license": "MIT", - "dependencies": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" - } - }, "node_modules/yn": { "version": "3.1.1", "dev": true, @@ -46568,21 +44881,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/zustand": { - "version": "3.7.2", - "license": "MIT", - "engines": { - "node": ">=12.7.0" - }, - "peerDependencies": { - "react": ">=16.8" - }, - "peerDependenciesMeta": { - "react": { - "optional": true - } - } - }, "node_modules/zwitch": { "version": "1.0.5", "dev": true, @@ -47893,14 +46191,6 @@ } }, "dependencies": { - "@ably/msgpack-js": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@ably/msgpack-js/-/msgpack-js-0.4.0.tgz", - "integrity": "sha512-IPt/BoiQwCWubqoNik1aw/6M/DleMdrxJOUpSja6xmMRbT2p1TA8oqKWgfZabqzrq8emRNeSl/+4XABPNnW5pQ==", - "requires": { - "bops": "^1.0.1" - } - }, "@adobe/css-tools": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.2.0.tgz", @@ -50307,99 +48597,6 @@ "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.0.tgz", "integrity": "sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ==" }, - "@cypress/mount-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@cypress/mount-utils/-/mount-utils-1.0.2.tgz", - "integrity": "sha512-Fn3fdTiyayHoy8Ol0RSu4MlBH2maQ2ZEXeEVKl/zHHXEQpld5HX3vdNLhK5YLij8cLynA4DxOT/nO9iEnIiOXw==", - "dev": true - }, - "@cypress/react": { - "version": "5.12.5", - "resolved": "https://registry.npmjs.org/@cypress/react/-/react-5.12.5.tgz", - "integrity": "sha512-9ARxdLMVrrmh853xe6j9gNdXdh+vqM7lMrvJ+MGoT4Wae+nE0q3guNgotFZjFot0ZP/npw8r3NFyJO216ddbEA==", - "dev": true, - "requires": { - "@cypress/mount-utils": "1.0.2", - "debug": "^4.3.2", - "find-webpack": "2.2.1", - "find-yarn-workspace-root": "2.0.0" - } - }, - "@cypress/request": { - "version": "2.88.11", - "resolved": "https://registry.npmjs.org/@cypress/request/-/request-2.88.11.tgz", - "integrity": "sha512-M83/wfQ1EkspjkE2lNWNV5ui2Cv7UCv1swW1DqljahbzLVWltcsexQh8jYtuS/vzFXP+HySntGM83ZXA9fn17w==", - "dev": true, - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "http-signature": "~1.3.6", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "performance-now": "^2.1.0", - "qs": "~6.10.3", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^8.3.2" - }, - "dependencies": { - "form-data": { - "version": "2.3.3", - "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "qs": { - "version": "6.10.5", - "dev": true, - "requires": { - "side-channel": "^1.0.4" - } - } - } - }, - "@cypress/webpack-dev-server": { - "version": "1.8.4", - "resolved": "https://registry.npmjs.org/@cypress/webpack-dev-server/-/webpack-dev-server-1.8.4.tgz", - "integrity": "sha512-kDg57ozD4vzIwHa0FhT44IoMKqsgFy7WV5SbBjWLBPdoOhuCdf22gy8VukaxwYqh+MFKxqVJ7hqVLErmMgpAYA==", - "dev": true, - "requires": { - "debug": "^4.3.2", - "lodash": "^4.17.21", - "semver": "^7.3.4", - "webpack-merge": "^5.4.0" - } - }, - "@cypress/xvfb": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz", - "integrity": "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==", - "dev": true, - "requires": { - "debug": "^3.1.0", - "lodash.once": "^4.1.1" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } - } - }, "@design-systems/utils": { "version": "2.12.0", "resolved": "https://registry.npmjs.org/@design-systems/utils/-/utils-2.12.0.tgz", @@ -53096,60 +51293,6 @@ } } }, - "@magicbell/magicbell-react": { - "version": "8.5.6", - "requires": { - "@emotion/react": "^11.4.1", - "@magicbell/react-headless": "^2.6.4", - "@tippyjs/react": "^4.2.4", - "ably": "^1.2.14", - "axios": "^0.26.0", - "dayjs": "^1.10.4", - "humps": "^2.0.1", - "immer": "^9.0.7", - "miragejs": "^0.1.41", - "ramda": "^0.28.0", - "react-infinite-scroll-component": "^6.0.0", - "react-use": "^17.2.1", - "timeago.js": "^4.0.2", - "tinycolor2": "^1.4.2", - "tslib": "^2.3.1", - "zustand": "^3.6.4" - }, - "dependencies": { - "axios": { - "version": "0.26.1", - "requires": { - "follow-redirects": "^1.14.8" - } - } - } - }, - "@magicbell/react-headless": { - "version": "2.6.4", - "requires": { - "ably": "^1.2.14", - "axios": "^0.26.0", - "dayjs": "1.10.8", - "humps": "^2.0.1", - "immer": "^9.0.6", - "mitt": "^3.0.0", - "ramda": "^0.28.0", - "tslib": "^2.3.1", - "zustand": "^3.6.4" - }, - "dependencies": { - "axios": { - "version": "0.26.1", - "requires": { - "follow-redirects": "^1.14.8" - } - }, - "dayjs": { - "version": "1.10.8" - } - } - }, "@material-ui/core": { "version": "4.12.4", "resolved": "https://registry.npmjs.org/@material-ui/core/-/core-4.12.4.tgz", @@ -53313,9 +51456,6 @@ "version": "1.6.22", "dev": true }, - "@miragejs/pretender-node-polyfill": { - "version": "0.1.2" - }, "@motionone/animation": { "version": "10.15.1", "requires": { @@ -54769,6 +52909,17 @@ "node-gyp-build": "^4.3.0" } }, + "@playwright/test": { + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.35.0.tgz", + "integrity": "sha512-6qXdd5edCBynOwsz1YcNfgX8tNWeuS9fxy5o59D0rvHXxRtjXRebB4gE4vFVfEMXl/z8zTnAzfOs7aQDEs8G4Q==", + "dev": true, + "requires": { + "@types/node": "*", + "fsevents": "2.3.2", + "playwright-core": "1.35.0" + } + }, "@pmmmwh/react-refresh-webpack-plugin": { "version": "0.5.10", "requires": { @@ -54965,9 +53116,6 @@ "@sinclair/typebox": { "version": "0.24.51" }, - "@sindresorhus/is": { - "version": "4.6.0" - }, "@sinonjs/commons": { "version": "1.8.6", "requires": { @@ -59154,12 +57302,6 @@ "tslib": "^2.4.0" } }, - "@szmarczak/http-timer": { - "version": "4.0.6", - "requires": { - "defer-to-connect": "^2.0.0" - } - }, "@testing-library/dom": { "version": "8.20.0", "dev": true, @@ -59247,12 +57389,6 @@ "@babel/runtime": "^7.12.5" } }, - "@tippyjs/react": { - "version": "4.2.6", - "requires": { - "tippy.js": "^6.3.1" - } - }, "@tootallnate/once": { "version": "1.1.2" }, @@ -59357,15 +57493,6 @@ "@types/node": "*" } }, - "@types/cacheable-request": { - "version": "6.0.3", - "requires": { - "@types/http-cache-semantics": "*", - "@types/keyv": "^3.1.4", - "@types/node": "*", - "@types/responselike": "^1.0.0" - } - }, "@types/connect": { "version": "3.4.35", "requires": { @@ -59454,9 +57581,6 @@ "@types/html-minifier-terser": { "version": "6.1.0" }, - "@types/http-cache-semantics": { - "version": "4.0.1" - }, "@types/http-proxy": { "version": "1.17.10", "requires": { @@ -59523,9 +57647,6 @@ } } }, - "@types/js-cookie": { - "version": "2.2.7" - }, "@types/json-schema": { "version": "7.0.11" }, @@ -59540,12 +57661,6 @@ "@types/node": "*" } }, - "@types/keyv": { - "version": "3.1.4", - "requires": { - "@types/node": "*" - } - }, "@types/lodash": { "version": "4.14.192" }, @@ -59663,12 +57778,6 @@ "@types/node": "*" } }, - "@types/responselike": { - "version": "1.0.0", - "requires": { - "@types/node": "*" - } - }, "@types/retry": { "version": "0.12.0" }, @@ -59691,14 +57800,6 @@ "@types/node": "*" } }, - "@types/sinonjs__fake-timers": { - "version": "8.1.1", - "dev": true - }, - "@types/sizzle": { - "version": "2.3.3", - "dev": true - }, "@types/sockjs": { "version": "0.3.33", "requires": { @@ -59815,14 +57916,6 @@ "@types/yargs-parser": { "version": "21.0.0" }, - "@types/yauzl": { - "version": "2.10.0", - "dev": true, - "optional": true, - "requires": { - "@types/node": "*" - } - }, "@typescript-eslint/eslint-plugin": { "version": "5.57.1", "requires": { @@ -60107,9 +58200,6 @@ "@xtuc/long": "4.2.2" } }, - "@xobotyi/scrollbar-width": { - "version": "1.9.5" - }, "@xtuc/ieee754": { "version": "1.2.0" }, @@ -60158,22 +58248,6 @@ "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", "dev": true }, - "ably": { - "version": "1.2.38", - "requires": { - "@ably/msgpack-js": "^0.4.0", - "got": "^11.8.2", - "ws": "^5.1" - }, - "dependencies": { - "ws": { - "version": "5.2.3", - "requires": { - "async-limiter": "~1.0.0" - } - } - } - }, "abort-controller": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", @@ -60310,13 +58384,11 @@ "version": "file:apps/amakrushi", "requires": { "@chakra-ui/react": "^1.8.8", - "@cypress/react": "^5.12.5", - "@cypress/webpack-dev-server": "^1.8.4", "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", - "@magicbell/magicbell-react": "^8.5.3", "@material-ui/core": "^4.12.4", "@next/bundle-analyzer": "^13.3.0", + "@playwright/test": "^1.35.0", "@storybook/addon-actions": "^6.4.19", "@storybook/addon-essentials": "^6.4.19", "@storybook/addon-interactions": "^6.4.19", @@ -60337,12 +58409,10 @@ "@types/react-dom": "^18.0.5", "@types/underscore": "^1.11.4", "@types/uuid": "^9.0.1", - "audio-react-recorder": "^1.0.4", "axios": "^1.3.5", "bootstrap": "^5.1.3", "chatui": "*", "cross-env": "^7.0.3", - "cypress": "^9.7.0", "dotenv-cli": "^7.2.1", "eslint": "8.18.0", "eslint-config-next": "12.1.6", @@ -60441,10 +58511,6 @@ "version": "2.0.0", "dev": true }, - "arch": { - "version": "2.2.0", - "dev": true - }, "are-we-there-yet": { "version": "2.0.0", "dev": true, @@ -60616,13 +58682,6 @@ "asap": { "version": "2.0.6" }, - "asn1": { - "version": "0.2.6", - "dev": true, - "requires": { - "safer-buffer": "~2.1.0" - } - }, "asn1.js": { "version": "5.4.1", "dev": true, @@ -60660,10 +58719,6 @@ } } }, - "assert-plus": { - "version": "1.0.0", - "dev": true - }, "assign-symbols": { "version": "1.0.0", "dev": true @@ -60696,9 +58751,6 @@ "dev": true, "optional": true }, - "async-limiter": { - "version": "1.0.1" - }, "asynckit": { "version": "0.4.0" }, @@ -60709,14 +58761,6 @@ "version": "2.1.2", "dev": true }, - "audio-react-recorder": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/audio-react-recorder/-/audio-react-recorder-1.0.4.tgz", - "integrity": "sha512-an7eX0yOGDbZOSu2LvnfWIsI41pkx9nXgtBVbI+9ByS91WKqoVGVb5pbmqHax5sZty2DjOIG/neuxcghIU/ucg==", - "requires": { - "prop-types": "^15.7.2" - } - }, "autoprefixer": { "version": "10.4.14", "requires": { @@ -60731,14 +58775,6 @@ "available-typed-arrays": { "version": "1.0.5" }, - "aws-sign2": { - "version": "0.7.0", - "dev": true - }, - "aws4": { - "version": "1.12.0", - "dev": true - }, "axe-core": { "version": "4.6.3" }, @@ -61149,18 +59185,12 @@ } }, "base64-js": { - "version": "1.0.2" + "version": "1.0.2", + "dev": true }, "batch": { "version": "0.6.1" }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "dev": true, - "requires": { - "tweetnacl": "^0.14.3" - } - }, "before-after-hook": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", @@ -61287,10 +59317,6 @@ } } }, - "blob-util": { - "version": "2.0.2", - "dev": true - }, "bluebird": { "version": "3.7.2" }, @@ -61357,13 +59383,6 @@ "bootstrap": { "version": "5.2.3" }, - "bops": { - "version": "1.0.1", - "requires": { - "base64-js": "1.0.2", - "to-utf8": "0.0.1" - } - }, "boxen": { "version": "5.1.2", "dev": true, @@ -61547,10 +59566,6 @@ } } }, - "buffer-crc32": { - "version": "0.2.13", - "dev": true - }, "buffer-equal-constant-time": { "version": "1.0.1" }, @@ -61697,33 +59712,6 @@ "unset-value": "^1.0.0" } }, - "cacheable-lookup": { - "version": "5.0.4" - }, - "cacheable-request": { - "version": "7.0.2", - "requires": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^4.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^6.0.1", - "responselike": "^2.0.0" - }, - "dependencies": { - "get-stream": { - "version": "5.2.0", - "requires": { - "pump": "^3.0.0" - } - } - } - }, - "cachedir": { - "version": "2.3.0", - "dev": true - }, "call-bind": { "version": "1.0.2", "requires": { @@ -61788,10 +59776,6 @@ "case-sensitive-paths-webpack-plugin": { "version": "2.4.0" }, - "caseless": { - "version": "0.12.0", - "dev": true - }, "ccount": { "version": "1.1.0", "dev": true @@ -62575,12 +60559,6 @@ } } }, - "check-more-types": { - "version": "2.24.0", - "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", - "integrity": "sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==", - "dev": true - }, "check-types": { "version": "11.2.2", "resolved": "https://registry.npmjs.org/check-types/-/check-types-11.2.2.tgz", @@ -62731,14 +60709,6 @@ "string-width": "^4.2.0" } }, - "cli-truncate": { - "version": "2.1.0", - "dev": true, - "requires": { - "slice-ansi": "^3.0.0", - "string-width": "^4.2.0" - } - }, "cli-width": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", @@ -62772,12 +60742,6 @@ "shallow-clone": "^3.0.0" } }, - "clone-response": { - "version": "1.0.3", - "requires": { - "mimic-response": "^1.0.0" - } - }, "clsx": { "version": "1.2.1" }, @@ -63872,12 +61836,6 @@ "postcss-selector-parser": "^6.0.9" } }, - "css-in-js-utils": { - "version": "3.1.0", - "requires": { - "hyphenate-style-name": "^1.0.3" - } - }, "css-loader": { "version": "5.2.7", "dev": true, @@ -64086,115 +62044,6 @@ "version": "1.0.1", "dev": true }, - "cypress": { - "version": "9.7.0", - "dev": true, - "requires": { - "@cypress/request": "^2.88.10", - "@cypress/xvfb": "^1.2.4", - "@types/node": "^14.14.31", - "@types/sinonjs__fake-timers": "8.1.1", - "@types/sizzle": "^2.3.2", - "arch": "^2.2.0", - "blob-util": "^2.0.2", - "bluebird": "^3.7.2", - "buffer": "^5.6.0", - "cachedir": "^2.3.0", - "chalk": "^4.1.0", - "check-more-types": "^2.24.0", - "cli-cursor": "^3.1.0", - "cli-table3": "~0.6.1", - "commander": "^5.1.0", - "common-tags": "^1.8.0", - "dayjs": "^1.10.4", - "debug": "^4.3.2", - "enquirer": "^2.3.6", - "eventemitter2": "^6.4.3", - "execa": "4.1.0", - "executable": "^4.1.1", - "extract-zip": "2.0.1", - "figures": "^3.2.0", - "fs-extra": "^9.1.0", - "getos": "^3.2.1", - "is-ci": "^3.0.0", - "is-installed-globally": "~0.4.0", - "lazy-ass": "^1.6.0", - "listr2": "^3.8.3", - "lodash": "^4.17.21", - "log-symbols": "^4.0.0", - "minimist": "^1.2.6", - "ospath": "^1.2.2", - "pretty-bytes": "^5.6.0", - "proxy-from-env": "1.0.0", - "request-progress": "^3.0.0", - "semver": "^7.3.2", - "supports-color": "^8.1.1", - "tmp": "~0.2.1", - "untildify": "^4.0.0", - "yauzl": "^2.10.0" - }, - "dependencies": { - "@types/node": { - "version": "14.18.42", - "dev": true - }, - "commander": { - "version": "5.1.0", - "dev": true - }, - "execa": { - "version": "4.1.0", - "dev": true, - "requires": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - } - }, - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "get-stream": { - "version": "5.2.0", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "human-signals": { - "version": "1.1.1", - "dev": true - }, - "proxy-from-env": { - "version": "1.0.0", - "dev": true - }, - "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "damerau-levenshtein": { "version": "1.0.8" }, @@ -64202,13 +62051,6 @@ "version": "7.0.0", "dev": true }, - "dashdash": { - "version": "1.14.1", - "dev": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, "data-urls": { "version": "2.0.0", "requires": { @@ -64245,9 +62087,6 @@ "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", "dev": true }, - "dayjs": { - "version": "1.11.7" - }, "debug": { "version": "4.3.4", "requires": { @@ -64279,17 +62118,6 @@ "version": "0.2.2", "dev": true }, - "decompress-response": { - "version": "6.0.0", - "requires": { - "mimic-response": "^3.1.0" - }, - "dependencies": { - "mimic-response": { - "version": "3.1.0" - } - } - }, "dedent": { "version": "0.7.0" }, @@ -64500,9 +62328,6 @@ "clone": "^1.0.2" } }, - "defer-to-connect": { - "version": "2.0.1" - }, "define-lazy-prop": { "version": "2.0.0" }, @@ -64975,14 +62800,6 @@ } } }, - "ecc-jsbn": { - "version": "0.1.2", - "dev": true, - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, "ecdsa-sig-formatter": { "version": "1.0.11", "requires": { @@ -65056,6 +62873,7 @@ }, "end-of-stream": { "version": "1.4.4", + "dev": true, "requires": { "once": "^1.4.0" } @@ -65997,10 +63815,6 @@ "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", "dev": true }, - "eventemitter2": { - "version": "6.4.9", - "dev": true - }, "eventemitter3": { "version": "4.0.7" }, @@ -66033,13 +63847,6 @@ "strip-final-newline": "^2.0.0" } }, - "executable": { - "version": "4.1.1", - "dev": true, - "requires": { - "pify": "^2.2.0" - } - }, "exit": { "version": "0.1.2" }, @@ -66296,32 +64103,6 @@ } } }, - "extract-zip": { - "version": "2.0.1", - "dev": true, - "requires": { - "@types/yauzl": "^2.9.1", - "debug": "^4.1.1", - "get-stream": "^5.1.0", - "yauzl": "^2.10.0" - }, - "dependencies": { - "get-stream": { - "version": "5.2.0", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - } - } - }, - "extsprintf": { - "version": "1.3.0", - "dev": true - }, - "fake-xml-http-request": { - "version": "2.1.2" - }, "fast-deep-equal": { "version": "3.1.3" }, @@ -66345,15 +64126,6 @@ "fast-levenshtein": { "version": "2.0.6" }, - "fast-loops": { - "version": "1.1.3" - }, - "fast-shallow-equal": { - "version": "1.0.0" - }, - "fastest-stable-stringify": { - "version": "2.0.2" - }, "fastq": { "version": "1.15.0", "requires": { @@ -66372,13 +64144,6 @@ "bser": "2.1.1" } }, - "fd-slicer": { - "version": "1.1.0", - "dev": true, - "requires": { - "pend": "~1.2.0" - } - }, "fetch-retry": { "version": "5.0.4", "dev": true @@ -66564,154 +64329,6 @@ "path-exists": "^4.0.0" } }, - "find-webpack": { - "version": "2.2.1", - "dev": true, - "requires": { - "debug": "4.1.1", - "find-yarn-workspace-root": "1.2.1", - "mocked-env": "1.3.2" - }, - "dependencies": { - "braces": { - "version": "2.3.2", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "debug": { - "version": "4.1.1", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "fill-range": { - "version": "4.0.0", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "find-yarn-workspace-root": { - "version": "1.2.1", - "dev": true, - "requires": { - "fs-extra": "^4.0.3", - "micromatch": "^3.1.4" - } - }, - "fs-extra": { - "version": "4.0.3", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "is-buffer": { - "version": "1.1.6", - "dev": true - }, - "is-extendable": { - "version": "0.1.1", - "dev": true - }, - "is-number": { - "version": "3.0.0", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "jsonfile": { - "version": "4.0.0", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "micromatch": { - "version": "3.1.10", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, - "to-regex-range": { - "version": "2.1.1", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - }, - "universalify": { - "version": "0.1.2", - "dev": true - } - } - }, - "find-yarn-workspace-root": { - "version": "2.0.0", - "dev": true, - "requires": { - "micromatch": "^4.0.2" - } - }, "firebase": { "version": "9.19.1", "requires": { @@ -66836,10 +64453,6 @@ "signal-exit": "^3.0.2" } }, - "forever-agent": { - "version": "0.6.1", - "dev": true - }, "fork-ts-checker-webpack-plugin": { "version": "6.5.3", "requires": { @@ -67196,20 +64809,6 @@ "version": "2.0.6", "dev": true }, - "getos": { - "version": "3.2.1", - "dev": true, - "requires": { - "async": "^3.2.0" - } - }, - "getpass": { - "version": "0.1.7", - "dev": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, "git-raw-commits": { "version": "2.0.11", "dev": true, @@ -67324,13 +64923,6 @@ "process": "^0.11.10" } }, - "global-dirs": { - "version": "3.0.1", - "dev": true, - "requires": { - "ini": "2.0.0" - } - }, "global-modules": { "version": "2.0.0", "requires": { @@ -67398,22 +64990,6 @@ "get-intrinsic": "^1.1.3" } }, - "got": { - "version": "11.8.6", - "requires": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.2", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" - } - }, "graceful-fs": { "version": "4.2.11" }, @@ -67809,7 +65385,8 @@ } }, "http-cache-semantics": { - "version": "4.1.1" + "version": "4.1.1", + "dev": true }, "http-deceiver": { "version": "1.2.7" @@ -67860,22 +65437,6 @@ } } }, - "http-signature": { - "version": "1.3.6", - "dev": true, - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^2.0.2", - "sshpk": "^1.14.1" - } - }, - "http2-wrapper": { - "version": "1.0.3", - "requires": { - "quick-lru": "^5.1.1", - "resolve-alpn": "^1.0.0" - } - }, "https-browserify": { "version": "1.0.0", "dev": true @@ -67899,9 +65460,6 @@ "ms": "^2.0.0" } }, - "humps": { - "version": "2.0.1" - }, "husky": { "version": "8.0.3", "dev": true @@ -68043,9 +65601,6 @@ "version": "1.0.4", "dev": true }, - "inflected": { - "version": "2.1.0" - }, "inflight": { "version": "1.0.6", "requires": { @@ -68056,10 +65611,6 @@ "inherits": { "version": "2.0.4" }, - "ini": { - "version": "2.0.0", - "dev": true - }, "init-package-json": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-3.0.2.tgz", @@ -68114,13 +65665,6 @@ "version": "0.1.1", "dev": true }, - "inline-style-prefixer": { - "version": "6.0.4", - "requires": { - "css-in-js-utils": "^3.1.0", - "fast-loops": "^1.1.3" - } - }, "inquirer": { "version": "8.2.5", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", @@ -68255,13 +65799,6 @@ "is-callable": { "version": "1.2.7" }, - "is-ci": { - "version": "3.0.1", - "dev": true, - "requires": { - "ci-info": "^3.2.0" - } - }, "is-core-module": { "version": "2.11.0", "requires": { @@ -68345,14 +65882,6 @@ "resolved": "https://registry.npmjs.org/is-in-browser/-/is-in-browser-1.1.3.tgz", "integrity": "sha512-FeXIBgG/CPGd/WUxuEyvgGTEfwiG9Z4EKGxjNMRqviiIIfsmgrpnHLffEDdwUHqNva1VEW91o3xBT/m8Elgl9g==" }, - "is-installed-globally": { - "version": "0.4.0", - "dev": true, - "requires": { - "global-dirs": "^3.0.0", - "is-path-inside": "^3.0.2" - } - }, "is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", @@ -68557,10 +66086,6 @@ "unfetch": "^4.2.0" } }, - "isstream": { - "version": "0.1.2", - "dev": true - }, "istanbul-lib-coverage": { "version": "3.2.0" }, @@ -70726,9 +68251,6 @@ "resolved": "https://registry.npmjs.org/jose/-/jose-4.14.1.tgz", "integrity": "sha512-SgjXLpP7jhQkUNKL6RpowoR/IF4QKE+WjLDMpNnh2vmhiFs67NftrNpvFtgbwpvRdtueFliahYYWz9E+XZZQlg==" }, - "js-cookie": { - "version": "2.2.1" - }, "js-packages": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/js-packages/-/js-packages-1.0.1.tgz", @@ -70748,10 +68270,6 @@ "esprima": "^4.0.0" } }, - "jsbn": { - "version": "0.1.1", - "dev": true - }, "jsdom": { "version": "16.7.0", "requires": { @@ -70821,9 +68339,6 @@ "jsesc": { "version": "2.5.2" }, - "json-buffer": { - "version": "3.0.1" - }, "json-parse-better-errors": { "version": "1.0.2", "dev": true @@ -70901,16 +68416,6 @@ } } }, - "jsprim": { - "version": "2.0.2", - "dev": true, - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.4.0", - "verror": "1.10.0" - } - }, "jss": { "version": "10.10.0", "resolved": "https://registry.npmjs.org/jss/-/jss-10.10.0.tgz", @@ -71045,12 +68550,6 @@ "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" }, - "keyv": { - "version": "4.5.2", - "requires": { - "json-buffer": "3.0.1" - } - }, "kind-of": { "version": "6.0.3" }, @@ -71076,10 +68575,6 @@ "shell-quote": "^1.7.3" } }, - "lazy-ass": { - "version": "1.6.0", - "dev": true - }, "lazy-universal-dotenv": { "version": "3.0.1", "dev": true, @@ -71756,31 +69251,6 @@ "lines-and-columns": { "version": "1.2.4" }, - "listr2": { - "version": "3.14.0", - "dev": true, - "requires": { - "cli-truncate": "^2.1.0", - "colorette": "^2.0.16", - "log-update": "^4.0.0", - "p-map": "^4.0.0", - "rfdc": "^1.3.0", - "rxjs": "^7.5.1", - "through": "^2.3.8", - "wrap-ansi": "^7.0.0" - }, - "dependencies": { - "p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "dev": true, - "requires": { - "aggregate-error": "^3.0.0" - } - } - } - }, "load-json-file": { "version": "1.1.0", "dev": true, @@ -71831,53 +69301,24 @@ "lodash": { "version": "4.17.21" }, - "lodash.assign": { - "version": "4.2.0" - }, "lodash.camelcase": { "version": "4.3.0" }, "lodash.clonedeep": { "version": "4.5.0" }, - "lodash.compact": { - "version": "3.0.1" - }, "lodash.debounce": { "version": "4.0.8" }, - "lodash.find": { - "version": "4.6.0" - }, - "lodash.flatten": { - "version": "4.4.0" - }, - "lodash.forin": { - "version": "4.4.0" - }, - "lodash.get": { - "version": "4.4.2" - }, - "lodash.has": { - "version": "4.5.2" - }, "lodash.includes": { "version": "4.3.0" }, - "lodash.invokemap": { - "version": "4.6.0" - }, "lodash.isboolean": { "version": "3.0.3" }, - "lodash.isempty": { - "version": "4.4.0" - }, - "lodash.isequal": { - "version": "4.5.0" - }, "lodash.isfunction": { - "version": "3.0.9" + "version": "3.0.9", + "dev": true }, "lodash.isinteger": { "version": "4.0.4" @@ -71901,15 +69342,6 @@ "version": "4.1.1", "dev": true }, - "lodash.lowerfirst": { - "version": "4.3.1" - }, - "lodash.map": { - "version": "4.6.0" - }, - "lodash.mapvalues": { - "version": "4.6.0" - }, "lodash.memoize": { "version": "4.1.2" }, @@ -71922,11 +69354,9 @@ "lodash.once": { "version": "4.1.1" }, - "lodash.pick": { - "version": "4.4.0" - }, "lodash.snakecase": { - "version": "4.1.1" + "version": "4.1.1", + "dev": true }, "lodash.sortby": { "version": "4.7.0" @@ -71941,16 +69371,10 @@ "lodash.uniq": { "version": "4.5.0" }, - "lodash.uniqby": { - "version": "4.7.0" - }, "lodash.upperfirst": { "version": "4.3.1", "dev": true }, - "lodash.values": { - "version": "4.3.0" - }, "log-symbols": { "version": "4.1.0", "dev": true, @@ -71959,36 +69383,6 @@ "is-unicode-supported": "^0.1.0" } }, - "log-update": { - "version": "4.0.0", - "dev": true, - "requires": { - "ansi-escapes": "^4.3.0", - "cli-cursor": "^3.1.0", - "slice-ansi": "^4.0.0", - "wrap-ansi": "^6.2.0" - }, - "dependencies": { - "slice-ansi": { - "version": "4.0.0", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - } - }, - "wrap-ansi": { - "version": "6.2.0", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - } - } - }, "long": { "version": "4.0.0" }, @@ -72013,9 +69407,6 @@ "tslib": "^2.0.3" } }, - "lowercase-keys": { - "version": "2.0.0" - }, "lru-cache": { "version": "5.1.1", "requires": { @@ -72469,9 +69860,6 @@ "mimic-fn": { "version": "2.1.0" }, - "mimic-response": { - "version": "1.0.1" - }, "min-document": { "version": "2.19.0", "dev": true, @@ -72631,37 +70019,6 @@ } } }, - "miragejs": { - "version": "0.1.47", - "requires": { - "@miragejs/pretender-node-polyfill": "^0.1.0", - "inflected": "^2.0.4", - "lodash.assign": "^4.2.0", - "lodash.camelcase": "^4.3.0", - "lodash.clonedeep": "^4.5.0", - "lodash.compact": "^3.0.1", - "lodash.find": "^4.6.0", - "lodash.flatten": "^4.4.0", - "lodash.forin": "^4.4.0", - "lodash.get": "^4.4.2", - "lodash.has": "^4.5.2", - "lodash.invokemap": "^4.6.0", - "lodash.isempty": "^4.4.0", - "lodash.isequal": "^4.5.0", - "lodash.isfunction": "^3.0.9", - "lodash.isinteger": "^4.0.4", - "lodash.isplainobject": "^4.0.6", - "lodash.lowerfirst": "^4.3.1", - "lodash.map": "^4.6.0", - "lodash.mapvalues": "^4.6.0", - "lodash.pick": "^4.4.0", - "lodash.snakecase": "^4.1.1", - "lodash.uniq": "^4.5.0", - "lodash.uniqby": "^4.7.0", - "lodash.values": "^4.3.0", - "pretender": "^3.4.7" - } - }, "mississippi": { "version": "3.0.0", "dev": true, @@ -72720,9 +70077,6 @@ } } }, - "mitt": { - "version": "3.0.0" - }, "mixin-deep": { "version": "1.3.2", "dev": true, @@ -72746,29 +70100,6 @@ "mkdirp": "^1.0.3" } }, - "mocked-env": { - "version": "1.3.2", - "dev": true, - "requires": { - "check-more-types": "2.24.0", - "debug": "4.1.1", - "lazy-ass": "1.6.0", - "ramda": "0.26.1" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "ramda": { - "version": "0.26.1", - "dev": true - } - } - }, "modify-values": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", @@ -72862,19 +70193,6 @@ "dev": true, "optional": true }, - "nano-css": { - "version": "5.3.5", - "requires": { - "css-tree": "^1.1.2", - "csstype": "^3.0.6", - "fastest-stable-stringify": "^2.0.2", - "inline-style-prefixer": "^6.0.0", - "rtl-css-js": "^1.14.0", - "sourcemap-codec": "^1.4.8", - "stacktrace-js": "^2.0.2", - "stylis": "^4.0.6" - } - }, "nanoid": { "version": "3.3.6" }, @@ -74140,10 +71458,6 @@ "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", "dev": true }, - "ospath": { - "version": "1.2.2", - "dev": true - }, "p-all": { "version": "2.1.0", "dev": true, @@ -74157,9 +71471,6 @@ } } }, - "p-cancelable": { - "version": "2.1.1" - }, "p-defer": { "version": "1.0.0", "dev": true @@ -74724,10 +72035,6 @@ "sha.js": "^2.4.8" } }, - "pend": { - "version": "1.2.0", - "dev": true - }, "performance-now": { "version": "2.1.0" }, @@ -74801,6 +72108,12 @@ } } }, + "playwright-core": { + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.0.tgz", + "integrity": "sha512-muMXyPmIx/2DPrCHOD1H1ePT01o7OdKxKj2ebmCAYvqhUy+Y1bpal7B0rdoxros7YrXI294JT/DWw2LqyiqTPA==", + "dev": true + }, "pnp-webpack-plugin": { "version": "1.7.0", "dev": true, @@ -75407,13 +72720,6 @@ "prelude-ls": { "version": "1.2.1" }, - "pretender": { - "version": "3.4.7", - "requires": { - "fake-xml-http-request": "^2.1.2", - "route-recognizer": "^0.3.3" - } - }, "prettier": { "version": "2.8.7", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz", @@ -75645,6 +72951,7 @@ }, "pump": { "version": "3.0.0", + "dev": true, "requires": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -75706,7 +73013,8 @@ } }, "ramda": { - "version": "0.28.0" + "version": "0.28.0", + "dev": true }, "randombytes": { "version": "2.1.0", @@ -75974,12 +73282,6 @@ "goober": "^2.1.10" } }, - "react-infinite-scroll-component": { - "version": "6.1.0", - "requires": { - "throttle-debounce": "^2.1.0" - } - }, "react-inspector": { "version": "5.1.1", "dev": true, @@ -76183,33 +73485,6 @@ "prop-types": "^15.6.2" } }, - "react-universal-interface": { - "version": "0.6.2" - }, - "react-use": { - "version": "17.4.0", - "requires": { - "@types/js-cookie": "^2.2.6", - "@xobotyi/scrollbar-width": "^1.9.5", - "copy-to-clipboard": "^3.3.1", - "fast-deep-equal": "^3.1.3", - "fast-shallow-equal": "^1.0.0", - "js-cookie": "^2.2.1", - "nano-css": "^5.3.1", - "react-universal-interface": "^0.6.2", - "resize-observer-polyfill": "^1.5.1", - "screenfull": "^5.1.0", - "set-harmonic-interval": "^1.0.1", - "throttle-debounce": "^3.0.1", - "ts-easing": "^0.2.0", - "tslib": "^2.1.0" - }, - "dependencies": { - "throttle-debounce": { - "version": "3.0.1" - } - } - }, "read": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", @@ -76664,13 +73939,6 @@ "is-finite": "^1.0.0" } }, - "request-progress": { - "version": "3.0.0", - "dev": true, - "requires": { - "throttleit": "^1.0.0" - } - }, "require-directory": { "version": "2.1.1" }, @@ -76680,9 +73948,6 @@ "requires-port": { "version": "1.0.0" }, - "resize-observer-polyfill": { - "version": "1.5.1" - }, "resolve": { "version": "1.22.2", "requires": { @@ -76691,9 +73956,6 @@ "supports-preserve-symlinks-flag": "^1.0.0" } }, - "resolve-alpn": { - "version": "1.2.1" - }, "resolve-cwd": { "version": "3.0.0", "requires": { @@ -76759,12 +74021,6 @@ "resolve.exports": { "version": "1.1.1" }, - "responselike": { - "version": "2.0.1", - "requires": { - "lowercase-keys": "^2.0.0" - } - }, "restore-cursor": { "version": "3.1.0", "dev": true, @@ -76783,10 +74039,6 @@ "reusify": { "version": "1.0.4" }, - "rfdc": { - "version": "1.3.0", - "dev": true - }, "rimraf": { "version": "3.0.2", "requires": { @@ -76824,19 +74076,10 @@ } } }, - "route-recognizer": { - "version": "0.3.4" - }, "rsvp": { "version": "4.8.5", "dev": true }, - "rtl-css-js": { - "version": "1.16.1", - "requires": { - "@babel/runtime": "^7.1.2" - } - }, "run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -77118,9 +74361,6 @@ "ajv-keywords": "^3.5.2" } }, - "screenfull": { - "version": "5.2.0" - }, "select-hose": { "version": "2.0.0" }, @@ -77273,9 +74513,6 @@ "version": "2.0.0", "dev": true }, - "set-harmonic-interval": { - "version": "1.0.1" - }, "set-value": { "version": "2.0.1", "dev": true, @@ -77560,15 +74797,6 @@ "version": "2.0.0", "dev": true }, - "slice-ansi": { - "version": "3.0.0", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - } - }, "smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", @@ -77954,21 +75182,6 @@ "sprintf-js": { "version": "1.0.3" }, - "sshpk": { - "version": "1.17.0", - "dev": true, - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - } - }, "ssri": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", @@ -77983,14 +75196,6 @@ "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz", "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==" }, - "stack-generator": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.10.tgz", - "integrity": "sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==", - "requires": { - "stackframe": "^1.3.4" - } - }, "stack-utils": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", @@ -78009,30 +75214,6 @@ "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" }, - "stacktrace-gps": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/stacktrace-gps/-/stacktrace-gps-3.1.2.tgz", - "integrity": "sha512-GcUgbO4Jsqqg6RxfyTHFiPxdPqF+3LFmQhm7MgCuYQOYuWyqxo5pwRPz5d/u6/WYJdEnWfK4r+jGbyD8TSggXQ==", - "requires": { - "source-map": "0.5.6", - "stackframe": "^1.3.4" - }, - "dependencies": { - "source-map": { - "version": "0.5.6" - } - } - }, - "stacktrace-js": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stacktrace-js/-/stacktrace-js-2.0.2.tgz", - "integrity": "sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==", - "requires": { - "error-stack-parser": "^2.0.6", - "stack-generator": "^2.0.5", - "stacktrace-gps": "^3.0.4" - } - }, "state-toggle": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz", @@ -78729,13 +75910,6 @@ "throat": { "version": "6.0.2" }, - "throttle-debounce": { - "version": "2.3.0" - }, - "throttleit": { - "version": "1.0.0", - "dev": true - }, "through": { "version": "2.3.8", "dev": true @@ -78776,9 +75950,6 @@ "thunky": { "version": "1.1.0" }, - "timeago.js": { - "version": "4.0.2" - }, "timers-browserify": { "version": "2.0.12", "dev": true, @@ -78794,15 +75965,6 @@ "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" }, - "tinycolor2": { - "version": "1.6.0" - }, - "tippy.js": { - "version": "6.3.7", - "requires": { - "@popperjs/core": "^2.9.0" - } - }, "tmp": { "version": "0.2.1", "dev": true, @@ -78856,9 +76018,6 @@ "is-number": "^7.0.0" } }, - "to-utf8": { - "version": "0.0.1" - }, "toggle-selection": { "version": "1.0.6" }, @@ -78896,14 +76055,6 @@ } } }, - "tough-cookie": { - "version": "2.5.0", - "dev": true, - "requires": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - } - }, "tr46": { "version": "0.0.3" }, @@ -78942,9 +76093,6 @@ "version": "2.2.0", "dev": true }, - "ts-easing": { - "version": "0.2.0" - }, "ts-interface-checker": { "version": "0.1.13" }, @@ -79237,13 +76385,6 @@ } } }, - "tunnel-agent": { - "version": "0.6.0", - "dev": true, - "requires": { - "safe-buffer": "^5.0.1" - } - }, "turbo": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.9.1.tgz", @@ -79298,10 +76439,6 @@ "dev": true, "optional": true }, - "tweetnacl": { - "version": "0.14.5", - "dev": true - }, "type-check": { "version": "0.4.0", "requires": { @@ -79725,21 +76862,6 @@ "vary": { "version": "1.1.2" }, - "verror": { - "version": "1.10.0", - "dev": true, - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - }, - "dependencies": { - "core-util-is": { - "version": "1.0.2", - "dev": true - } - } - }, "vfile": { "version": "4.2.1", "dev": true, @@ -80292,14 +77414,6 @@ } } }, - "webpack-merge": { - "version": "5.8.0", - "dev": true, - "requires": { - "clone-deep": "^4.0.1", - "wildcard": "^2.0.0" - } - }, "webpack-sources": { "version": "3.2.3" }, @@ -80392,10 +77506,6 @@ "string-width": "^4.0.0" } }, - "wildcard": { - "version": "2.0.0", - "dev": true - }, "word-wrap": { "version": "1.2.3" }, @@ -80780,14 +77890,6 @@ "yargs-parser": { "version": "20.2.9" }, - "yauzl": { - "version": "2.10.0", - "dev": true, - "requires": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" - } - }, "yn": { "version": "3.1.1", "dev": true @@ -80795,12 +77897,9 @@ "yocto-queue": { "version": "0.1.0" }, - "zustand": { - "version": "3.7.2" - }, "zwitch": { "version": "1.0.5", "dev": true } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index a149cd93..e2074e70 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,10 @@ "build": "turbo run build", "dev": "concurrently \"yarn run watch\" \"turbo run dev\"", "lint": "turbo run lint", + "test": "turbo run test", "format": "prettier --write \"**/*.{ts,tsx,md}\"", - "watch": "lerna run watch --parallel" + "watch": "lerna run watch --parallel", + "e2e:test": "cd apps/amakrushi && npm run e2e:test" }, "devDependencies": { "concurrently": "^8.0.1", diff --git a/turbo.json b/turbo.json index 09b6046f..d11837fd 100644 --- a/turbo.json +++ b/turbo.json @@ -1,8 +1,6 @@ { "$schema": "https://turbo.build/schema.json", "globalEnv": [ - "NEXT_PUBLIC_MAGICBELL_API_KEY", - "NEXT_PUBLIC_MAGICBELL_USER_EMAIL", "NEXT_PUBLIC_OTP_BASE_URL", "NEXT_PUBLIC_FIREBASE_API_KEY", "NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN", diff --git a/yarn.lock b/yarn.lock index 573c3ee4..5871803d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2102,23 +2102,9 @@ "version" "3.6.0" "@cypress/mount-utils@1.0.2": - "integrity" "sha512-Fn3fdTiyayHoy8Ol0RSu4MlBH2maQ2ZEXeEVKl/zHHXEQpld5HX3vdNLhK5YLij8cLynA4DxOT/nO9iEnIiOXw==" - "resolved" "https://registry.npmjs.org/@cypress/mount-utils/-/mount-utils-1.0.2.tgz" "version" "1.0.2" -"@cypress/react@^5.12.5": - "integrity" "sha512-9ARxdLMVrrmh853xe6j9gNdXdh+vqM7lMrvJ+MGoT4Wae+nE0q3guNgotFZjFot0ZP/npw8r3NFyJO216ddbEA==" - "resolved" "https://registry.npmjs.org/@cypress/react/-/react-5.12.5.tgz" - "version" "5.12.5" - dependencies: - "@cypress/mount-utils" "1.0.2" - "debug" "^4.3.2" - "find-webpack" "2.2.1" - "find-yarn-workspace-root" "2.0.0" - "@cypress/request@^2.88.10": - "integrity" "sha512-M83/wfQ1EkspjkE2lNWNV5ui2Cv7UCv1swW1DqljahbzLVWltcsexQh8jYtuS/vzFXP+HySntGM83ZXA9fn17w==" - "resolved" "https://registry.npmjs.org/@cypress/request/-/request-2.88.11.tgz" "version" "2.88.11" dependencies: "aws-sign2" "~0.7.0" @@ -2140,19 +2126,7 @@ "tunnel-agent" "^0.6.0" "uuid" "^8.3.2" -"@cypress/webpack-dev-server@^1.8.4": - "integrity" "sha512-kDg57ozD4vzIwHa0FhT44IoMKqsgFy7WV5SbBjWLBPdoOhuCdf22gy8VukaxwYqh+MFKxqVJ7hqVLErmMgpAYA==" - "resolved" "https://registry.npmjs.org/@cypress/webpack-dev-server/-/webpack-dev-server-1.8.4.tgz" - "version" "1.8.4" - dependencies: - "debug" "^4.3.2" - "lodash" "^4.17.21" - "semver" "^7.3.4" - "webpack-merge" "^5.4.0" - "@cypress/xvfb@^1.2.4": - "integrity" "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==" - "resolved" "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz" "version" "1.2.4" dependencies: "debug" "^3.1.0" @@ -3330,26 +3304,6 @@ "write-pkg" "4.0.0" "yargs" "16.2.0" -"@magicbell/magicbell-react@^8.5.3": - "version" "8.5.6" - dependencies: - "@emotion/react" "^11.4.1" - "@magicbell/react-headless" "^2.6.4" - "@tippyjs/react" "^4.2.4" - "ably" "^1.2.14" - "axios" "^0.26.0" - "dayjs" "^1.10.4" - "humps" "^2.0.1" - "immer" "^9.0.7" - "miragejs" "^0.1.41" - "ramda" "^0.28.0" - "react-infinite-scroll-component" "^6.0.0" - "react-use" "^17.2.1" - "timeago.js" "^4.0.2" - "tinycolor2" "^1.4.2" - "tslib" "^2.3.1" - "zustand" "^3.6.4" - "@magicbell/react-headless@^2.6.4": "version" "2.6.4" dependencies: @@ -3935,6 +3889,16 @@ "node-addon-api" "^3.2.1" "node-gyp-build" "^4.3.0" +"@playwright/test@^1.35.0": + "integrity" "sha512-6qXdd5edCBynOwsz1YcNfgX8tNWeuS9fxy5o59D0rvHXxRtjXRebB4gE4vFVfEMXl/z8zTnAzfOs7aQDEs8G4Q==" + "resolved" "https://registry.npmjs.org/@playwright/test/-/test-1.35.0.tgz" + "version" "1.35.0" + dependencies: + "@types/node" "*" + "playwright-core" "1.35.0" + optionalDependencies: + "fsevents" "2.3.2" + "@pmmmwh/react-refresh-webpack-plugin@^0.5.1", "@pmmmwh/react-refresh-webpack-plugin@^0.5.3": "version" "0.5.10" dependencies: @@ -5124,12 +5088,21 @@ "lodash" "^4.17.15" "redent" "^3.0.0" -"@testing-library/react@^10.4.9", "@testing-library/react@^12.1.5": +"@testing-library/react@^10.4.9": "version" "10.4.9" dependencies: "@babel/runtime" "^7.10.3" "@testing-library/dom" "^7.22.3" +"@testing-library/react@^12.1.5": + "integrity" "sha512-OfTXCJUFgjd/digLUuPxa0+/3ZxsQmE7ub9kcbW/wi96Bh3o/p5vrETcBGfP17NWPGqeYYl5LTRpwyGoMC4ysg==" + "resolved" "https://registry.npmjs.org/@testing-library/react/-/react-12.1.5.tgz" + "version" "12.1.5" + dependencies: + "@babel/runtime" "^7.12.5" + "@testing-library/dom" "^8.0.0" + "@types/react-dom" "<18.0.0" + "@testing-library/user-event@^12.8.3": "version" "12.8.3" dependencies: @@ -5347,12 +5320,20 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@*", "@types/jest@^25.2.3", "@types/jest@^28.1.1": +"@types/jest@*", "@types/jest@^25.2.3": "version" "25.2.3" dependencies: "jest-diff" "^25.2.1" "pretty-format" "^25.2.1" +"@types/jest@^28.1.1": + "integrity" "sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw==" + "resolved" "https://registry.npmjs.org/@types/jest/-/jest-28.1.8.tgz" + "version" "28.1.8" + dependencies: + "expect" "^28.0.0" + "pretty-format" "^28.0.0" + "@types/js-cookie@^2.2.6": "version" "2.2.7" @@ -5424,10 +5405,6 @@ "@types/node@^17.0.12": "version" "17.0.45" - dependencies: - "@types/prop-types" "*" - "@types/scheduler" "*" - "csstype" "^3.0.2" "@types/normalize-package-data@^2.4.0": "version" "2.4.1" @@ -5471,7 +5448,7 @@ dependencies: "@types/react" "^17" -"@types/react-dom@^18.0.4", "@types/react-dom@^18.0.5": +"@types/react-dom@^18.0.5": "integrity" "sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==" "resolved" "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.5.tgz" "version" "18.0.5" @@ -5488,7 +5465,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^18.0.10", "@types/react@^18.0.9", "@types/react@>=16.9.11", "@types/react@16 || 17 || 18": +"@types/react@*", "@types/react@^18.0.10", "@types/react@>=16.9.11", "@types/react@16 || 17 || 18": "integrity" "sha512-dIugadZuIPrRzvIEevIu7A1smqOAjkSMv8qOfwPt9Ve6i6JT/FQcCHyk2qIAxwsQNKZt5/oGR0T4z9h2dXRAkg==" "resolved" "https://registry.npmjs.org/@types/react/-/react-18.0.10.tgz" "version" "18.0.10" @@ -6167,7 +6144,6 @@ "@chakra-ui/react" "^1.8.8" "@emotion/react" "^11.7.1" "@emotion/styled" "^11.6.0" - "@magicbell/magicbell-react" "^8.5.3" "@material-ui/core" "^4.12.4" "@next/bundle-analyzer" "^13.3.0" "@storybook/react" "^6.5.9" @@ -6176,7 +6152,6 @@ "@testing-library/user-event" "^12.8.3" "@types/jest" "^25.2.3" "@types/node" "^12.20.46" - "audio-react-recorder" "^1.0.4" "axios" "^1.3.5" "bootstrap" "^5.1.3" "chatui" "*" @@ -6505,13 +6480,6 @@ "atob@^2.1.2": "version" "2.1.2" -"audio-react-recorder@^1.0.4": - "integrity" "sha512-an7eX0yOGDbZOSu2LvnfWIsI41pkx9nXgtBVbI+9ByS91WKqoVGVb5pbmqHax5sZty2DjOIG/neuxcghIU/ucg==" - "resolved" "https://registry.npmjs.org/audio-react-recorder/-/audio-react-recorder-1.0.4.tgz" - "version" "1.0.4" - dependencies: - "prop-types" "^15.7.2" - "autoprefixer@^10.4.13", "autoprefixer@^10.4.7": "version" "10.4.14" dependencies: @@ -8235,52 +8203,6 @@ "cyclist@^1.0.1": "version" "1.0.1" -"cypress@^9.7.0": - "version" "9.7.0" - dependencies: - "@cypress/request" "^2.88.10" - "@cypress/xvfb" "^1.2.4" - "@types/node" "^14.14.31" - "@types/sinonjs__fake-timers" "8.1.1" - "@types/sizzle" "^2.3.2" - "arch" "^2.2.0" - "blob-util" "^2.0.2" - "bluebird" "^3.7.2" - "buffer" "^5.6.0" - "cachedir" "^2.3.0" - "chalk" "^4.1.0" - "check-more-types" "^2.24.0" - "cli-cursor" "^3.1.0" - "cli-table3" "~0.6.1" - "commander" "^5.1.0" - "common-tags" "^1.8.0" - "dayjs" "^1.10.4" - "debug" "^4.3.2" - "enquirer" "^2.3.6" - "eventemitter2" "^6.4.3" - "execa" "4.1.0" - "executable" "^4.1.1" - "extract-zip" "2.0.1" - "figures" "^3.2.0" - "fs-extra" "^9.1.0" - "getos" "^3.2.1" - "is-ci" "^3.0.0" - "is-installed-globally" "~0.4.0" - "lazy-ass" "^1.6.0" - "listr2" "^3.8.3" - "lodash" "^4.17.21" - "log-symbols" "^4.0.0" - "minimist" "^1.2.6" - "ospath" "^1.2.2" - "pretty-bytes" "^5.6.0" - "proxy-from-env" "1.0.0" - "request-progress" "^3.0.0" - "semver" "^7.3.2" - "supports-color" "^8.1.1" - "tmp" "~0.2.1" - "untildify" "^4.0.0" - "yauzl" "^2.10.0" - "damerau-levenshtein@^1.0.8": "version" "1.0.8" @@ -9305,7 +9227,7 @@ "text-table" "^0.2.0" "v8-compile-cache" "^2.0.3" -"eslint@^8.15.0", "eslint@^8.17.0", "eslint@^8.3.0", "eslint@8.18.0": +"eslint@^8.17.0", "eslint@^8.3.0", "eslint@8.18.0": "version" "8.18.0" dependencies: "@eslint/eslintrc" "^1.3.0" @@ -12391,13 +12313,23 @@ "merge-stream" "^2.0.0" "supports-color" "^8.0.0" -"jest@^27.4.3", "jest@^28.1.1": +"jest@^27.4.3": "version" "27.5.1" dependencies: "@jest/core" "^27.5.1" "import-local" "^3.0.2" "jest-cli" "^27.5.1" +"jest@^28.1.1": + "integrity" "sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA==" + "resolved" "https://registry.npmjs.org/jest/-/jest-28.1.3.tgz" + "version" "28.1.3" + dependencies: + "@jest/core" "^28.1.3" + "@jest/types" "^28.1.3" + "import-local" "^3.0.2" + "jest-cli" "^28.1.3" + "jiti@^1.17.2": "version" "1.18.2" @@ -14987,6 +14919,11 @@ dependencies: "find-up" "^3.0.0" +"playwright-core@1.35.0": + "integrity" "sha512-muMXyPmIx/2DPrCHOD1H1ePT01o7OdKxKj2ebmCAYvqhUy+Y1bpal7B0rdoxros7YrXI294JT/DWw2LqyiqTPA==" + "resolved" "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.0.tgz" + "version" "1.35.0" + "pnp-webpack-plugin@^1.7.0": "version" "1.7.0" dependencies: @@ -16208,16 +16145,16 @@ "object-assign" "^4.1.1" "prop-types" "^15.6.2" -"react@^18.1.0", "react@17.0.2": - "version" "17.0.2" +"react@^18.2.0": + "version" "18.2.0" dependencies: "loose-envify" "^1.1.0" - "object-assign" "^4.1.1" -"react@^18.2.0": - "version" "18.2.0" +"react@17.0.2": + "version" "17.0.2" dependencies: "loose-envify" "^1.1.0" + "object-assign" "^4.1.1" "read-cache@^1.0.0": "version" "1.0.0" From 1c2300613e2a81acbdc46dd10c38f5bcf1ae6829 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 17:28:44 +0530 Subject: [PATCH 02/34] feat: Added playwright testing ci --- .github/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0d56dbf1..fe6b028b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: run: npm run format:check - name: Install browser binaries - run: npx playwright install + run: npx playwright install - name: Run the tests and generate coverage report run: npm run test @@ -39,5 +39,4 @@ jobs: run: npm run build - name: Start the dev server and Playwright testing - run: npm run dev & sleep 5 && npm run e2e:test - \ No newline at end of file + run: npm run dev & sleep 5 && npm run e2e:test \ No newline at end of file From 3908e340cfb93d5b88f606e992934cd09b9278df Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 17:32:24 +0530 Subject: [PATCH 03/34] feat: Added playwright testing ci --- .github/workflows/test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fe6b028b..7400a9d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: 16.x steps: - name: Checkout repository @@ -24,10 +24,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: npm install --frozen-lockfile - - - name: Run prettier test - run: npm run format:check + run: npm install - name: Install browser binaries run: npx playwright install From 2efb982f2b30fd75c6aa7e14364745127fcd3d87 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 17:33:28 +0530 Subject: [PATCH 04/34] feat: Added playwright testing ci --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7400a9d2..6983b1d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: 16.x + node-version: [16.x] steps: - name: Checkout repository From 07de1d9a0714e6fc7753fa00d8cad39969c4008f Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 17:36:50 +0530 Subject: [PATCH 05/34] feat: Added playwright testing ci --- .github/workflows/test.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6983b1d1..4bdfa496 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,9 +29,6 @@ jobs: - name: Install browser binaries run: npx playwright install - - name: Run the tests and generate coverage report - run: npm run test - - name: Build run: npm run build From 9feb8c7b4a6d68edabac32db581ec4dee1e49ab6 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 17:40:17 +0530 Subject: [PATCH 06/34] feat: Added playwright testing ci --- .github/workflows/test.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4bdfa496..28b8cf4a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,11 +26,5 @@ jobs: - name: Install dependencies run: npm install - - name: Install browser binaries - run: npx playwright install - - - name: Build - run: npm run build - - name: Start the dev server and Playwright testing run: npm run dev & sleep 5 && npm run e2e:test \ No newline at end of file From fc16488598f1e22e0d6cff24bfb6e4d0fe429868 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 17:43:37 +0530 Subject: [PATCH 07/34] feat: Added playwright testing ci --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 28b8cf4a..464e95bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,5 +26,8 @@ jobs: - name: Install dependencies run: npm install + - name: Install browser binaries + run: npx playwright install + - name: Start the dev server and Playwright testing run: npm run dev & sleep 5 && npm run e2e:test \ No newline at end of file From 680ca944d24bcefa5536450ae944a5a002fc47f5 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 17:56:42 +0530 Subject: [PATCH 08/34] feat: Added playwright testing ci --- apps/amakrushi/src/tests/e2e/login.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index c2298e50..90f2fa58 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -1,11 +1,13 @@ import { test, expect } from '@playwright/test'; // This code will run before each test -test.beforeEach(async ({ page }) => { +test.beforeEach(async ({ page }, testInfo) => { // Navigate to the login page await page.goto('http://localhost:3000'); // Wait for the page title to load await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); + + testInfo.setTimeout(testInfo.timeout + 30000); }); test('Login Page - Input Field', async ({ page }) => { From d2698e67831a30b9984aec773b237a2fc67e8c3b Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 18:33:35 +0530 Subject: [PATCH 09/34] fix: increased timeout duration of test --- .github/workflows/test.yml | 2 +- apps/amakrushi/src/tests/e2e/login.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 464e95bc..74f625af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: CI/CD check +name: E2E Testing on: push: diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index 90f2fa58..f0396d1b 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -7,7 +7,7 @@ test.beforeEach(async ({ page }, testInfo) => { // Wait for the page title to load await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); - testInfo.setTimeout(testInfo.timeout + 30000); + testInfo.setTimeout(testInfo.timeout + 90000); }); test('Login Page - Input Field', async ({ page }) => { From 71d6faac4fee3bd10ac339b6c1f2269873c1e448 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 18:38:25 +0530 Subject: [PATCH 10/34] fix: increased timeout duration of test --- apps/amakrushi/playwright.config.ts | 1 + apps/amakrushi/src/tests/e2e/login.spec.ts | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/amakrushi/playwright.config.ts b/apps/amakrushi/playwright.config.ts index 89d8f19c..367ea28e 100644 --- a/apps/amakrushi/playwright.config.ts +++ b/apps/amakrushi/playwright.config.ts @@ -3,6 +3,7 @@ import { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './src/tests/e2e', outputDir: './src/tests/test-results', + timeout: 60000 }; export default config; \ No newline at end of file diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index f0396d1b..c2298e50 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -1,13 +1,11 @@ import { test, expect } from '@playwright/test'; // This code will run before each test -test.beforeEach(async ({ page }, testInfo) => { +test.beforeEach(async ({ page }) => { // Navigate to the login page await page.goto('http://localhost:3000'); // Wait for the page title to load await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); - - testInfo.setTimeout(testInfo.timeout + 90000); }); test('Login Page - Input Field', async ({ page }) => { From df5f2e2ee8903c9801b994085f15267e4f5140a2 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 18:45:17 +0530 Subject: [PATCH 11/34] fix: increased timeout duration of test --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74f625af..463e2f86 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,4 +30,4 @@ jobs: run: npx playwright install - name: Start the dev server and Playwright testing - run: npm run dev & sleep 5 && npm run e2e:test \ No newline at end of file + run: npm run dev & sleep 30 && npm run e2e:test \ No newline at end of file From 78f674885d65e5edf4f1a9b41c9a6864e2c7c050 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 18:51:56 +0530 Subject: [PATCH 12/34] fix: increased timeout duration of test --- .github/workflows/test.yml | 2 +- apps/amakrushi/playwright.config.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 463e2f86..1de4b2a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,4 +30,4 @@ jobs: run: npx playwright install - name: Start the dev server and Playwright testing - run: npm run dev & sleep 30 && npm run e2e:test \ No newline at end of file + run: npm run dev & sleep 80 && npm run e2e:test \ No newline at end of file diff --git a/apps/amakrushi/playwright.config.ts b/apps/amakrushi/playwright.config.ts index 367ea28e..b006f31f 100644 --- a/apps/amakrushi/playwright.config.ts +++ b/apps/amakrushi/playwright.config.ts @@ -2,8 +2,7 @@ import { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './src/tests/e2e', - outputDir: './src/tests/test-results', - timeout: 60000 + outputDir: './src/tests/test-results' }; export default config; \ No newline at end of file From fe9edba21ba89cd3d6987995cddd11ccae939b26 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 19:01:45 +0530 Subject: [PATCH 13/34] fix: increased timeout duration of test --- .github/workflows/test.yml | 4 ++-- apps/amakrushi/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1de4b2a5..2d457228 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: run: npm install - name: Install browser binaries - run: npx playwright install + run: npx playwright install --with-deps - name: Start the dev server and Playwright testing - run: npm run dev & sleep 80 && npm run e2e:test \ No newline at end of file + run: npm run dev & sleep 70 && npm run e2e:test \ No newline at end of file diff --git a/apps/amakrushi/package.json b/apps/amakrushi/package.json index c1a2d528..d2d074e7 100644 --- a/apps/amakrushi/package.json +++ b/apps/amakrushi/package.json @@ -10,7 +10,7 @@ "analyze": "cross-env ANALYZE=true next build", "analyze:server": "cross-env BUNDLE_ANALYZE=server next build", "analyze:browser": "cross-env BUNDLE_ANALYZE=browser next build", - "e2e:test": "playwright test" + "e2e:test": "npx playwright test" }, "dependencies": { "@chakra-ui/react": "^1.8.8", From a77669d8b5d8d26c5bf414928d48da77208418e0 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 19:09:59 +0530 Subject: [PATCH 14/34] fix: increased timeout duration of test --- apps/amakrushi/src/tests/e2e/login.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index c2298e50..329ad006 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -5,7 +5,7 @@ test.beforeEach(async ({ page }) => { // Navigate to the login page await page.goto('http://localhost:3000'); // Wait for the page title to load - await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); + // await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); }); test('Login Page - Input Field', async ({ page }) => { From 490eb40508497e9cc29a4bc8a0807db763b0d374 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 19:15:37 +0530 Subject: [PATCH 15/34] fix: increased timeout duration of test --- .github/workflows/test.yml | 9 ++++++++- apps/amakrushi/src/tests/e2e/login.spec.ts | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d457228..1c0f47ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,4 +30,11 @@ jobs: run: npx playwright install --with-deps - name: Start the dev server and Playwright testing - run: npm run dev & sleep 70 && npm run e2e:test \ No newline at end of file + run: | + npm run dev & + + # Wait until the server is ready + until nc -z localhost 3000; do sleep 1; done + + # Run Playwright tests + npm run e2e:test diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index 329ad006..c2298e50 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -5,7 +5,7 @@ test.beforeEach(async ({ page }) => { // Navigate to the login page await page.goto('http://localhost:3000'); // Wait for the page title to load - // await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); + await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); }); test('Login Page - Input Field', async ({ page }) => { From 1088cf87345a9d01f11bab5c69a980baec75f4a9 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 19:23:52 +0530 Subject: [PATCH 16/34] fix: increased timeout duration of test --- .github/workflows/test.yml | 8 +------- apps/amakrushi/src/tests/e2e/login.spec.ts | 10 ++++++++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c0f47ac..b4d5de0f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,10 +31,4 @@ jobs: - name: Start the dev server and Playwright testing run: | - npm run dev & - - # Wait until the server is ready - until nc -z localhost 3000; do sleep 1; done - - # Run Playwright tests - npm run e2e:test + npm run dev && sleep 65 && npm run e2e:test diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index c2298e50..2386a0e3 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -5,7 +5,11 @@ test.beforeEach(async ({ page }) => { // Navigate to the login page await page.goto('http://localhost:3000'); // Wait for the page title to load - await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); + const pageTitle = await page.title(); + console.log('Page title:', pageTitle); + await page.waitForFunction(() => document.title === 'ଆମ କୃଷି', { + timeout: 5000, + }); }); test('Login Page - Input Field', async ({ page }) => { @@ -14,7 +18,9 @@ test('Login Page - Input Field', async ({ page }) => { expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists if (mobileNumberInput) { - const inputPlaceholder = await mobileNumberInput.getAttribute('placeholder'); + const inputPlaceholder = await mobileNumberInput.getAttribute( + 'placeholder' + ); expect(inputPlaceholder).toBe('ମୋବାଇଲ୍ ନମ୍ବର ପ୍ରବେଶ କରନ୍ତୁ |'); } else { throw new Error('Mobile number input field not found.'); From 65650d1cfeb8fc68d3b4cb32cfdecfacb9f4c6c3 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 19:30:06 +0530 Subject: [PATCH 17/34] fix: increased timeout duration of test --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4d5de0f..849bd85b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,4 +31,4 @@ jobs: - name: Start the dev server and Playwright testing run: | - npm run dev && sleep 65 && npm run e2e:test + npm run dev & sleep 65 && npm run e2e:test From 5783e3f508a3ff83035a3c9e772cf3c8fcefb317 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Thu, 15 Jun 2023 19:30:17 +0530 Subject: [PATCH 18/34] fix: increased timeout duration of test --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 849bd85b..582f4dde 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,5 +30,4 @@ jobs: run: npx playwright install --with-deps - name: Start the dev server and Playwright testing - run: | - npm run dev & sleep 65 && npm run e2e:test + run: npm run dev & sleep 65 && npm run e2e:test From 96301c00aa68122a15509a06bfd0c07aaeb441a1 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 09:51:04 +0530 Subject: [PATCH 19/34] fix: added logs and screenshot to debug test --- apps/amakrushi/src/tests/e2e/login.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index 2386a0e3..336fce34 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -5,8 +5,11 @@ test.beforeEach(async ({ page }) => { // Navigate to the login page await page.goto('http://localhost:3000'); // Wait for the page title to load + await page.waitForLoadState('networkidle'); const pageTitle = await page.title(); console.log('Page title:', pageTitle); + await page.screenshot({ path: 'page-screenshot.png' }); + await page.waitForFunction(() => document.title === 'ଆମ କୃଷି', { timeout: 5000, }); From e15226e71ee04bc4962d770f9bef43d4ae700fa5 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 11:21:51 +0530 Subject: [PATCH 20/34] fix: added video logs to test --- apps/amakrushi/playwright.config.ts | 5 ++++- apps/amakrushi/src/tests/e2e/login.spec.ts | 12 +++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/apps/amakrushi/playwright.config.ts b/apps/amakrushi/playwright.config.ts index b006f31f..88913ca1 100644 --- a/apps/amakrushi/playwright.config.ts +++ b/apps/amakrushi/playwright.config.ts @@ -2,7 +2,10 @@ import { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './src/tests/e2e', - outputDir: './src/tests/test-results' + outputDir: './src/tests/test-results', + use: { + video: 'on', + }, }; export default config; \ No newline at end of file diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index 336fce34..0229a124 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -6,13 +6,7 @@ test.beforeEach(async ({ page }) => { await page.goto('http://localhost:3000'); // Wait for the page title to load await page.waitForLoadState('networkidle'); - const pageTitle = await page.title(); - console.log('Page title:', pageTitle); - await page.screenshot({ path: 'page-screenshot.png' }); - - await page.waitForFunction(() => document.title === 'ଆମ କୃଷି', { - timeout: 5000, - }); + await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); }); test('Login Page - Input Field', async ({ page }) => { @@ -42,7 +36,7 @@ test('Login Page - Continue Button', async ({ page }) => { expect(await continueButton?.innerText()).toBe('ଜାରି ରଖ'); await continueButton?.click(); - // Verify the URL after clicking continue + // Verify the URL remains same after clicking continue const currentURL = page.url(); expect(currentURL).toBe('http://localhost:3000/login'); } else { @@ -62,7 +56,7 @@ test('OTP Page - URL and Verification', async ({ page }) => { await continueButton?.click(); // Verify the URL after clicking continue - const otpURL = new URL('http://localhost:3000/otp?state=903435053'); + const otpURL = new URL('http://localhost:3000/otp?state=9034350533'); await page.waitForURL((url) => url.href.startsWith(otpURL.href)); // Verify the new URL after clicking continue From adb425d03b6b0f00e024a25435b708e9bc946337 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 13:44:12 +0530 Subject: [PATCH 21/34] fix: added env in yml --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 582f4dde..448d0d54 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,4 +30,25 @@ jobs: run: npx playwright install --with-deps - name: Start the dev server and Playwright testing + env: + NEXT_PUBLIC_ENVIRONMENT_ID:${{secrets.NEXT_PUBLIC_ENVIRONMENT_ID}} + NEXT_PUBLIC_FLAGSMITH_API:${{secrets.NEXT_PUBLIC_FLAGSMITH_API}} + NEXT_PUBLIC_SOCKET_URL:${{secrets.NEXT_PUBLIC_SOCKET_URL}} + NEXT_PUBLIC_BASE_URL:${{secrets.NEXT_PUBLIC_BASE_URL}} + NEXT_PUBLIC_USER_SERVICE_APP_ID:${{secrets.NEXT_PUBLIC_USER_SERVICE_APP_ID}} + NEXT_PUBLIC_JWKS_URI:${{secrets.NEXT_PUBLIC_JWKS_URI}} + NEXT_PUBLIC_OTP_BASE_URL:${{secrets.NEXT_PUBLIC_OTP_BASE_URL}} + NEXT_PUBLIC_FIREBASE_API_KEY:${{secrets.NEXT_PUBLIC_FIREBASE_API_KEY}} + NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN:${{secrets.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN}} + NEXT_PUBLIC_FIREBASE_PROJECT_ID:${{secrets.NEXT_PUBLIC_FIREBASE_PROJECT_ID}} + NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET:${{secrets.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET}} + NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID:${{secrets.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID}} + NEXT_PUBLIC_FIREBASE_APP_ID:${{secrets.NEXT_PUBLIC_FIREBASE_APP_ID}} + NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID:${{secrets.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID}} + NEXT_PUBLIC_FCM_VAPID_KEY:${{secrets.NEXT_PUBLIC_FCM_VAPID_KEY}} + NEXT_PUBLIC_FUS_APP_ID:${{secrets.NEXT_PUBLIC_FUS_APP_ID}} + NEXT_PUBLIC_FUS_URL:${{secrets.NEXT_PUBLIC_FUS_URL}} + NEXT_PUBLIC_FUS_AUTH:${{secrets.NEXT_PUBLIC_FUS_AUTH}} + NEXT_PUBLIC_DHRUVA_AUTH:${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} + NEXT_PUBLIC_TRANSLITERATION_MODELID:${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} run: npm run dev & sleep 65 && npm run e2e:test From 3cb4f86e0c346e314e33abc9d2d1d9628dc9c339 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 13:56:20 +0530 Subject: [PATCH 22/34] fix: added env in yml --- .github/workflows/test.yml | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 448d0d54..f5766015 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,24 +31,24 @@ jobs: - name: Start the dev server and Playwright testing env: - NEXT_PUBLIC_ENVIRONMENT_ID:${{secrets.NEXT_PUBLIC_ENVIRONMENT_ID}} - NEXT_PUBLIC_FLAGSMITH_API:${{secrets.NEXT_PUBLIC_FLAGSMITH_API}} - NEXT_PUBLIC_SOCKET_URL:${{secrets.NEXT_PUBLIC_SOCKET_URL}} - NEXT_PUBLIC_BASE_URL:${{secrets.NEXT_PUBLIC_BASE_URL}} - NEXT_PUBLIC_USER_SERVICE_APP_ID:${{secrets.NEXT_PUBLIC_USER_SERVICE_APP_ID}} - NEXT_PUBLIC_JWKS_URI:${{secrets.NEXT_PUBLIC_JWKS_URI}} - NEXT_PUBLIC_OTP_BASE_URL:${{secrets.NEXT_PUBLIC_OTP_BASE_URL}} - NEXT_PUBLIC_FIREBASE_API_KEY:${{secrets.NEXT_PUBLIC_FIREBASE_API_KEY}} - NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN:${{secrets.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN}} - NEXT_PUBLIC_FIREBASE_PROJECT_ID:${{secrets.NEXT_PUBLIC_FIREBASE_PROJECT_ID}} - NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET:${{secrets.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET}} - NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID:${{secrets.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID}} - NEXT_PUBLIC_FIREBASE_APP_ID:${{secrets.NEXT_PUBLIC_FIREBASE_APP_ID}} - NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID:${{secrets.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID}} - NEXT_PUBLIC_FCM_VAPID_KEY:${{secrets.NEXT_PUBLIC_FCM_VAPID_KEY}} - NEXT_PUBLIC_FUS_APP_ID:${{secrets.NEXT_PUBLIC_FUS_APP_ID}} - NEXT_PUBLIC_FUS_URL:${{secrets.NEXT_PUBLIC_FUS_URL}} - NEXT_PUBLIC_FUS_AUTH:${{secrets.NEXT_PUBLIC_FUS_AUTH}} - NEXT_PUBLIC_DHRUVA_AUTH:${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} - NEXT_PUBLIC_TRANSLITERATION_MODELID:${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} + NEXT_PUBLIC_ENVIRONMENT_ID: ${{secrets.NEXT_PUBLIC_ENVIRONMENT_ID}} + NEXT_PUBLIC_FLAGSMITH_API: ${{secrets.NEXT_PUBLIC_FLAGSMITH_API}} + NEXT_PUBLIC_SOCKET_URL: ${{secrets.NEXT_PUBLIC_SOCKET_URL}} + NEXT_PUBLIC_BASE_URL: ${{secrets.NEXT_PUBLIC_BASE_URL}} + NEXT_PUBLIC_USER_SERVICE_APP_ID: ${{secrets.NEXT_PUBLIC_USER_SERVICE_APP_ID}} + NEXT_PUBLIC_JWKS_URI: ${{secrets.NEXT_PUBLIC_JWKS_URI}} + NEXT_PUBLIC_OTP_BASE_URL: ${{secrets.NEXT_PUBLIC_OTP_BASE_URL}} + NEXT_PUBLIC_FIREBASE_API_KEY: ${{secrets.NEXT_PUBLIC_FIREBASE_API_KEY}} + NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: ${{secrets.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN}} + NEXT_PUBLIC_FIREBASE_PROJECT_ID: ${{secrets.NEXT_PUBLIC_FIREBASE_PROJECT_ID}} + NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: ${{secrets.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET}} + NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: ${{secrets.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID}} + NEXT_PUBLIC_FIREBASE_APP_ID: ${{secrets.NEXT_PUBLIC_FIREBASE_APP_ID}} + NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID: ${{secrets.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID}} + NEXT_PUBLIC_FCM_VAPID_KEY: ${{secrets.NEXT_PUBLIC_FCM_VAPID_KEY}} + NEXT_PUBLIC_FUS_APP_ID: ${{secrets.NEXT_PUBLIC_FUS_APP_ID}} + NEXT_PUBLIC_FUS_URL: ${{secrets.NEXT_PUBLIC_FUS_URL}} + NEXT_PUBLIC_FUS_AUTH: ${{secrets.NEXT_PUBLIC_FUS_AUTH}} + NEXT_PUBLIC_DHRUVA_AUTH: ${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} + NEXT_PUBLIC_TRANSLITERATION_MODELID: ${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} run: npm run dev & sleep 65 && npm run e2e:test From 3844df576931302e0db666a40516c1e5dc5184f6 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 14:31:44 +0530 Subject: [PATCH 23/34] fix: added playwright-report in yml --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5766015..a4470b7e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,3 +52,9 @@ jobs: NEXT_PUBLIC_DHRUVA_AUTH: ${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} NEXT_PUBLIC_TRANSLITERATION_MODELID: ${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} run: npm run dev & sleep 65 && npm run e2e:test + - uses: actions/upload-artifact@v3 + if: always() + with: + name: playwright-report + path: playwright-report/ + retention-days: 30 From 269f619ebc0f19a47e314a7a1c847cd94895821d Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 14:54:24 +0530 Subject: [PATCH 24/34] fix: added playwright-report in yml --- apps/amakrushi/playwright.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/amakrushi/playwright.config.ts b/apps/amakrushi/playwright.config.ts index 88913ca1..95f8887a 100644 --- a/apps/amakrushi/playwright.config.ts +++ b/apps/amakrushi/playwright.config.ts @@ -5,6 +5,12 @@ const config: PlaywrightTestConfig = { outputDir: './src/tests/test-results', use: { video: 'on', + baseURL: 'http://localhost:3000/', + }, + webServer: { + command: 'npm start', + url: 'http://localhost:3000/', + timeout: 120000, }, }; From 1ac1dc00c667e71059fcf7107b50467591738889 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 15:04:27 +0530 Subject: [PATCH 25/34] fix: removed playwright-report, added baseUrl in config --- .github/workflows/test.yml | 6 ------ apps/amakrushi/playwright.config.ts | 9 ++------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a4470b7e..f5766015 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,9 +52,3 @@ jobs: NEXT_PUBLIC_DHRUVA_AUTH: ${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} NEXT_PUBLIC_TRANSLITERATION_MODELID: ${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} run: npm run dev & sleep 65 && npm run e2e:test - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 diff --git a/apps/amakrushi/playwright.config.ts b/apps/amakrushi/playwright.config.ts index 95f8887a..d04dcb36 100644 --- a/apps/amakrushi/playwright.config.ts +++ b/apps/amakrushi/playwright.config.ts @@ -5,13 +5,8 @@ const config: PlaywrightTestConfig = { outputDir: './src/tests/test-results', use: { video: 'on', - baseURL: 'http://localhost:3000/', - }, - webServer: { - command: 'npm start', - url: 'http://localhost:3000/', - timeout: 120000, + baseURL: 'http://localhost:3000', }, }; -export default config; \ No newline at end of file +export default config; From 8289e20156033cebbc0ef9113c5eb146cd368d4d Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 15:19:03 +0530 Subject: [PATCH 26/34] fix: added github actions recorder --- .github/workflows/test.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5766015..b1f15236 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,4 +51,16 @@ jobs: NEXT_PUBLIC_FUS_AUTH: ${{secrets.NEXT_PUBLIC_FUS_AUTH}} NEXT_PUBLIC_DHRUVA_AUTH: ${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} NEXT_PUBLIC_TRANSLITERATION_MODELID: ${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} - run: npm run dev & sleep 65 && npm run e2e:test + run: | + npm run dev & + sleep 65 + ffmpeg -y -f x11grab -video_size 1024x768 -i $DISPLAY -codec:v libx264 -r 30 -preset ultrafast output.mp4 + npm run e2e:test + pkill -9 ffmpeg + + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: workflow-artifacts + path: | + output.mp4 From 9af02652a3f73b00ab2b35bae7a56956c4679e9e Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 15:27:12 +0530 Subject: [PATCH 27/34] fix: added github actions recorder --- .github/workflows/test.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1f15236..8b03d3d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,12 +51,7 @@ jobs: NEXT_PUBLIC_FUS_AUTH: ${{secrets.NEXT_PUBLIC_FUS_AUTH}} NEXT_PUBLIC_DHRUVA_AUTH: ${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} NEXT_PUBLIC_TRANSLITERATION_MODELID: ${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} - run: | - npm run dev & - sleep 65 - ffmpeg -y -f x11grab -video_size 1024x768 -i $DISPLAY -codec:v libx264 -r 30 -preset ultrafast output.mp4 - npm run e2e:test - pkill -9 ffmpeg + run: xvfb-run -a npm run dev & sleep 65 && xvfb-run -a ffmpeg -y -f x11grab -video_size 1024x768 -i $DISPLAY -codec:v libx264 -r 30 -preset ultrafast output.mp4 && npm run e2e:test && pkill -9 ffmpeg - name: Upload artifacts uses: actions/upload-artifact@v2 From 15bd9eafddbd368fe9523b4c3fe677d99ab7ff53 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 15:48:07 +0530 Subject: [PATCH 28/34] fix: removed recorders --- .github/workflows/test.yml | 13 +++---------- apps/amakrushi/src/tests/e2e/login.spec.ts | 3 ++- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8b03d3d9..15d6bdca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,13 +24,13 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: npm install + run: npm ci - name: Install browser binaries run: npx playwright install --with-deps - name: Start the dev server and Playwright testing - env: + env: NEXT_PUBLIC_ENVIRONMENT_ID: ${{secrets.NEXT_PUBLIC_ENVIRONMENT_ID}} NEXT_PUBLIC_FLAGSMITH_API: ${{secrets.NEXT_PUBLIC_FLAGSMITH_API}} NEXT_PUBLIC_SOCKET_URL: ${{secrets.NEXT_PUBLIC_SOCKET_URL}} @@ -51,11 +51,4 @@ jobs: NEXT_PUBLIC_FUS_AUTH: ${{secrets.NEXT_PUBLIC_FUS_AUTH}} NEXT_PUBLIC_DHRUVA_AUTH: ${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} NEXT_PUBLIC_TRANSLITERATION_MODELID: ${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} - run: xvfb-run -a npm run dev & sleep 65 && xvfb-run -a ffmpeg -y -f x11grab -video_size 1024x768 -i $DISPLAY -codec:v libx264 -r 30 -preset ultrafast output.mp4 && npm run e2e:test && pkill -9 ffmpeg - - - name: Upload artifacts - uses: actions/upload-artifact@v2 - with: - name: workflow-artifacts - path: | - output.mp4 + run: npm run dev & sleep 65 && npm run e2e:test diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index 0229a124..d404c43c 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -6,12 +6,13 @@ test.beforeEach(async ({ page }) => { await page.goto('http://localhost:3000'); // Wait for the page title to load await page.waitForLoadState('networkidle'); - await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); + // await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); }); test('Login Page - Input Field', async ({ page }) => { // Find the mobile number input field const mobileNumberInput = await page.$('#mobile-number-input'); + console.log("Mobile Number Input: ", mobileNumberInput); expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists if (mobileNumberInput) { From 6365b5d193949134e3f2014984705179ba04f86d Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 16:03:46 +0530 Subject: [PATCH 29/34] fix: added report --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 15d6bdca..85af7c6d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,3 +52,9 @@ jobs: NEXT_PUBLIC_DHRUVA_AUTH: ${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} NEXT_PUBLIC_TRANSLITERATION_MODELID: ${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} run: npm run dev & sleep 65 && npm run e2e:test + - uses: actions/upload-artifact@v3 + if: always() + with: + name: Report + path: test-results + retention-days: 2 From 6792c0bad07dce948978bbc623672d5f745cab65 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 16:15:51 +0530 Subject: [PATCH 30/34] fix: added report --- apps/amakrushi/playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/amakrushi/playwright.config.ts b/apps/amakrushi/playwright.config.ts index d04dcb36..c0e17f22 100644 --- a/apps/amakrushi/playwright.config.ts +++ b/apps/amakrushi/playwright.config.ts @@ -2,7 +2,7 @@ import { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './src/tests/e2e', - outputDir: './src/tests/test-results', + outputDir: '../../test-results', use: { video: 'on', baseURL: 'http://localhost:3000', From 155ff38dbaaf0f380e468a4d5e06538056e1f963 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Fri, 16 Jun 2023 17:13:43 +0530 Subject: [PATCH 31/34] fix: added environment E2E name --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85af7c6d..a55fd4bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,6 +31,7 @@ jobs: - name: Start the dev server and Playwright testing env: + environment: E2E NEXT_PUBLIC_ENVIRONMENT_ID: ${{secrets.NEXT_PUBLIC_ENVIRONMENT_ID}} NEXT_PUBLIC_FLAGSMITH_API: ${{secrets.NEXT_PUBLIC_FLAGSMITH_API}} NEXT_PUBLIC_SOCKET_URL: ${{secrets.NEXT_PUBLIC_SOCKET_URL}} From aa68a83a2e65ba6cafb695e74bb9dc662c3bb050 Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Sat, 17 Jun 2023 09:39:38 +0530 Subject: [PATCH 32/34] fix: added repository secrets --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a55fd4bb..85af7c6d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,6 @@ jobs: - name: Start the dev server and Playwright testing env: - environment: E2E NEXT_PUBLIC_ENVIRONMENT_ID: ${{secrets.NEXT_PUBLIC_ENVIRONMENT_ID}} NEXT_PUBLIC_FLAGSMITH_API: ${{secrets.NEXT_PUBLIC_FLAGSMITH_API}} NEXT_PUBLIC_SOCKET_URL: ${{secrets.NEXT_PUBLIC_SOCKET_URL}} From 3ce02fb83dac7b96a61a3edc8eaabb11e1ac9d8d Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Sat, 17 Jun 2023 09:48:46 +0530 Subject: [PATCH 33/34] fix: changed test names --- apps/amakrushi/src/tests/e2e/login.spec.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index d404c43c..c4a99cb4 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -6,13 +6,12 @@ test.beforeEach(async ({ page }) => { await page.goto('http://localhost:3000'); // Wait for the page title to load await page.waitForLoadState('networkidle'); - // await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); + await page.waitForFunction(() => document.title === 'ଆମ କୃଷି'); }); -test('Login Page - Input Field', async ({ page }) => { +test('Login Page - Mobile input field', async ({ page }) => { // Find the mobile number input field const mobileNumberInput = await page.$('#mobile-number-input'); - console.log("Mobile Number Input: ", mobileNumberInput); expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists if (mobileNumberInput) { @@ -25,7 +24,7 @@ test('Login Page - Input Field', async ({ page }) => { } }); -test('Login Page - Continue Button', async ({ page }) => { +test('Login Page - Less than 10 digits', async ({ page }) => { // Find the mobile number input field const mobileNumberInput = await page.$('#mobile-number-input'); expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists @@ -45,7 +44,7 @@ test('Login Page - Continue Button', async ({ page }) => { } }); -test('OTP Page - URL and Verification', async ({ page }) => { +test('Login Page - Send OTP', async ({ page }) => { // Find the mobile number input field const mobileNumberInput = await page.$('#mobile-number-input'); expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists From 3538e5eaba14b5f624a3b1fe9eab10700800316e Mon Sep 17 00:00:00 2001 From: Prateek Jakhar Date: Sat, 17 Jun 2023 10:07:49 +0530 Subject: [PATCH 34/34] chore: Added console logs in test file --- .github/workflows/test.yml | 5 +++-- apps/amakrushi/src/tests/e2e/login.spec.ts | 13 ++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85af7c6d..4df57a28 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,9 +52,10 @@ jobs: NEXT_PUBLIC_DHRUVA_AUTH: ${{secrets.NEXT_PUBLIC_DHRUVA_AUTH}} NEXT_PUBLIC_TRANSLITERATION_MODELID: ${{secrets.NEXT_PUBLIC_TRANSLITERATION_MODELID}} run: npm run dev & sleep 65 && npm run e2e:test - - uses: actions/upload-artifact@v3 + - name: Uploading Test Video (can be downloaded from Summary) + uses: actions/upload-artifact@v3 if: always() with: - name: Report + name: Test Video path: test-results retention-days: 2 diff --git a/apps/amakrushi/src/tests/e2e/login.spec.ts b/apps/amakrushi/src/tests/e2e/login.spec.ts index c4a99cb4..5a9ff85f 100644 --- a/apps/amakrushi/src/tests/e2e/login.spec.ts +++ b/apps/amakrushi/src/tests/e2e/login.spec.ts @@ -10,21 +10,27 @@ test.beforeEach(async ({ page }) => { }); test('Login Page - Mobile input field', async ({ page }) => { + console.log('1) Running test: Login Page - Mobile input field'); // Find the mobile number input field const mobileNumberInput = await page.$('#mobile-number-input'); expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists if (mobileNumberInput) { + console.log('Mobile input field found successfully! ✅ '); const inputPlaceholder = await mobileNumberInput.getAttribute( 'placeholder' ); expect(inputPlaceholder).toBe('ମୋବାଇଲ୍ ନମ୍ବର ପ୍ରବେଶ କରନ୍ତୁ |'); + console.log( + 'Mobile input field placeholder text matched successfully! ✅ ' + ); } else { throw new Error('Mobile number input field not found.'); } }); test('Login Page - Less than 10 digits', async ({ page }) => { + console.log('2) Running test: Login Page - Less than 10 digits'); // Find the mobile number input field const mobileNumberInput = await page.$('#mobile-number-input'); expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists @@ -39,17 +45,20 @@ test('Login Page - Less than 10 digits', async ({ page }) => { // Verify the URL remains same after clicking continue const currentURL = page.url(); expect(currentURL).toBe('http://localhost:3000/login'); + console.log('Did not send OTP on entering less than 10 digits! ✅ '); } else { throw new Error('Mobile number input field not found.'); } }); test('Login Page - Send OTP', async ({ page }) => { + console.log('3) Running test: Login Page - Send OTP'); // Find the mobile number input field const mobileNumberInput = await page.$('#mobile-number-input'); expect(mobileNumberInput).not.toBeNull(); // Assert that the input field exists if (mobileNumberInput) { + console.log('Running test: Login Page - Send OTP'); // Enter exactly 10 digits in the input field and click continue await mobileNumberInput.fill('9034350533'); const continueButton = await page.$('#login-continue-button'); @@ -58,9 +67,7 @@ test('Login Page - Send OTP', async ({ page }) => { // Verify the URL after clicking continue const otpURL = new URL('http://localhost:3000/otp?state=9034350533'); await page.waitForURL((url) => url.href.startsWith(otpURL.href)); - - // Verify the new URL after clicking continue - const updatedURL = page.url(); + console.log('Successfully sent OTP on entering 10 digits! ✅ '); } else { throw new Error('Mobile number input field not found.'); }