Commit graph

94 commits

Author SHA1 Message Date
Xon
d1de64e8a0 Playwright for e2e tests 2024-08-16 08:59:35 +08:00
Xon
244691576c Disable bundlesize from attempting to upload for now 2024-08-08 13:08:25 +08:00
Xon
fff5f058b9 Adjust puppeteer to wait longer & more reliable 2024-08-08 08:57:37 +08:00
Xon
0cbe0ace30 Try for puppeteer again 2024-08-08 00:58:22 +08:00
Xon
5101846f5d Update puppeteer snapshot 2024-08-07 23:12:41 +08:00
Xon
921276ed0b puppeteer's screenshot function behaves differently now 2024-08-07 21:42:24 +08:00
Xon
d51ee0e984 Attempt to fix puppeteer 2024-08-07 20:58:30 +08:00
Xon
36acb70644 Update browser test actions to supported variants 2024-08-07 20:56:13 +08:00
Xon
49b5d7fd7e Remove references to npx & update cypress workflow a little 2024-08-07 20:44:42 +08:00
Xon
f843f492e9 Attempt to fix puppeteer 2024-08-07 20:28:57 +08:00
Xon
7f3f9f676f Ensure unit tests have a fresh-build 2024-08-07 20:19:02 +08:00
Xon
1e837c473f Remove bundle size check and remove the --ignore-scripts as it breaks things 2024-08-07 20:11:52 +08:00
Xon
ec5ee238b7 Report the bundle size 2024-08-07 20:07:35 +08:00
Xon
8bf2563a0c Fix unit tests not installing dependancies for vitest properly 2024-08-07 20:07:14 +08:00
Xon
e4a27ea424 Move server.cjs to original location 2024-08-07 20:01:49 +08:00
Xon
c1f3e33fb5 Update node/actions to for unit-tests 2024-08-07 19:55:58 +08:00
Xon
ce00695a27 Restore server.js for browser tests, but cutting out webpack parts 2024-08-07 19:47:14 +08:00
Xon
ca4a64f168 package is now an es module, but scripts are still in cjs, rename for now 2024-08-07 19:34:53 +08:00
Xon
243b958767 Switch from webpack to rollup, and setup build process to make umd/cjs/es builds. Remove d.ts.map files. rollup manages to save ~1kb off the gzip'ed bunddle size 2024-08-07 16:21:17 +08:00
Xon
7742852e20 Fix screenshots part 2 2024-08-06 13:36:24 +08:00
Xon
2de7c0021c Revert "Update screenshots"
This reverts commit 7bb072b23b.
2024-08-06 13:20:12 +08:00
Xon
7bb072b23b Update screenshots 2024-08-06 13:10:36 +08:00
Xon
1ba405ba1a Pin to older version of pixelmatch for browser test compatibility 2024-08-06 11:31:17 +08:00
Xon
bbde06a163 Try to fix bundlesize 2024-08-06 10:43:26 +08:00
Xon
a59852429c Try fixing cypress tests 2024-08-06 10:40:46 +08:00
Xon
fec73360af Fix selenium/puppeteer not running 2024-08-06 10:27:27 +08:00
Matt Triff
ba27dbb533 Convert npx to npm exec 2022-11-29 10:46:06 -05:00
Matt Triff
5d17dd8531 Fix CI workflows 2022-11-28 17:11:41 -05:00
Matt Triff
d1f39c6cda Update screenshot 2022-11-28 15:51:16 -05:00
Matt Triff
bbdacdfe3b Update all CI workflows to use latest LTS (v18) 2022-11-28 14:18:14 -05:00
Matt Triff
92eabcbd4a Update all CI workflows to use latest LTS (v18) 2022-11-28 12:08:05 -05:00
Matt Triff
7c360b44b3 Update snapshots 2022-02-13 20:58:20 -05:00
Matt Triff
c21b998eaa Lint on style PRs 2022-01-13 20:16:49 -05:00
Matt Triff
770342b7e8 Split GitHub pages action, allow manual dispatch 2022-01-11 20:24:15 -05:00
Matt Triff
1b4d3553ef
Merge pull request #989 from Choices-js/update-actions
Update GitHub Actions
2021-12-30 20:45:24 -05:00
Matt Triff
c7976b7acd Add pause after resize to fix inconsistent dropdown/dropup direction behaviour 2021-12-30 20:25:33 -05:00
Matt Triff
4df199e0b9
Add checklist items for tests 2021-12-30 20:21:45 -05:00
Matt Triff
0903934848 Update GitHub Actions 2021-12-30 20:16:52 -05:00
Matt Triff
c26596e9ec Simplify linting GitHub Action 2021-12-19 18:09:41 -05:00
Matt Triff
9835eb756a Implement stylelint 2021-12-19 17:43:03 -05:00
Matt Triff
20579bad35 Use Chrome with Cypress (Electron resulted in flaky dropdown test), save Puppeteer diff image even if pixelmatch throws error, update Chrome snapshot 2021-12-18 22:36:40 -05:00
Matt Triff
977221650a Update snapshots, add Chrome to browser test, remove linting JS, bump dependencies - replace deprecated eslint-loader 2021-12-18 22:07:37 -05:00
Matt Triff
e64eface11 Update all workflows to use Node 12+ for node-sass and other module compatibility, switch IE to Edge for browser testing (IE web driver no longer pre-installed on runner) 2021-12-17 16:59:43 -05:00
Matt Triff
de6c46cdd0 Disable committing built files in GitHub Actions, conflicts with protected branch 2021-12-17 16:40:06 -05:00
Matt Triff
a1ec9d0de6 eslint 8.x requires Node 12.22.0^ 2021-12-17 16:39:16 -05:00
Matt Triff
46deb9abe5 Switch to new brew cask syntax, IE driver no longer available - switch to hardcoded path 2021-12-15 20:59:31 -05:00
Matt Triff
6b6fb17bca Update adding to path to new syntax 2021-12-15 20:37:52 -05:00
Josh Johnson
825efc6fd0
Update release drafter to latest (#800) 2019-12-23 18:33:31 +00:00
Josh Johnson
68313da412
Convert to typescript (#795)
* Typescript config setup

* Add type annotations to components

* Further type additions

* And more...

* Add types to actions

* Add types to templates

* Further type checks

* Further type additons

* Install fuse latest

* Housekeeping

* Remove old type definitions

* Fix remaning type issues

* Fix some failing tests

* Remove types workflow

* Fix failing unit tests

* Resolve back space event regression

* Convert cypress files to .ts

* Fix eslint issues

* Remove cachebusting urls

* Resolve delete button bug

* Resolve regression bugs

* Fix lint script

* Fix lint workflow

* Pass args instead of object to keyboard handlers

* Flatten misc reducer

* Resolve keyboad action test failures

* Use Pick instead of Partial

* Use interfaces in action tests

* Update firefox image

* Incorporate #791

* Incorporate #788
2019-12-23 18:22:54 +00:00
Josh Johnson
44b4326a52
Resolve #780 (#785)
* Attempt #1

* Remove console.log

* Update puppeteer screenshot
2019-12-03 12:56:47 +00:00