Skip to content

feat: add new tests - #559

Open
ramiy wants to merge 26 commits into
core-betafrom
tests/core
Open

ramiy wants to merge 26 commits into
core-betafrom
tests/core

Conversation

@ramiy

@ramiy ramiy commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@ramiy ramiy added the run-tests Trigger automated tests label Sep 18, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Playwright Test Failure

One or more Playwright targets failed in this workflow run.

See all Playwright errors (click to expand)

Affected Playwright test: all

FAILURE: contextual-help.spec.ts:19:7 Insights screen exposes its Help tabs
[chromium-db-snippets] › contextual-help.spec.ts:19:7 › Contextual Help › Insights screen exposes its Help tabs 

    Error: page.goto: url: expected string, got undefined

      18 | 	for (const screen of SCREENS_WITH_HELP) {
      19 | 		test(`${screen.name} screen exposes its Help tabs`, async ({ page }) => {
    > 20 | 			await page.goto(screen.url)
         | 			           ^
      21 |
      22 | 			await page.locator('#contextual-help-link').click()
      23 | 			const help = page.locator('#contextual-help-wrap')
        at /home/runner/_work/code-snippets/code-snippets/tests/e2e/contextual-help.spec.ts:20:15

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets/trace.zip
    Usage:

        npx playwright show-trace ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: page.goto: url: expected string, got undefined

      18 | 	for (const screen of SCREENS_WITH_HELP) {
      19 | 		test(`${screen.name} screen exposes its Help tabs`, async ({ page }) => {
    > 20 | 			await page.goto(screen.url)
         | 			           ^
      21 |
      22 | 			await page.locator('#contextual-help-link').click()
      23 | 			const help = page.locator('#contextual-help-wrap')
        at /home/runner/_work/code-snippets/code-snippets/tests/e2e/contextual-help.spec.ts:20:15

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets-retry1/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets-retry1/trace.zip
    Usage:

        npx playwright show-trace ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets-retry1/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #2 ───────────────────────────────────────────────────────────────────────────────────────

    Error: page.goto: url: expected string, got undefined

      18 | 	for (const screen of SCREENS_WITH_HELP) {
      19 | 		test(`${screen.name} screen exposes its Help tabs`, async ({ page }) => {
    > 20 | 			await page.goto(screen.url)
         | 			           ^
      21 |
      22 | 			await page.locator('#contextual-help-link').click()
      23 | 			const help = page.locator('#contextual-help-wrap')
        at /home/runner/_work/code-snippets/code-snippets/tests/e2e/contextual-help.spec.ts:20:15

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets-retry2/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets-retry2/trace.zip
    Usage:

        npx playwright show-trace ../../test-results/contextual-help-Contextual-2d062-creen-exposes-its-Help-tabs-chromium-db-snippets-retry2/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

Affected Playwright test: all

FAILURE: contextual-help.spec.ts:28:7 Insights screen opens the first Help topic
[chromium-db-snippets] › contextual-help.spec.ts:28:7 › Contextual Help › Insights screen opens the first Help topic 

    Error: page.goto: url: expected string, got undefined

      27 |
      28 | 		test(`${screen.name} screen opens the first Help topic`, async ({ page }) => {
    > 29 | 			await page.goto(screen.url)
         | 			           ^
      30 |
      31 | 			await page.locator('#contextual-help-link').click()
      32 | 			const help = page.locator('#contextual-help-wrap')
        at /home/runner/_work/code-snippets/code-snippets/tests/e2e/contextual-help.spec.ts:29:15

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets/trace.zip
    Usage:

        npx playwright show-trace ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: page.goto: url: expected string, got undefined

      27 |
      28 | 		test(`${screen.name} screen opens the first Help topic`, async ({ page }) => {
    > 29 | 			await page.goto(screen.url)
         | 			           ^
      30 |
      31 | 			await page.locator('#contextual-help-link').click()
      32 | 			const help = page.locator('#contextual-help-wrap')
        at /home/runner/_work/code-snippets/code-snippets/tests/e2e/contextual-help.spec.ts:29:15

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets-retry1/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets-retry1/trace.zip
    Usage:

        npx playwright show-trace ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets-retry1/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #2 ───────────────────────────────────────────────────────────────────────────────────────

    Error: page.goto: url: expected string, got undefined

      27 |
      28 | 		test(`${screen.name} screen opens the first Help topic`, async ({ page }) => {
    > 29 | 			await page.goto(screen.url)
         | 			           ^
      30 |
      31 | 			await page.locator('#contextual-help-link').click()
      32 | 			const help = page.locator('#contextual-help-wrap')
        at /home/runner/_work/code-snippets/code-snippets/tests/e2e/contextual-help.spec.ts:29:15

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets-retry2/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
    ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets-retry2/trace.zip
    Usage:

        npx playwright show-trace ../../test-results/contextual-help-Contextual-29ec3--opens-the-first-Help-topic-chromium-db-snippets-retry2/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

Affected Playwright test: all

FAILURE: welcome.spec.ts:29:6 provides toolbar links to Insights and Import
[chromium-db-snippets] › welcome.spec.ts:29:6 › What’s New screen › provides toolbar links to Insights and Import 

    Test timeout of 60000ms exceeded.

    Error: locator.getAttribute: Test timeout of 60000ms exceeded.
    Call log:
      - waiting for getByRole('navigation', { name: 'Main links' }).getByRole('link', { name: 'Insights' })


      31 |
      32 | 		const mainLinks = page.getByRole('navigation', { name: 'Main links' })
    > 33 | 		const insights = new URL(await mainLinks.getByRole('link', { name: 'Insights' }).getAttribute('href') ?? '')
         | 		                                                                                 ^
      34 | 		const importSnippets = new URL(await mainLinks.getByRole('link', { name: 'Import' }).getAttribute('href') ?? '')
      35 |
      36 | 		expect(`${insights.pathname}${insights.search}`).toBe(URLS.INSIGHTS_ADMIN)
        at /home/runner/_work/code-snippets/code-snippets/tests/e2e/welcome.spec.ts:33:84

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets/error-context.md

    attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
    ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets/trace.zip
    Usage:

        npx playwright show-trace ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Test timeout of 60000ms exceeded.

    Error: locator.getAttribute: Test timeout of 60000ms exceeded.
    Call log:
      - waiting for getByRole('navigation', { name: 'Main links' }).getByRole('link', { name: 'Insights' })


      31 |
      32 | 		const mainLinks = page.getByRole('navigation', { name: 'Main links' })
    > 33 | 		const insights = new URL(await mainLinks.getByRole('link', { name: 'Insights' }).getAttribute('href') ?? '')
         | 		                                                                                 ^
      34 | 		const importSnippets = new URL(await mainLinks.getByRole('link', { name: 'Import' }).getAttribute('href') ?? '')
      35 |
      36 | 		expect(`${insights.pathname}${insights.search}`).toBe(URLS.INSIGHTS_ADMIN)
        at /home/runner/_work/code-snippets/code-snippets/tests/e2e/welcome.spec.ts:33:84

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry1/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry1/error-context.md

    attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
    ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry1/trace.zip
    Usage:

        npx playwright show-trace ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry1/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #2 ───────────────────────────────────────────────────────────────────────────────────────

    Test timeout of 60000ms exceeded.

    Error: locator.getAttribute: Test timeout of 60000ms exceeded.
    Call log:
      - waiting for getByRole('navigation', { name: 'Main links' }).getByRole('link', { name: 'Insights' })


      31 |
      32 | 		const mainLinks = page.getByRole('navigation', { name: 'Main links' })
    > 33 | 		const insights = new URL(await mainLinks.getByRole('link', { name: 'Insights' }).getAttribute('href') ?? '')
         | 		                                                                                 ^
      34 | 		const importSnippets = new URL(await mainLinks.getByRole('link', { name: 'Import' }).getAttribute('href') ?? '')
      35 |
      36 | 		expect(`${insights.pathname}${insights.search}`).toBe(URLS.INSIGHTS_ADMIN)
        at /home/runner/_work/code-snippets/code-snippets/tests/e2e/welcome.spec.ts:33:84

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry2/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry2/error-context.md

    attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
    ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry2/trace.zip
    Usage:

        npx playwright show-trace ../../test-results/welcome-What’s-New-screen--1c61d-inks-to-Insights-and-Import-chromium-db-snippets-retry2/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

Please review the failing jobs and fix the issues before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-tests Trigger automated tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant