Commit c535209
authored
Migrate e2e testing from jest to playwright test (#680)
First pass at migrating away from jest. Tests to be migrated one
by one, in a draft PR, just like the ants.
Add package.json, package-lock.json, jest.config.js,
jest-playwright.config.js to commit, which were missed in last
commit for some reason
Migrate announceMovement.test.js to playwright test
Migrate axisInferring.test.js to playwright test
Migrate drag.test.js to playwright test, restore e2e/data directory
Migrate featureIndexOverlay.test.js to playwright test
Migrate featureLinks.test.js to playwright test
Migrate fullscreenControl.test.js to playwright test
Migrate history.test.js to playwright test
Migrate layerAttributes.test.js to playwright test. There was a
flaky path that would not respond to hover.
Migrate layerContextMenu.test.js to playwright test. Playwright
no longer would automatically right click a disabled layer. Added
{ button: "right", force: true } option, seems to work now.
Migrate linkTypes.test.js to playwright test.
Migrate mapElement.test.js, mapContextMenu.test.js to playwright test.
Migrate mapSpan.test.js to playwright test. Had to add a timeout
Migrate metaDefault.test.js to playwright test. Had to add a timeout
Migrate mismatchedLayerWithMap.test.js to playwright test. Unsure
how to goto a blank page that is editable, so I had to create
empty.html and go to that. Had to add a
{ button: "right", force: true } to get the right button click to
work again.
Migrate missingMetaParameters.test.js to playwright test.
Work in progress on popupNavigation.test.js
Migrate popupTabNavigation.test.js to playwright test
Migrate projectionChange.test.js to playwright test
Remove path from devDependencies (what was it for?)
Migrate reticle.test.js to playwright test
Migrate styleParsing.test.js to playwright test
Migrate scroll.test.js to playwright test
Migrate tabFeatureNavigation.test.js to playwright test
Migrate tms.test.js to playwright test
Migrate zoomChangeProjection.test.js to playwright test
Migrate clientTemplatedTileLayer.test.js to playwright test
Migrate mapMLLayerControl.test.js to playwright test
Migrate multipleExtents.test.js to playwright test
Migrate multipleQueryExtents.test.js to playwright test
Migrate queryLink.test.js to playwright test
Split multipleQueryExtents.test.js into multipleHeterogenousQueryExtents
to improve parallelism
Try to improve speed of drag.test.js without breaking it
Migrate customTCRS.test.js to playwright test
Migrate mapml-viewer.test.js to playwright test
Migrate viewerContextMenu.test.js to playwright test
Restore jest for unit tests, add jest execution to gh action
Tweak multipleHeterogeneousQueryExtents.test.js, which is still a bit
fragile
Restore more of jest for unit tests, fix the ci-testing invocation of it.
Migrate layers/mapMLFeatures.test.js, layers/mapMLStaticTileLayer.test.js,
layers/mapMLTemplatedFeatures.test.js, layers/mapMLTemplatedFeaturesFilter.test.js,
layers/mapMLTemplatedImageLayer.test.js, layers/mapMLTemplatedTileLayer.test.js
to playwright test, along shared tests layers/general/*.js, which are
imported into each of the above tests and executed as parameterized
tests.
Migrate step/*.test.js to playwright test
Add package-lock.json in the vain hope it will quit changing1 parent 0b800ba commit c535209
File tree
57 files changed
+6488
-5473
lines changed- .github/workflows
- test
- e2e
- core
- layers
- general
- step
- mapml-viewer
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
57 files changed
+6488
-5473
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 8 | + | |
17 | 9 | | |
18 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
0 commit comments