1
This commit is contained in:
@@ -2547,7 +2547,7 @@ beforeEach(() => {
|
||||
profileId: 'onboarding-profile-1',
|
||||
ownerUserId: 'onboarding-guest',
|
||||
sourceSessionId: null,
|
||||
authorDisplayName: '百梦主',
|
||||
authorDisplayName: '陶泥儿主',
|
||||
workTitle: '梦境拼图',
|
||||
workDescription: '我想飞上天',
|
||||
levelName: '云上飞行',
|
||||
@@ -2811,7 +2811,7 @@ test('create tab shows template tabs and embeds puzzle form by default', async (
|
||||
screen.getByRole('tab', { name: '拼图' }).querySelector('.text-inherit'),
|
||||
).toBeNull();
|
||||
expect(screen.queryByRole('button', { name: /智能创作/u })).toBeNull();
|
||||
expect(screen.queryByPlaceholderText('问一问百梦')).toBeNull();
|
||||
expect(screen.queryByPlaceholderText('问一问陶泥儿')).toBeNull();
|
||||
expect(screen.queryByRole('button', { name: /角色扮演/u })).toBeNull();
|
||||
expect(screen.queryByRole('tab', { name: /方洞挑战/u })).toBeNull();
|
||||
expect(screen.getByRole('tab', { name: /抓大鹅/u })).toBeTruthy();
|
||||
|
||||
Reference in New Issue
Block a user