Files
adyen-web/package.json
Cenk Kucukiravul 2e23f98248 Adding Playwright for E2E testing (#1973)
* feat: initial commit

* feat: added testing app

* feat: basic ideal test

* feat: clean up

* test: testing iframes

* feat:testing binLookup with card avs field

* feat: removed node-sass

* Create GitHub Actions pipeline for E2E testing

* Add installation of all deps

* Hardcode 4 parallel runners for local runs

* Define an action default timeout of 20 seconds

* Fix indentation errors

* Fix working directory for e2e dependencies

* Format yml in supported format

* Fix indentation

* Indentation fix

* Try to make Github yaml format happy

* Attempt to fix formatting

* Fix working directory for e2e

* Reduce job count to 1

* Only test with node 16.x

* Inject environment variables

* Reduce retry count to 0 on CI

* Update secrets

* Add timeout for entire build

* Add step to store test artifacts

* Add single retry on CI

* Break the pipeline in two jobs

* Add dependency per step

* Make yaml happy

* Fix yaml formatting

* Fix yaml formatting

* Remove dependency installation for playwright

* Update working directory

* Use absolute path

* Try to fix path

* Test removing path

* Update path

* Remove checkout

* Bring back checkout step

* Make it unified again

* Add manual trigger

* Click to Pay - Removing useClickToPay flag (#1979)

* Full dependency installation for Playwright

* Fix report folder path

* Enable html reporter

* Change report path

* Remove dedicated path for report

* Use 2 workers on CI

* feat: using npm instead of yarn

* Add ms edge to projects

* fix: lib version

* feat: reduced workers. adjusted scrirpt names

* feat: added edge

* feat: adjusted timeouts

* feat: bumped playwright version

* feat: removed edge

---------

Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
Co-authored-by: Guilherme Ribeiro <guilhermemrr@gmail.com>
Co-authored-by: Cenk Kucukiravul <cenk.kucukiravul@adyen.com>
2023-03-03 12:07:54 +01:00

37 lines
1.2 KiB
JSON

{
"name": "@adyen/adyen-web-main",
"keywords": [
"adyen",
"adyen-web",
"checkout",
"payment",
"payments",
"components"
],
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"start": "concurrently --kill-others-on-fail \"yarn workspace @adyen/adyen-web start\" \"yarn workspace @adyen/adyen-web-playground start\" --names \"lib,playground\"",
"build": "yarn workspace @adyen/adyen-web build",
"lint": "yarn workspace @adyen/adyen-web lint",
"test": "yarn workspace @adyen/adyen-web test",
"test:watch": "yarn workspace @adyen/adyen-web test:watch",
"test:coverage": "yarn workspace @adyen/adyen-web test:coverage",
"test:e2e": "yarn build && yarn workspace @adyen/adyen-web-playwright test:headless",
"test:e2e-testcafe": "yarn build && yarn workspace @adyen/adyen-web-e2e test:e2e",
"type-check": "yarn workspace @adyen/adyen-web type-check",
"prepare": "yarn workspace @adyen/adyen-web prepare"
},
"resolutions": {
"**/regenerator-runtime": "^0.13.9"
},
"dependencies": {
"concurrently": "^7.6.0"
},
"devDependencies": {
"prettier": "2.8.4"
}
}