skillhub/web/e2e
FenjuFu 4fdc7e3dc5
Some checks are pending
Deploy Docs / build (push) Waiting to run
Deploy Docs / Deploy (push) Blocked by required conditions
Security / Dependency Review (push) Waiting to run
Security / CodeQL (java-kotlin) (push) Waiting to run
Security / CodeQL (javascript-typescript) (push) Waiting to run
Security / CodeQL (python) (push) Waiting to run
fix(publish): delete review tasks of any status when replacing a version (#601)
* fix(publish): delete review tasks of any status when replacing a version

Re-uploading a rejected version under the same version number returned
HTTP 500. deleteReplaceableVersionArtifacts only removed a PENDING review
task, but a rejected version owns a REJECTED one; that row kept a foreign
key on the skill_version, so the subsequent delete hit a constraint
violation that surfaced as a 500.

Delete every review task attached to the version instead.

Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>

* test(publish): drop the spring-test dependency from the new test

skillhub-domain has no spring-test on its test classpath, so
ReflectionTestUtils does not resolve there. Use plain JDK reflection for
setting the generated id and invoking the private method.

Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>

* fix(publish): constrain rejected version replacement

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>

* test(publish): verify replaced review is deleted

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>

* test(e2e): use generated API response types

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>

---------

Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
Co-authored-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
2026-07-28 13:57:35 +08:00
..
fixtures test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
helpers fix(publish): delete review tasks of any status when replacing a version (#601) 2026-07-28 13:57:35 +08:00
admin-users-userid-column.spec.ts fix(admin): improve accessibility and E2E test precision 2026-05-18 17:25:21 +08:00
auth-entry.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
batch-import-members.spec.ts test(namespace): add batch import members E2E tests 2026-04-22 16:36:18 +08:00
cli-auth.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
dashboard-personal-modules.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
dashboard-routes.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
dashboard-shell.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
landing-navigation.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
landing-quick-start-cli.spec.ts feat(web): add CLI install tab on landing quick start 2026-05-12 11:05:02 +08:00
my-namespaces-data.spec.ts fix(namespace): support team namespace deletion 2026-05-08 10:15:17 +08:00
my-skills-data.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
my-skills-navigation.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
my-skills-update-prefill.spec.ts feat(dashboard): add Update button to My Skills with publish prefill 2026-04-22 14:59:01 +08:00
namespace-members-data.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
namespace-page-data.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
namespace-review-detail-access.spec.ts test(review): stabilize namespace review e2e setup 2026-04-14 09:29:18 +08:00
namespace-reviews-data.spec.ts test(review): stabilize namespace review e2e setup 2026-04-14 09:29:18 +08:00
namespace-search.spec.ts test(web): add namespace search-only regression 2026-06-10 19:48:16 +08:00
namespace-skill-pagination.spec.ts test(namespace): fully mock search api in pagination e2e test 2026-04-27 11:42:43 +08:00
password-reset.spec.ts feat(auth): 邮箱验证码重置密码与 SMTP 配置支持 (#273) 2026-04-13 20:27:00 +08:00
promotions-review.spec.ts feat(promotion): improve promotion review dashboard 2026-06-24 09:28:43 +08:00
protected-routes.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
public-pages.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
public-skill-detail-anonymous.spec.ts fix(security): harden review findings 2026-06-12 14:40:30 +08:00
publish-flow-ui.spec.ts test(e2e): harden namespace selection for publish flows 2026-04-14 16:16:08 +08:00
register-email-required.spec.ts feat(auth): 邮箱验证码重置密码与 SMTP 配置支持 (#273) 2026-04-13 20:27:00 +08:00
register-login-validation.spec.ts feat(auth): 邮箱验证码重置密码与 SMTP 配置支持 (#273) 2026-04-13 20:27:00 +08:00
rejected-version-republish.spec.ts fix(publish): delete review tasks of any status when replacing a version (#601) 2026-07-28 13:57:35 +08:00
reviews-pagination.spec.ts fix(notification): ISSUE-51 add profile review notifications 2026-06-16 10:33:02 +08:00
role-access-control.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
route-guard.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
search-card-interaction.spec.ts test(e2e): stabilize publish and search waits 2026-04-14 13:55:33 +08:00
search-flow.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
search-page-full.spec.ts fix(search): preserve empty-query discovery results 2026-04-23 16:24:23 +08:00
settings-pages.spec.ts test(web): ISSUE-61 cover security settings real requests 2026-06-22 17:22:19 +08:00
settings-routing.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
settings-security-capability.spec.ts test(web): ISSUE-61 cover security settings real requests 2026-06-22 17:22:19 +08:00
skill-detail-browse.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
skill-detail-relative-links.spec.ts fix(frontend): support nested preview links 2026-06-24 16:51:42 +08:00
skill-subscription.spec.ts fix(security): harden review findings 2026-06-12 14:40:30 +08:00
skill-version-compare.spec.ts fix(security): harden review findings 2026-06-12 14:40:30 +08:00
tokens.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00
user-id-display.spec.ts feat(ui): display user ID on dashboard and profile settings pages 2026-04-27 14:54:39 +08:00
workspace-pages.spec.ts test(e2e,ci): migrate web e2e to real API and add PR e2e workflow (#198) 2026-04-01 14:41:23 +08:00