fix(mobile): align sop position label
This commit is contained in:
@@ -162,6 +162,15 @@ test('员工练习页显示当前岗位而不是固定生活顾问', async () =>
|
||||
assert.doesNotMatch(source, /scenario-desc">生活顾问 · 业主服务场景/);
|
||||
});
|
||||
|
||||
test('员工问师傅页显示当前岗位而不是固定生活顾问', async () => {
|
||||
const source = await pageSource('../src/pages/user/sop/index.vue');
|
||||
|
||||
assert.match(source, /getSelectedPosition/);
|
||||
assert.match(source, /const positionLabel = ref\(getSelectedPosition\(\)\)/);
|
||||
assert.match(source, /\{\{ positionLabel \}\} · 住宅项目/);
|
||||
assert.doesNotMatch(source, /sop-context">管家(生活顾问) · 住宅项目/);
|
||||
});
|
||||
|
||||
test('训练页最近练过保留派发任务来源', async () => {
|
||||
const source = await pageSource('../src/pages/user/practice/index.vue');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user