test(mobile): align page assertions with current flows
This commit is contained in:
@@ -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/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user