Commit Graph

1792 Commits

Author SHA1 Message Date
shelly_goldblit
13336bf2af fix failing build 2023-12-31 20:49:09 +02:00
shelly_goldblit
e74382d260 fix build 2023-12-31 20:48:13 +02:00
shelly_goldblit
fa2dfa7480 remove left overs 2023-12-31 20:47:10 +02:00
shelly_goldblit
2213e74e2a I think all tests should be green now 2023-12-31 20:41:17 +02:00
ShellyDCMS
a94ee550f8 update test utils version 2023-12-31 16:57:42 +00:00
shelly_goldblit
0ed6bb518f fix more tests 2023-12-31 18:53:46 +02:00
shelly_goldblit
c5a7005a3d lint 2023-12-31 17:53:20 +02:00
shelly_goldblit
055d35f4b8 fix more tests 2023-12-31 17:47:27 +02:00
shelly_goldblit
d4d37e5930 lint i guess 2023-12-31 17:39:07 +02:00
shelly_goldblit
b20c54d417 move then into driver 2023-12-31 17:34:48 +02:00
ShellyDCMS
f7f6df70b2 update test utils version 2023-12-31 14:39:57 +00:00
shelly_goldblit
20c121d17a lint 2023-12-31 16:26:34 +02:00
shelly_goldblit
27190f683b restore lock file 2023-12-31 16:18:02 +02:00
shelly_goldblit
b4e31cc031 fix test 2023-12-31 16:17:05 +02:00
shelly_goldblit
26bf99d91a fix build 2023-12-31 13:45:34 +02:00
shelly_goldblit
f5ab97d3a7 fix failing tests 2023-12-31 13:43:39 +02:00
shelly_goldblit
6aa48d66a2 fix some more tests 2023-12-31 12:05:50 +02:00
shelly_goldblit
ff547fc3f7 fix some more tests 2023-12-31 11:55:03 +02:00
shelly_goldblit
138f685293 fix more tests 2023-12-31 11:42:47 +02:00
shelly_goldblit
aa8cb8f3d3 fix some more tests 2023-12-31 11:40:40 +02:00
shelly_goldblit
c694237703 fix some more tests 2023-12-31 11:31:31 +02:00
shelly_goldblit
ba201935a8 fix failing test 2023-12-31 11:08:06 +02:00
HarelM
79b36efbdb Fix lint 2023-12-31 09:25:30 +02:00
HarelM
fb41a59bd8 Update package lock after cache npm clean 2023-12-31 09:21:47 +02:00
HarelM
7538e02e47 Try fixing build again... remove cache 2023-12-31 09:21:26 +02:00
HarelM
d031fc67f5 Fix build 2023-12-31 09:12:43 +02:00
HarelM
7de266ca43 Attemopt to fix package-lock 2023-12-31 09:09:54 +02:00
ShellyDCMS
ecfdd5f1ba update lock file 2023-12-31 04:18:50 +00:00
shelly_goldblit
0bb0ae87af wip 2023-12-31 06:11:35 +02:00
shelly_goldblit
7c8b25e82c restore lock file 2023-12-31 06:11:04 +02:00
shelly_goldblit
666bc648d8 wip 2023-12-30 21:17:35 +02:00
shelly_goldblit
f7a945abce wip 2023-12-30 20:36:49 +02:00
shelly_goldblit
085eda76a1 convert more tests 2023-12-30 18:48:17 +02:00
ShellyDCMS
0dc3f4bf5d fix lock file 2023-12-30 16:41:53 +00:00
shelly_goldblit
efc507aecd fix failing test 2023-12-30 18:36:27 +02:00
shelly_goldblit
ef902910c8 update keyboard tests 2023-12-30 18:32:19 +02:00
shelly_goldblit
6ed08c7416 modify some of the layer tests 2023-12-30 18:26:50 +02:00
shelly_goldblit
9014e12ca6 improve drivers 2023-12-30 11:49:03 +02:00
Harel M
124ae98bf3 E2E: Improve tests, lint, and add more drivers (#855)
This PR introduces lint to cypress code, adds drivers to try and
abstract the usage of cypress as much as possible.
Nothing very interesting, mainly to try out the driver pattern for the
e2e tests.
2023-12-27 20:58:24 +02:00
Harel M
b784bf2b84 Improve tests (#854)
Recover commented out tests, 
Improve usage of helper in driver, 
Added data-wd-key for test to use instead of classes
Moved all non tsx file to a single folder (lib) instead of lib and utils

---------

Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
2023-12-27 10:19:59 +02:00
Max
09a1f3f87b Use nginx to serve built files (#808)
Resolves #842
Better suited than python + handles sigterm better

Co-authored-by: Harel M <harel.mazor@gmail.com>
2023-12-26 23:28:17 +02:00
Harel M
a22476cab2 Add lint to CI and fix errors (#853)
Adds lint to CI and fixes errors.
I'm not sure I'm fully proud of all the solutions there.
But there's no lint issues and the lint is being checked as part of the
CI.

---------

Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
2023-12-26 23:13:22 +02:00
ShellyDCMS
a324ddb654 add code coverage (#852)
Add Cypress code coverage using Istanbul nyc

![image](https://github.com/maputnik/editor/assets/60476837/e7c364b7-7b54-4bf1-85aa-ee6fb19cc40c)

---------

Co-authored-by: shelly_goldblit <shelly_goldblit@dell.com>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2023-12-26 12:04:43 +02:00
Harel M
656264f2bc Migration of jsx files to tsx 3 (#851)
This is in continue to:
- #850
- #848

The last files should be converted as part of this PR, there are only a
handful left.
2023-12-25 15:48:46 +02:00
Harel M
974dd7bfd9 Migration of jsx files to tsx 2 (#850)
This is to continue the work of migrating all the jsx files into tsx
files.
The MO is basically described here: #848.

About 7 files to go...
2023-12-22 23:32:25 +02:00
Harel M
fa182e66fa Migration of jsx files to tsx 1 (#848)
In this PR I have changed some of the jsx files to tsx file.
I'm starting off with the "leafs" so that migration of the rest will be
easier, hopefully.

What I'm basically doing is taking a jsx file, copy paste it into:
https://mskelton.dev/ratchet

And after that I'm fixing the types as needed.
It's not a very long process.

Hopefully more PRs will follow and this will be over soon.
I don't plan to migrate the storybook as I generally don't understand
why is it useful, I'll open an issue to see if anyone thinks
differently.
2023-12-21 23:46:56 +02:00
Harel M
3bf0e510e6 Migrate all the non react components code to typescript (#847)
This completes the migration to typescript of all the non react
components code.
The only changes introduced besides types are the type checks using
`"something" in object` which narrows down types in typescript.
2023-12-21 00:07:53 +02:00
Harel M
e8d07fa694 Initial migration to typescript (#845)
This migrates some utilities classes from javascript to typescript.
Nothing special about the migration, mainly added types and made sure
the code adheres to the strict mode.

I have picked some small files so git doesn't think they are the same
since they are "very different".
I hope that in later PRs, when migrating lager files this won't be an
issues.
2023-12-20 22:56:33 +02:00
Harel M
4d1e2e6893 Refactor driver for E2E (#843)
This is basically the content of #841 with the code review changes and
relevant fixes to tests/driver code to pass the tests.
CC: @ShellyDCMS

After this we should lint the project and add the lint to the CI to make
sure it doesn't break.

---------

Co-authored-by: ShellyDCMS <60476837+ShellyDCMS@users.noreply.github.com>
Co-authored-by: shelly_goldblit <shelly_goldblit@dell.com>
2023-12-20 16:34:46 +02:00
Harel M
f219ff1e17 Fix favicon (#844)
This PR fixes the missing facicon.
As part of the migration to vite, this issue was introduced.
- #836
2023-12-20 07:18:13 +02:00