mirror of
https://github.com/strapi/strapi.git
synced 2025-12-10 14:34:22 +00:00
fix(e2e): update blocks e2e tests (#22010)
This commit is contained in:
parent
36632203b1
commit
f5312617ca
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user