fix(e2e): update blocks e2e tests (#22010)

This commit is contained in:
markkaylor 2024-10-29 14:25:04 +01:00 committed by GitHub
parent 36632203b1
commit f5312617ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ test.describe('Blocks editor', () => {
test('adds a code block and specifies the language', async ({ page, browserName }) => {
// Write some text into a blocks editor
const code = 'const problems = 99';
await navToHeader(page, ['Content Manager', 'Homepage'], 'Untitled');
await navToHeader(page, ['Content Manager', 'Homepage'], 'Homepage');
await expect(page.getByRole('link', { name: 'Back' })).toBeVisible();
const textbox = page.getByRole('textbox').nth(1);
await expect(textbox).toBeVisible();