Commit 98ef505
Add Puppeteer testing (#166)
* Spike: add Puppeteer tests
Integrate Puppeteer tests into the existing Python Editor tests.
* Make tests more strict
* Restructure tests
- restructure tests so each test has its own -spec.js file
- start & stop local server after all tests
- remove device aspect of tests, and remove dependencies
* Reorganise tests; fix file paths
Neaten & fix tests by fixing test file paths.
* Move Puppeteer tests to a single file
Allows us to use a single browser object across all tests.
* No need to remove line
* Updates from feedback
- rearrange AAA
- remove dialogs from old hex tests
- clarify flags
- reduce dialog wait
* Use jQuery to get script name
* Get tests working in Azure
* Use 1.1.4 only in testing
* Split wait into ms
* Consistent quotes
* Move hex files to subdirectory, and minor tweaks.1 parent 4ee609a commit 98ef505
10 files changed
Lines changed: 44012 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments