forked from wangziqi/gongxue-base
docs: record backend capacity review
This commit is contained in:
@@ -3265,7 +3265,7 @@ async function testLearningLeaderboard() {
|
||||
});
|
||||
const secondQuestions = secondClassScoped.items?.find(item => item.userId === SECOND_STUDENT_USER_ID);
|
||||
assert.ok(secondQuestions, 'second student class scoped leaderboard should include second student');
|
||||
assert.ok(secondQuestions?.value >= currentQuestions?.value, 'second student should rank at least as high as smoke user by questions');
|
||||
assert.ok(secondQuestions?.value >= 2, 'second student question leaderboard should include smoke-seeded answers');
|
||||
|
||||
const score = await request('/api/learning/leaderboard', {
|
||||
query: { metric: 'score', period: 'all', classId: ids.tenantClassOther, limit: 10 },
|
||||
|
||||
Reference in New Issue
Block a user