diff --git a/packages/drupal/gutenberg_blocks/css/edit.css b/packages/drupal/gutenberg_blocks/css/edit.css
index 68f0871f5..c92ac8034 100644
--- a/packages/drupal/gutenberg_blocks/css/edit.css
+++ b/packages/drupal/gutenberg_blocks/css/edit.css
@@ -312,3 +312,18 @@ details[open] > summary svg {
.col-start-2 {
grid-column-start: 2;
}
+
+
+/* Reset a few link input suggestion styles to their gutenberg editor values. */
+.block-editor-inner-blocks .block-editor-link-control__search-input-wrapper {
+ border: 1px solid #cccccc;
+ font-size: 13px;
+}
+
+.block-editor-inner-blocks .block-editor-link-control__search-input-wrapper button.block-editor-link-control__search-item {
+ padding: 12px 16px;
+}
+
+.block-editor-inner-blocks .block-editor-link-control__search-input-wrapper button.block-editor-link-control__search-item:hover {
+ background-color: #ddd;
+}
diff --git a/packages/drupal/gutenberg_blocks/js/blocks/teaser-list.tsx b/packages/drupal/gutenberg_blocks/js/blocks/teaser-list.tsx
index 45421d828..95bd870de 100644
--- a/packages/drupal/gutenberg_blocks/js/blocks/teaser-list.tsx
+++ b/packages/drupal/gutenberg_blocks/js/blocks/teaser-list.tsx
@@ -47,7 +47,7 @@ registerBlockType<{
attributes;
return (
-
+
{__('Teaser list')}
diff --git a/tests/e2e/specs/drupal/homepage.spec.ts b/tests/e2e/specs/drupal/homepage.spec.ts
index 13001c887..fde20b029 100644
--- a/tests/e2e/specs/drupal/homepage.spec.ts
+++ b/tests/e2e/specs/drupal/homepage.spec.ts
@@ -35,15 +35,17 @@ test.describe('the homepage', () => {
).toBeVisible();
});
- test.describe('if german is the preferred language', () => {
- test.use({ locale: 'de-DE' });
- test('redirects to german ', async ({ page }) => {
- await page.goto(websiteUrl('/'));
- const content = await page.getByRole('main');
- await expect(
- content.getByText('Architektur', { exact: true }),
- ).toBeVisible();
- });
+ test('redirects to german if german is the preferred language', async ({
+ browser,
+ }) => {
+ const context = await browser.newContext({ locale: 'de-DE' });
+ const page = await context.newPage();
+ await page.goto(websiteUrl('/'));
+ const content = await page.getByRole('main');
+ await expect(
+ content.getByText('Architektur', { exact: true }),
+ ).toBeVisible();
+ context.close();
});
test('it displays an image', async ({ page }) => {
diff --git a/tests/e2e/specs/drupal/preview-editor-sidebar.spec.ts b/tests/e2e/specs/drupal/preview-editor-sidebar.spec.ts
index c35288741..2bbeeb44e 100644
--- a/tests/e2e/specs/drupal/preview-editor-sidebar.spec.ts
+++ b/tests/e2e/specs/drupal/preview-editor-sidebar.spec.ts
@@ -7,7 +7,7 @@ test.describe('instant preview - toggle editor sidebar', () => {
test('toggle the preview editor sidebar', async ({ page }) => {
await page.goto(cmsUrl('/admin/content'));
await page.getByRole('link', { name: 'Add content' }).click();
- await page
+ await (await page.locator('.layout-region--node-main'))
.getByLabel('Title', { exact: true })
.fill('Instant preview sidebar test');
await page.locator('#edit-submit').click();
diff --git a/tests/e2e/specs/drupal/preview.spec.ts b/tests/e2e/specs/drupal/preview.spec.ts
index 0affafdb2..8d7ae0d39 100644
--- a/tests/e2e/specs/drupal/preview.spec.ts
+++ b/tests/e2e/specs/drupal/preview.spec.ts
@@ -7,7 +7,7 @@ test.describe('instant preview', () => {
test('display an unpublished page in an iframe', async ({ page }) => {
await page.goto(cmsUrl('/admin/content'));
await page.getByRole('link', { name: 'Add content' }).click();
- await page
+ await (await page.locator('.layout-region--node-main'))
.getByLabel('Title', { exact: true })
.fill('Instant preview test');
await page.locator('#edit-submit').click();