修改功能

This commit is contained in:
2026-08-29 19:06:07 +08:00
parent f94c652c7c
commit aaed0584b1
142 changed files with 6176 additions and 869 deletions
+9 -11
View File
@@ -160,18 +160,13 @@ test('家谱主页以 PC 工作台分组开放已接入功能且不制造旧 APP
assert.doesNotMatch(source, /data-feature-status="pending"|pending-pages\.js/);
assert.doesNotMatch(source, /四川武胜汤氏族/);
assert.doesNotMatch(source, /href="profile-invite\.html"/);
assert.doesNotMatch(source, /href="profile-document/);
assert.match(source, /PC 暂未开放邀请/);
assert.match(source, /class="module-card is-unavailable" aria-disabled="true">\s*<span class="icon">邀<\/span>/);
assert.match(source, /重要证件/);
assert.match(source, /当前 PC 接口未提供家谱证件的列表、上传或维护能力/);
assert.match(source, /<h3>删除家谱<\/h3>/);
assert.match(source, /当前 PC 家谱契约未提供删除接口,暂不能查看或执行删除操作。/);
assert.doesNotMatch(source, /data-genealogy-delete|deleteGenealogy/);
assert.match(source, /href="profile-invite\.html"[^>]*data-family-home-management[^>]*data-genealogy-context-link/);
assert.match(source, /href="profile-documents\.html"[^>]*data-genealogy-context-link/);
assert.match(source, /href="profile-family-settings\.html"[^>]*data-family-home-management[^>]*data-genealogy-context-link/);
assert.doesNotMatch(source, /PC 暂未开放邀请|当前 PC 接口未提供家谱证件|当前 PC 家谱契约未提供删除接口/);
assert.match(source, /亲友往来(贺礼簿)/);
assert.match(source, /备忘录(家族恩人)/);
assert.match(source, /当前 PC 不区分独立分类/);
assert.match(source, /统一归入备忘录管理/);
assert.match(source, /data-family-home-title/);
assert.match(source, /data-family-home-overview/);
assert.match(source, /data-family-home-member-count/);
@@ -204,7 +199,10 @@ test('家谱主页以 PC 工作台分组开放已接入功能且不制造旧 APP
'profile-relative.html',
'profile-memo.html',
'profile-family-admin.html',
'profile-services.html'
'profile-services.html#membership'
,'profile-invite.html'
,'profile-documents.html'
,'profile-family-settings.html'
].forEach((href) => {
assert.match(
source,