mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
gsg test: pin puppeteer (#15422)
Somehow our setup doesn't work with puppeteer 19+. CHANGELOG_BEGIN - GSG: Several TypeScript warnings have been fixed in the final "Testing Your Web App" section of the Getting Started Guide. The `create-daml-app` template includes an updated `config.ts` file, and the documentation page as been updated to pin the `puppeteer` version to a known-working one and tweak the `index.test.ts` file. CHANGELOG_END
This commit is contained in:
parent
5a3a013b21
commit
216f9f4775
@ -18,7 +18,7 @@ Of course there are more to choose from, but this is one combination that works.
|
|||||||
To install Puppeteer and some other testing utilities we are going to use,
|
To install Puppeteer and some other testing utilities we are going to use,
|
||||||
run the following command in the ``ui`` directory::
|
run the following command in the ``ui`` directory::
|
||||||
|
|
||||||
npm add --only=dev puppeteer wait-on @types/jest @types/node @types/puppeteer @types/wait-on
|
npm add --only=dev puppeteer@18.2.1 wait-on @types/jest @types/node @types/puppeteer @types/wait-on
|
||||||
|
|
||||||
Because these things are easier to describe with concrete examples, this
|
Because these things are easier to describe with concrete examples, this
|
||||||
section will show how to set up end-to-end tests for the application you would
|
section will show how to set up end-to-end tests for the application you would
|
||||||
|
Loading…
Reference in New Issue
Block a user