Files
openmotion/packages/design-system/workbench
Dery Ferdika 23adb2361b test(design): skip the workbench symlink case when the host cannot create links (#748)
Creating a symbolic link needs Developer Mode or elevation on Windows, so
npm run design:test failed in its own setup on such a host (EPERM at the symlink
call) and reported a product failure for a correctly implemented guard. The
design-system README told contributors to run the command with no platform
caveat, while CI only runs it on Ubuntu, so the false negative never surfaced
there either.

The case now reports a skip with the reason on EPERM/EACCES/UNKNOWN and keeps
every assertion wherever a link can be created, so macOS, Linux and CI still
prove that a symlinked output cannot redirect or partially commit a save. The
README states the platform requirement and points reviewers at a host that can
create the link.

Validation:
- npm run design:test
  (Windows: 8 pass, 0 fail, 1 skipped with "symlink unavailable on this host
  (EPERM)"; the symlink guard itself is unchanged)
2026-11-23 11:21:19 +08:00
..