169 Commits

Author SHA1 Message Date
Joaquín Sánchez
f9d9b3bef6
fix(browser): browser actions icons colors (#5816) 2024-06-02 02:12:50 +02:00
Vladimir
718512d80e
feat(browser): support changing the viewport (#5811) 2024-06-01 21:58:38 +02:00
Vladimir
e5b9a0be42
feat(browser): do not reload the page during watch mode (#5810) 2024-06-01 14:41:12 +02:00
Vladimir
3796dd7e0f
feat: add browser frame to UI (#5808) 2024-06-01 13:33:00 +02:00
Vladimir
7900f9f89c
feat(ui): render tests in a tree (#5807) 2024-05-31 21:33:31 +02:00
Vladimir
48c502fbeb
fix(ui): show correct module graph and project name in a Vitest workspace (#5792) 2024-05-31 12:43:35 +02:00
Vladimir
e20538a36e
feat: add blob reporter (#5663) 2024-05-14 18:57:08 +02:00
Vladimir
7adb8e8cf1
chore: rewrite UI tests using @vitest/browser (#5707) 2024-05-14 12:26:08 +02:00
Hiroshi Ogawa
ab60bf8dff
fix(ui): escape html in error diff (#5325) 2024-03-04 21:02:36 +01:00
Gergő Takács
7f59a1b858
feat(ui): show unhandled errors on the ui (#4380)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-01-12 16:06:35 +01:00
Hiroshi Ogawa
f43fdd872a
fix(ui): show file item when search filter matches only test cases (#4736) 2023-12-19 12:36:26 +01:00
Hiroshi Ogawa
e0dde6ab42
fix(ui): escape html for console log view (#4724) 2023-12-18 14:21:25 +01:00
Vladimir
cc19117d30
chore: migrate to flat eslint config (#4472) 2023-11-11 08:07:39 +01:00
Vladimir
9527e65a38
chore: improve build time and memory usage (#4369) 2023-10-25 11:19:49 +02:00
Vladimir
a1aadd713c
feat(vitest): run typecheck during tests (#4324) 2023-10-19 11:21:51 +02:00
Ray
8c3152fac9
fix(ui): correctly render ansi diff (#3810)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-09-18 17:22:33 +02:00
Vladimir
8b39c11765
fix(vitest): show error when calling API on files that user has no access to (#4085) 2023-09-08 13:31:52 +03:00
Vladimir
bcb41e514f
fix: restrict access to file system via API (#3956) 2023-08-15 17:05:50 +02:00
Anjorin Damilare
a77afffa83
chore(ui): update UI vue version (#3575)
Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-07-11 09:45:51 +02:00
GurkiranSingh
056aa4fa6f chore: added a new line and changed v-show to v-if
Signed-off-by: GurkiranSingh <gurkiransinghk@gmail.com>
2023-07-11 09:32:41 +02:00
GurkiranSingh
3d2cb6ec5f chore: add previous logic as it was used for optimization, also add class prop conditionally
Signed-off-by: GurkiranSingh <gurkiransinghk@gmail.com>
2023-07-11 09:32:41 +02:00
GurkiranSingh
3b5f96bc29 fix: Module Graph view is blocking the Console view
Signed-off-by: GurkiranSingh <gurkiransinghk@gmail.com>
2023-07-11 09:32:41 +02:00
Vladimir
9c7ea3820f
fix: revert concordance diff, use jest's diff output (#3582) 2023-06-16 11:21:59 +02:00
Joaquín Sánchez
bc283ae3cb
fix(ui): navigate to dashboard when re-running tests from coverage page (#3529) 2023-06-07 09:47:09 +02:00
Joaquín Sánchez
e24cd9b2cc
feat(ui): add html coverage (#3071)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-05-03 11:23:44 +02:00
renovate[bot]
0f86ff9897
chore(deps): update all non-major dependencies (#2766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 16:53:03 +02:00
Vladimir
446308da9d
feat!: use "concordance" package to display diff instead of using custom diff (#2828) 2023-03-29 14:16:52 +02:00
yoho
4ea1f1d974
test: ui e2e (#2710)
* feat: ui test

* test: ui

* feat: no auto open browser

* fix: lint

* fix: test timeout

* fix: timeout

* fix: test

* fix: wait more times

* fix: kill

* fix: exit process

* fix: kill

* chore: update

* chore: update

* chore: update

* fix: lint

* fix: await page load

* chore: update

* fix: test

* fix: test

* fix: test

* feat: must had content

* chore: update

* chore: update

* chore: update

* fix: times

* fix: ports

* chore: update config

* fix: catch

* feat: asset command no error

* feat: log the command stdout

* fix: error

* chore: update

* chore: use the same port

* chore: update pnpm

* fix: error

* chore: update

* feat: test

* chore: update page register

* chore: ignore not close process

* fix: params

* fix: port

* feat: pipe

* feat: catch error

* feat: test report

* chore: update

* chore: update

* chore: update sna

* test: ui

* chore: update

* chore: update

* test: untilUpdated

* chore: untilUpdated

* test: format named

* test: url should update

* chore: update

* chore: fix lockfile

* chore: upate snapshot

---------

Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-02-11 21:16:23 +01:00
Vladimir
482b72fc5f
feat!: move test runner into a separate package (#2721)
Closes https://github.com/vitest-dev/vitest/issues/1470
2023-01-23 10:14:50 +01:00
Vladimir
e641a110d0
feat!: deprecate "error" on result, store errors in "errors" (#2586) 2023-01-01 16:10:17 +01:00
Adrien Baron
ef77dccf05
fix(api): make api parse error stacks and return sourcePos in onTaskUpdate (#2563)
* fix(api): make api parse error stacks on onTaskUpdate

* chore(node): remove all references to sourcePos

* chore(node): remove Position type
2022-12-28 09:53:57 +01:00
yoho
b8f34eb8ca
feat: add html reporter based on Vitest UI (#2444)
* feat: vitest html report

* chore: copy ui to vitest dist

* feat: report copy ui dist

* feat: ui report version builder

* fix: copy file

* chore: remove

* feat: html metadata path

* feat: add declare

* feat: static file client

* feat: mock rpc

* fix: mock error

* chore: update meta

* chore: compress json

* chore: comment

* chore: update merge config

* chore: lock

* feat: remove all control command from ui

* chore: remove

* feat: report command

* feat: version tag

* chore: reset lock file

* feat: remove hooks

* chore: update

* fix: runningPromise

* chore: update debug mode and disable click on transform

* docs: report

* chore: remove the version mark

* feat: report

* fix: lint

* chore: copy ui from @vitest/ui

* chore: export report from ui

* chore: update

* fix: lint

* docs: ui html report

* feat: ensurePackageInstalled

* update

* feat: more info

* chore: improve documentation and tests

* chore: fix UI bundle size

* chore: ui tests

* perf: remove output report using the global variable to judge report mode

* chore: update

* fix: build

* fix: report

* fix: parse

* chore: fix html reporters test

* chore: don't store config in html reporter test

* chore: update ui docs

* feat: log

* chore: fix tests

* test: fix html reporter tests

* docs add vitest fo UI reporter

Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2022-12-19 13:23:22 +03:00
yoho
f02c982865
fix: expected reversed with actual (#2460) 2022-12-08 10:07:36 +01:00
yoho
81ba052c4c
chore: crlf to lf (#2449) 2022-12-07 10:57:17 +01:00
scarf
8595c0e5fd
feat(ui): show diff in report panel (fix #2406) (#2423)
* feat(ui): show diff on report panel

* refactor: add better type guard

* refactor: move diff to utils

* chore: move utils to ui package

Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-12-05 20:03:20 +01:00
Gurkiran Singh
8920aa4565
fix: copy-pasting from module graph browser (#2321)
* fix: copy-pasting from module graph browser

Signed-off-by: GurkiranSingh <gurkiransinghk@gmail.com>

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

Signed-off-by: GurkiranSingh <gurkiransinghk@gmail.com>
2022-12-05 18:41:44 +01:00
Anjorin Damilare
17ba76b8d1
docs: update cli docs (#2159) 2022-10-19 12:29:32 +02:00
webfansplz
a6618c1173
feat(ui): add tests summary in the dashboard (#2133)
Co-authored-by: userquin <userquin@gmail.com>
2022-10-14 11:29:48 +02:00
Vladimir
b237e64b9a
test: fix cypress tests by deduping vue (#2036)
* test: fix cypress tests by deduping vue

* chore: add vue dependency to mocks

* chore: cleanup
2022-09-13 11:13:21 +03:00
Bartosz Golebiowski
9fe28a49c7
fix(ui): display correct line and column for web UI (#1972)
Co-authored-by: golebiowskib <bartosz.golebiowski@@ttpsc.pl>
2022-09-05 11:13:17 +03:00
Maxime Péloquin
7b0e4c94b2
fix(ui): do not load graph if never displayed (fix #1602) (#1719) 2022-07-26 11:30:00 +08:00
Vladimir Sheremet
d8327b340c test: fix cy tests failing 2022-06-10 11:09:49 +03:00
Anthony Fu
6933c90d21 chore: lint 2022-05-27 13:26:49 +08:00
Anthony Fu
cc17448c74 chore: migrate faker 2022-05-24 17:39:07 +08:00
Anthony Fu
657225563d chore: lint 2022-05-03 09:28:45 +08:00
Anthony Fu
713c870a55 chore: lint 2022-04-25 19:44:30 +08:00
Joaquín Sánchez
571b94b31d
feat(ui): add the draft state * on code editor (#1131) 2022-04-21 22:25:53 +08:00
Vladimir
065fe0edeb
test: fix timers resetting in tests (#1177)
* test: fix timers resetting in tests

* chore: don't format json files
2022-04-21 22:02:56 +08:00
Jess
e6fd661b3d
chore: cleaning up test for ViewReport.cy.tsx (#1123) 2022-04-10 14:10:09 +08:00
Joaquín Sánchez
b737476470
feat(ui): fix file error + add colored support (#1108) 2022-04-08 02:23:16 +08:00