test(mobile): align page assertions with current flows
This commit is contained in:
@@ -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/);
|
||||
|
||||
@@ -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