Commit Graph

22 Commits (d0cd8217be47307449d3a176b240cbb6e410c8b9)

Author SHA1 Message Date
Isaiah Odhner cce6396d00 Document hacky \\\\\\\\ 2019-11-05 07:17:17 -05:00
Isaiah Odhner 9a143821e5 Set up cypress service
(along with CYPRESS_RECORD_KEY in Travis CI settings)
2019-11-04 23:38:25 -05:00
Isaiah Odhner eedf42506c \\\\\\\\
On Linux (Travis CI) this should evaluate as a backslash, at least. (please.)
On Windows this will evaluate as two backslashes, but that should be fine since it's in a regexp character class.
:((((
2019-11-04 22:22:50 -05:00
Isaiah Odhner 1685a060af Use cypress for visual testing
- Ditch Casper.js / PhantomCSS
- Set up Cypress and cypress-image-snapshot
- Implement visual tests covering most of the same ground as what I had before (and more), but with some caveats
- Some tests are flaky right now due to resource loading, and some have areas blotched out in order to not depend on resource loading
- TODO: set up continuous integration, add more tests, etc.
2019-11-04 20:51:39 -05:00
Isaiah Odhner 4fad173c2f Swap out HTTP server and parallel runner for tests
- Swap `http-server` for `serve` to fix an issue https://github.com/http-party/http-server/issues/525 (could downgrade instead alternatively)
- Swap `parallelshell` for `npm-run-all` to fix an issue https://github.com/darkguy2008/parallelshell/issues/69 (could downgrade instead alternatively)
- Switch from firefox (slimerjs) to the default (phantomjs) because my version of firefox is too new now
- This gets tests running, sorta, but not working.
2019-11-03 13:18:00 -05:00
Isaiah Odhner e375d7190d Update other deps 2019-09-21 12:54:01 -04:00
Isaiah Odhner 71887dff92 Update Electron + Electron Forge and fix clipboard support
Fix clipboard support by updating Electron to a version that supports the Async Clipboard API with images, and remove the old code that was specifically for electron!
2019-09-21 12:37:12 -04:00
Isaiah Odhner 09ff712a5f Set up eslint 2019-09-17 16:32:12 -04:00
Isaiah Odhner 111915080b Update dependencies 2019-04-16 09:54:29 -04:00
Isaiah Odhner 211fb90a99 Implement centered wallpaper 2018-11-16 15:34:13 -05:00
Isaiah Odhner 2217b840a8 Add script for debug 2018-08-25 10:30:39 -04:00
Isaiah Odhner 2cd8b93c98 Exclude electron-debug from production 2018-08-24 22:28:06 -04:00
Isaiah Odhner e7267b9075 Set up electron-debug and devtron 2018-08-24 00:15:21 -04:00
Isaiah Odhner 198427accb Add Electron Forge 2018-08-23 21:59:00 -04:00
Isaiah Odhner 6f85eb8d53 Remove NW.js 2018-08-23 21:58:59 -04:00
Isaiah Odhner 3b06cb91ce HTTPS all the way!
Closes https://github.com/1j01/jspaint/issues/108
2018-05-05 12:33:45 -04:00
Isaiah Odhner 087c3a7fd1 Add live-server as a dev dependency 2018-01-15 17:09:55 -05:00
Isaiah Odhner b736695741 Update dependencies 2018-01-13 00:40:53 -05:00
Isaiah Odhner 66b2ec7700 Better PhantomCSS testing 2017-02-04 15:29:39 -05:00
Isaiah Odhner fbe872ebe0 Finicky PhantomCSS testing
slimerjs has to be installed globally, a dev server has to be running, I
had to update some slimerjs script to use cross-spawn and there's a
bunch of unnecessary stuff in here

most importantly, it doesn't always click things
2017-01-12 00:08:59 -05:00
Isaiah Odhner e906d66917 Help Topics 2015-10-13 14:56:42 -04:00
Isaiah Odhner 5984972bb7 nw.js desktop app
TODO: file saving!
2015-04-05 13:10:02 -04:00