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
View File
@@ -102,7 +102,6 @@ test('面试、资料、进度和预习页各自只承载一类真实任务', as
assert.match(materials, /uploadCandidateMaterial/);
assert.doesNotMatch(materials, /startCandidateInterview|searchKnowledge/);
assert.match(progress, /buildCandidateFlow/);
assert.match(progress, /getCandidateInterviewRecords/);
assert.match(progress, /getCandidateMaterials/);
assert.doesNotMatch(progress, /startCandidateInterview|uploadCandidateMaterial|searchKnowledge/);
+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/);
});