Files
payload/test/helpers
Jacob Fletcher 8166784ba2 test: blocks field helpers (#11259)
Similar to the goals of #11026. Adds helper utilities to make
interacting with the blocks field easier within e2e tests. This will
also standardize common functionality across tests and reduce the
overall lines of code for each, making them easier to navigate and
digest.

The following helpers are now available:

- `openBlocksDrawer`: self-explanatory
- `addBlock`: opens the blocks drawer and selects the given block
- `reorderBlocks`: similar to `reorderColumn`, moves blocks using the
drag handle
- `removeAllBlocks`: iterates all rows of a given blocks field and
removes them
2025-02-18 15:48:57 -05:00
..
2025-02-18 15:48:57 -05:00
2024-03-07 15:40:39 -05:00
2024-08-13 12:54:33 -04:00
2024-04-01 17:46:42 -04:00
2024-11-11 13:59:05 -05:00
2024-08-13 12:54:33 -04:00