0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00
Commit graph

97 commits

Author SHA1 Message Date
Andrey Antukh
21dd9a260c 📎 Rename common files changes test namespace 2024-09-18 12:15:12 +02:00
Andrey Antukh
7b9b5bafc1 🔥 Remove duplicated test 2024-09-18 12:15:12 +02:00
Andrey Antukh
41ebba6ce0 Add generative tests for flows and saved-grids 2024-09-18 12:15:12 +02:00
Andrey Antukh
61446592b3 Move generative test related code to a separated ns 2024-09-18 12:15:12 +02:00
Andrey Antukh
a2f466810b ♻️ Add minor refactor on set-plugin-data change 2024-09-18 12:15:12 +02:00
Andrey Antukh
1bd1782d66 ♻️ Add better reporting for generative tests 2024-09-18 12:15:12 +02:00
Andrey Antukh
4f84e77b10 Add generative tests for set-guide change 2024-09-18 12:15:12 +02:00
Andrey Antukh
fa75a3539f 📎 Rename shape decode encode test file 2024-09-18 12:15:12 +02:00
Andrey Antukh
fa12d9785a Add tests for basic obj crud change operations
Restored and adapted from already existing commented code
2024-09-18 12:15:12 +02:00
Andrey Antukh
4ad4057878 ♻️ Refactor page options data structure 2024-09-18 12:15:12 +02:00
Andrey Antukh
cacee40d11 🎉 Add proper schema encoding/decoding mechanism
this allows almost all api operations to success usin application/json
encoding with the exception of the update-file, which we need to
approach a bit differently;

the reason update-file is different, is because the operations vector
is right now defined without the context of shape type, so we are just
unable to properly parse the value to correct type using the schema
decoding mechanism
2024-08-21 11:27:36 +02:00
Andrey Antukh
5cf64c1440 Merge remote-tracking branch 'origin/staging' into develop 2024-07-31 12:46:47 +02:00
Andrés Moya
990a948bcc 🐛 Fix touched groups when detaching with nested copies 2024-07-30 14:28:37 +02:00
Pablo Alba
018464aedf ♻️ Unify move shape on workspace and relocate on layers panel 2024-06-20 16:00:39 +02:00
Andrés Moya
d039df6b73 Add tests for detach with swapped copies 2024-06-18 23:39:19 +02:00
Pablo Alba
8825e9f80b 🐛 Fix show in view mode and interactions workflow 2024-06-11 11:01:24 +02:00
Andrés Moya
9a4c45c8a3 🐛 Fix export touched attributes 2024-06-10 17:09:46 +02:00
Pablo Alba
5872bf024c Add test for remove swap slot on detach parent 2024-06-04 12:24:31 +02:00
Alejandro Alonso
47d7d24910 Add copying and duplicating component tests 2024-05-22 14:26:03 +02:00
Alejandro Alonso
614af9edc4 Add swap as override component tests 2024-05-16 13:27:06 +02:00
Andrés Moya
9c8a5484e1 🔥 Remove traces 2024-05-16 13:24:17 +02:00
Pablo Alba
385e8d837a Components refactor: Add tests for remove or keep swap slot 2024-05-16 13:23:02 +02:00
Alejandro Alonso
f27cdee5ca 🐛 Remove TODO on multiple nesting levels component tests 2024-05-16 13:22:42 +02:00
Alejandro Alonso
4b8322dc82 Refactor common tests 2024-05-16 13:22:42 +02:00
Alejandro Alonso
39c8b2ea3c Add multiple nesting levels component tests 2024-05-14 13:48:34 +02:00
Alejandro Alonso
fcf14b5cab Add duplicate page component tests 2024-05-14 13:48:34 +02:00
Andrés Moya
c16ef39abf ♻️ Make test helpers globally usable 2024-05-13 13:10:01 +02:00
Alejandro
ea20f693cb
Merge pull request #4562 from penpot/hiru-move-frontend-tests
Move more frontend tests
2024-05-10 11:04:31 +02:00
Andrés Moya
cb73ddc353 💄 Small refactor 2024-05-10 10:28:23 +02:00
Alejandro Alonso
a3e750ed0a Tests for chained components changes propagation 2024-05-10 10:25:08 +02:00
Andrés Moya
cf4ef426d7 Add tests for component sync 2024-05-10 10:17:09 +02:00
Andrés Moya
b6e633865e Add tests for component creation and modification 2024-05-09 14:49:10 +02:00
Andrés Moya
8b4e52a2be 💄 Improve copy child selection and test robustness 2024-05-09 13:33:52 +02:00
Andrés Moya
caefaf6016 Add tests for reset components 2024-05-09 13:33:52 +02:00
Pablo Alba
8deb799c3d 🐛 Fix tests for remove swap slots 2024-05-09 13:11:50 +02:00
Pablo Alba
6f93db034f 🎉 Components refactor: Add tests for remove swap slot on duplicate 2024-05-09 11:20:19 +02:00
Andrés Moya
ea6a9c87ec 🔧 Enhance debug trace helpers for common tests 2024-05-07 18:45:10 +02:00
Andrés Moya
c937d49ce9 💄 Split helpers in separated files 2024-05-07 12:51:07 +02:00
Andrés Moya
97e34d6e28 💄 Unify comments 2024-05-07 12:51:07 +02:00
Andrés Moya
b68bc9a08c Move more touched tests to common 2024-05-07 12:51:07 +02:00
Andrés Moya
0b4fbc184d ♻️ Move generate-xx methods to logic module 2024-05-06 16:48:18 +02:00
Pablo Alba
7280dfd3f7 Tests for remove swap slot on move shapes to frame 2024-05-06 16:18:43 +02:00
Pablo Alba
de6d8ccbf9 Small fix on components touched test 2024-04-30 19:23:58 +02:00
Andrés Moya
77d4901db1 Add more tests for touched 2024-04-30 14:18:55 +02:00
Andrés Moya
a40afd5b63 Add test for touched shapes 2024-04-30 13:47:40 +02:00
Pablo Alba
f354942487 ♻️ Components refactor: generator for relocate shapes (and tests) 2024-04-30 13:37:32 +02:00
Alejandro Alonso
f84cd933a8 Swap and reset generate changes tests 2024-04-30 12:49:43 +02:00
Andrés Moya
40e43fd501 ♻️ Reorganize tests by level 2024-04-26 12:44:49 +02:00
Andrés Moya
ff4e27a1d5 Add composition helpers 2024-04-26 12:44:49 +02:00
Andrés Moya
dde89e60dd Add new helper functions for common tests 2024-04-26 11:45:37 +02:00