fix: refine profile shortcuts and puzzle next button
This commit is contained in:
@@ -2412,6 +2412,21 @@ test('mobile profile page matches the reference layout sections', async () => {
|
||||
.querySelector('.platform-profile-shortcut-grid')
|
||||
?.classList.contains('platform-profile-shortcut-grid'),
|
||||
).toBe(true);
|
||||
expect(
|
||||
shortcutRegion
|
||||
.querySelector('.platform-profile-shortcut-grid')
|
||||
?.className,
|
||||
).toContain('!grid-cols-4');
|
||||
expect(
|
||||
shortcutRegion
|
||||
.querySelector('.platform-profile-shortcut-grid')
|
||||
?.className,
|
||||
).toContain('w-full');
|
||||
for (const shortcutButton of shortcutRegion.querySelectorAll(
|
||||
'.platform-profile-shortcut-button',
|
||||
)) {
|
||||
expect(shortcutButton.className).toContain('w-full');
|
||||
}
|
||||
for (const label of [
|
||||
'泥点充值',
|
||||
'兑换码',
|
||||
|
||||
Reference in New Issue
Block a user