Tim Schaub
2e6dd3b251
Run tests as a GitHub CI workflow
2020-05-16 23:37:25 -06:00
Tim Schaub
4d9975754f
Mapbox vector layer
2020-05-03 16:07:27 -06:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Tim Schaub
4a37483294
Rendering test instructions
2019-09-25 09:26:03 +02:00
Tim Schaub
773ae437e4
Small tolerance by default
2019-09-23 16:48:22 +02:00
Tim Schaub
295c720645
Update to work with globby@10
...
With the globby v10 release, the shape of the file info object changed when requesting stats.
See https://github.com/mrmlnc/fast-glob#stats for details.
2019-09-23 15:34:24 +02:00
ahocevar
c0a2549285
Try to make rendering tests run again in puppeteer
2019-06-24 10:20:47 +02:00
ahocevar
3d2711d35e
Add missing arg type
2019-03-24 21:24:30 +01:00
ahocevar
be17bfe85a
Avoid render test issues by not running Puppeteer in headless mode
2019-02-18 23:54:20 +01:00
Olivier Guyot
8e4c66a49e
Regenerate new test renders & remove the --ignore-gpu-blacklist flag
2018-12-07 09:09:19 +01:00
Tim Schaub
c6be2c7ff5
Merge pull request #8977 from jahow/add-webgl-rendering-tests
...
Add WebGL rendering tests & improve the WebGLHelper API
2018-11-20 03:59:06 -08:00
Olivier Guyot
662d9122f5
Use --ignore-gpu-blacklist to fix Webgl rendering in CircleCI
2018-11-20 11:52:32 +01:00
Tim Schaub
898c349fbf
Stacking contexts for layers, overlays, and controls
2018-11-19 11:00:33 -07:00
Tim Schaub
b3bcf7dac1
Add 2% tolerance to vector rendering tests
2018-11-16 14:57:17 +01:00
Frederic Junod
63b04210ab
Allow tolerance to be passed to the render function
2018-11-15 12:51:15 +01:00
Frederic Junod
f295a97894
Rendering tests render message
2018-11-14 21:37:45 +01:00
Tim Schaub
c74d80504e
Serve sourcemaps from webpack
2018-11-14 15:51:56 +01:00
Tim Schaub
a9b2952be4
Add support for running a subset of rendering tests
2018-11-12 14:54:52 +01:00
Tim Schaub
767aa7b7a4
Add support for a default index page
2018-11-10 12:44:31 -07:00
Tim Schaub
7dc5bf3e8d
Limit requests sent to webpack middleware
2018-11-10 09:35:32 -07:00
Tim Schaub
14d59623aa
Expose headless flag
2018-11-10 08:18:41 -07:00
Tim Schaub
67b08a302e
Use configured logger
2018-11-10 08:16:56 -07:00
Tim Schaub
6f238a8d09
Add stub support for interactive mode
2018-11-09 15:06:27 -07:00
Tim Schaub
800776b6cb
Only test outdated cases by default
2018-11-09 14:43:11 -07:00
Tim Schaub
4923fac359
Avoid 404 for favicon.ico
2018-11-09 13:45:19 -07:00
Tim Schaub
8c89e17618
Avoid headless mode in CI
2018-11-09 12:41:48 -07:00
Tim Schaub
1253558006
Register new handler for render with each page navigation
2018-11-09 09:02:08 -07:00
Tim Schaub
67ee32fdea
New rendering tests
2018-11-09 09:02:08 -07:00