修改功能
This commit is contained in:
@@ -167,7 +167,7 @@ test('地区搜索复用统一状态组件并区分空结果、失败和无权
|
||||
test('个人资料页不伪造亲属数据,并明确指向当前家谱的成员管理', () => {
|
||||
const source = fs.readFileSync(path.join(__dirname, '..', 'profile-data.html'), 'utf8');
|
||||
|
||||
assert.match(source, /当前 PC 资料接口未提供个人亲属关系列表/);
|
||||
assert.match(source, /个人资料页不单独维护亲属关系;请先选择家谱,再到成员管理或世系图中查看和维护/);
|
||||
assert.match(source, /href="profile-family-admin\.html"[^>]*data-genealogy-context-link/);
|
||||
assert.match(source, /api-state--empty/);
|
||||
assert.doesNotMatch(source, /张三|父亲 · 已绑定成员资料|邀请激活/);
|
||||
|
||||
Reference in New Issue
Block a user