Commit Graph

6 Commits

Author SHA1 Message Date
Abdullah Atta
5643525829 web: fix editor content resets on rerender
this was an annoying issue where any kind of re-render caused the editor
content to be reset.
2022-09-22 13:20:07 +05:00
Abdullah Atta
6d75476e7c web: optimize tests by ~120% (#1018)
This is mainly done via sharding, caching & reducing total work:
1. `terser` is turned off when generating test build
2. `nx` distributed cache allows reusing build outputs
3. `playwright` sharding allows running tests in parallel

This can further be improved by using `swc` & `esbuild` during build
2022-09-21 14:01:32 +05:00
Abdullah Atta
7cc8b74a7a web: add more waitFors for failing tests 2022-09-17 00:45:29 +05:00
Abdullah Atta
3880fd9053 web: increase overall test timeout to 30s 2022-09-16 09:34:40 +05:00
Abdullah Atta
6110080877 web: turn tracing on for tests & increase timeout to 20s 2022-09-16 08:27:20 +05:00
Abdullah Atta
555f848ab0 web: convert playwright config to typescript 2022-09-16 08:06:31 +05:00