test(mobile): align page assertions with current flows

This commit is contained in:
2026-07-14 02:05:41 +08:00
parent 87360a25d3
commit e25d71fe1b
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ test('五个主管页面优先显示统一无权限状态并清理私密数据',
test('指派页通过团队快照在进入时校验主管权限', () => {
assert.match(assignPageSource, /getPracticeTeamSnapshot/);
assert.match(assignPageSource, /const snapshot = await getPracticeTeamSnapshot\(\)/);
assert.match(assignPageSource, /getPracticeTeamSnapshot\(\)/);
assert.match(assignPageSource, /assignments\.value = snapshot\.assignments/);
assert.doesNotMatch(assignPageSource, /getPracticeAssignments/);
});