fix(mobile): complete SOP focus regression
This commit is contained in:
@@ -45,6 +45,7 @@ test('训练结果回到顶部,SOP 答案生成后定位到回答区', async (
|
||||
]);
|
||||
|
||||
assert.match(practiceSource, /result\.value = await finishPractice\([\s\S]*?resetPageScroll\(\)/);
|
||||
assert.match(sopSource, /import \{ resetPageScroll, scrollPageToSelector \} from '@\/services\/navigation';/);
|
||||
assert.match(sopSource, /result\.value = await searchKnowledge\(value\);\s*scrollPageToSelector\('\.answer-panel'/);
|
||||
assert.match(navigationSource, /export const scrollPageToSelector = \(selector: string/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user