1
This commit is contained in:
@@ -708,6 +708,7 @@ beforeEach(() => {
|
||||
themeMode: 'tide',
|
||||
playableNpcCount: 1,
|
||||
landmarkCount: 1,
|
||||
likeCount: 0,
|
||||
},
|
||||
entries: [],
|
||||
});
|
||||
@@ -1449,6 +1450,7 @@ test('clicking a public work while logged out routes through requireAuth', async
|
||||
authorDisplayName: '潮汐作者',
|
||||
playableNpcCount: 3,
|
||||
landmarkCount: 4,
|
||||
likeCount: 0,
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -1543,6 +1545,7 @@ test('creation hub clears all private work shelves immediately after logout stat
|
||||
updatedAt: '2026-04-25T10:10:00.000Z',
|
||||
publishedAt: null,
|
||||
playCount: 0,
|
||||
likeCount: 0,
|
||||
publishReady: false,
|
||||
},
|
||||
],
|
||||
@@ -1583,6 +1586,7 @@ test('published puzzle works appear on home and category public shelves', async
|
||||
updatedAt: '2026-04-25T09:00:00.000Z',
|
||||
publishedAt: '2026-04-25T09:00:00.000Z',
|
||||
playCount: 3,
|
||||
likeCount: 0,
|
||||
publishReady: true,
|
||||
} satisfies PuzzleWorkSummary;
|
||||
|
||||
@@ -1666,6 +1670,7 @@ test('published puzzle detail returns to the source platform tab', async () => {
|
||||
updatedAt: '2026-04-25T09:00:00.000Z',
|
||||
publishedAt: '2026-04-25T09:00:00.000Z',
|
||||
playCount: 3,
|
||||
likeCount: 0,
|
||||
publishReady: true,
|
||||
} satisfies PuzzleWorkSummary;
|
||||
|
||||
@@ -1921,6 +1926,7 @@ test('puzzle draft card restores the bound agent session and opens the result vi
|
||||
updatedAt: '2026-04-22T12:10:00.000Z',
|
||||
publishedAt: null,
|
||||
playCount: 0,
|
||||
likeCount: 0,
|
||||
publishReady: false,
|
||||
},
|
||||
],
|
||||
@@ -1967,6 +1973,7 @@ test('published puzzle work card restores its source session for editing', async
|
||||
updatedAt: '2026-04-25T12:10:00.000Z',
|
||||
publishedAt: '2026-04-25T12:10:00.000Z',
|
||||
playCount: 8,
|
||||
likeCount: 0,
|
||||
publishReady: true,
|
||||
},
|
||||
],
|
||||
@@ -2007,6 +2014,7 @@ test('public code search opens a published puzzle by PZ code', async () => {
|
||||
updatedAt: '2026-04-25T12:10:00.000Z',
|
||||
publishedAt: '2026-04-25T12:10:00.000Z',
|
||||
playCount: 8,
|
||||
likeCount: 0,
|
||||
publishReady: true,
|
||||
};
|
||||
|
||||
@@ -3185,6 +3193,7 @@ test('creation hub published work can open detail view before deleting from deta
|
||||
themeMode: 'tide' as const,
|
||||
playableNpcCount: 0,
|
||||
landmarkCount: 0,
|
||||
likeCount: 0,
|
||||
};
|
||||
|
||||
vi.mocked(listRpgCreationWorks)
|
||||
@@ -3272,6 +3281,7 @@ test('creation hub published work enters existing detail view', async () => {
|
||||
themeMode: 'tide',
|
||||
playableNpcCount: 3,
|
||||
landmarkCount: 4,
|
||||
likeCount: 0,
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -3345,6 +3355,7 @@ test('creation hub published work experience button enters world directly', asyn
|
||||
themeMode: 'tide',
|
||||
playableNpcCount: 3,
|
||||
landmarkCount: 4,
|
||||
likeCount: 0,
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -3421,6 +3432,7 @@ test('creation hub published work delete button removes the work directly from c
|
||||
themeMode: 'tide' as const,
|
||||
playableNpcCount: 0,
|
||||
landmarkCount: 0,
|
||||
likeCount: 0,
|
||||
};
|
||||
|
||||
vi.mocked(listRpgCreationWorks)
|
||||
|
||||
Reference in New Issue
Block a user