Skip to content

feat(a11y): update testing-library monorepo (major) #5324

feat(a11y): update testing-library monorepo (major)

feat(a11y): update testing-library monorepo (major) #5324

GitHub Actions / Report - Unit Tests - Playwright succeeded Aug 18, 2024 in 1s

Report - Unit Tests - Playwright ✅

Tests failed

❌ packages/runner-playwright/reports/e2e/junit-report.xml

120 tests were completed in 183s with 113 passed, 7 failed and 0 skipped.

Test suite Passed Failed Skipped Time
en-accessibility.feature.spec.js 9✅ 6s
en-checkable.feature.spec.js 4✅ 2s
en-keyboard-navigation-long.feature.spec.js 6✅ 4s
en-keyboard-navigation.feature.spec.js 6✅ 4s
en-step-definition-async.feature.spec.js 3✅ 549ms
en-step-definition.feature.spec.js 21✅ 5s
fr-accessibility.feature.spec.js 8✅ 4s
fr-basedByRole-step-definition.feature.spec.js 6✅ 1s
fr-checkable.feature.spec.js 4✅ 2s
fr-keyboard-navigation-long.feature.spec.js 6✅ 4s
fr-keyboard-navigation.feature.spec.js 6✅ 5s
fr-step-definition-async.feature.spec.js 3✅ 667ms
fr-step-definition.feature.spec.js 21✅ 4s
ko.feature.spec.js 1✅ 7❌ 116s
unsafe.feature.spec.js 2✅ 1s
using-relative-url.feature.spec.js 1✅ 367ms
weather-app.feature.spec.js 6✅ 3s

✅ en-accessibility.feature.spec.js

✅ Accessibility Step Definition › a11y › key.then.a11y.check.default
✅ Accessibility Step Definition › a11y › key.then.a11y.check.onlyCritical
✅ Accessibility Step Definition › a11y › key.then.a11y.check.withFixtureOption
✅ Accessibility Step Definition › a11y › key.then.a11y.check.withImpacts
✅ Accessibility Step Definition › a11y › key.then.a11y.check.withFixtureContextAndFixtureOption
✅ Accessibility Step Definition › a11y › key.then.a11y.check.withTags
✅ Accessibility Step Definition › accessibility keys › key.then.keyboard.press - Left right
✅ Accessibility Step Definition › accessibility keys › key.then.keyboard.press - Up Down
✅ Accessibility Step Definition › accessibility keys › key.when.keyboard.nextElement

✅ en-checkable.feature.spec.js

✅ Checkable components › Radio button
✅ Checkable components › Radio button and click
✅ Checkable components › Checkbox
✅ Checkable components › Checkbox and click

✅ en-keyboard-navigation-long.feature.spec.js

✅ Keyboard Navigation - Long › Focus on app logo
✅ Keyboard Navigation - Long › Focus on app link
✅ Keyboard Navigation - Long › Focus on app link with back nav
✅ Keyboard Navigation - Long › Focus on Get Started button
✅ Keyboard Navigation - Long › Verify new town form keyboard navigation
✅ Keyboard Navigation - Long › Fill new town form with keyboard

✅ en-keyboard-navigation.feature.spec.js

✅ Keyboard Navigation › Focus on app logo - short mode
✅ Keyboard Navigation › Focus on app link - short mode
✅ Keyboard Navigation › Focus on app link with back nav - short mode
✅ Keyboard Navigation › Focus on Get Started button - short mode
✅ Keyboard Navigation › Verify new town form keyboard navigation - short mode
✅ Keyboard Navigation › Fill new town form with keyboard - short mode

✅ en-step-definition-async.feature.spec.js

✅ English Test Step Definition async › key.when.mock.withFixture & key.then.mock.consume
✅ English Test Step Definition async › key.when.mock.withBody & key.then.mock.consume
✅ English Test Step Definition async › key.when.mock.withStatusCode & key.then.mock.consume

✅ en-step-definition.feature.spec.js

✅ English Test Step Definition › key.then.element.withAriaLabel - 1/2
✅ English Test Step Definition › key.then.element.withAriaLabel - 2/2
✅ English Test Step Definition › key.then.element.not.withAriaLabel
✅ English Test Step Definition › key.then.element.withAriaLabelAndContent
✅ English Test Step Definition › key.then.element.withContent
✅ English Test Step Definition › key.then.element.not.withContent
✅ English Test Step Definition › key.then.element.withTestId
✅ English Test Step Definition › key.then.element.not.withTestId
✅ English Test Step Definition › key.then.element.withRoleAndName
✅ English Test Step Definition › key.then.element.not.withRoleAndName
✅ English Test Step Definition › key.then.element.withRoleAndNameAndContent
✅ English Test Step Definition › key.then.element.withRoleAndNameAndContentDisabled
✅ English Test Step Definition › key.then.element.withRoleAndNameAndContentEnabled
✅ English Test Step Definition › key.then.list.withNameAndContent
✅ English Test Step Definition › key.then.attributes.withValues
✅ English Test Step Definition › key.then.element.key.when.click.withContext
✅ English Test Step Definition › key.then.element.key.when.click.button without context
✅ English Test Step Definition › key.then.element.key.when.click.button with context
✅ English Test Step Definition › key.then.element.key.when.click.withRole
✅ English Test Step Definition › key.then.element.key.when.type
✅ English Test Step Definition › key.given.within.selector

✅ fr-accessibility.feature.spec.js

✅ Accessibility Step Definition › a11y › key.then.a11y.check.default
✅ Accessibility Step Definition › a11y › key.then.a11y.check.onlyCritical
✅ Accessibility Step Definition › a11y › key.then.a11y.check.withFixtureOption
✅ Accessibility Step Definition › a11y › key.then.a11y.check.withImpacts
✅ Accessibility Step Definition › a11y › key.then.a11y.check.withFixtureContextAndFixtureOption
✅ Accessibility Step Definition › a11y › key.then.a11y.check.withTags
✅ Accessibility Step Definition › touches d'accessibilité › key.then.keyboard.press - Left right
✅ Accessibility Step Definition › touches d'accessibilité › key.then.keyboard.press - Up Down

✅ fr-basedByRole-step-definition.feature.spec.js

✅ phrases enrichies › role, name or content › key.then.element.withRoleAndName
✅ phrases enrichies › role, name or content › key.then.element.not.withRoleAndName
✅ phrases enrichies › role, name or content › key.then.element.withRoleAndNameAndContent
✅ phrases enrichies › role, name or content › key.then.element.withRoleAndNameAndContentDisabled
✅ phrases enrichies › role, name or content › key.then.element.withRoleAndNameAndContentEnabled
✅ phrases enrichies › Attributes › key.then.attributes.withValues

✅ fr-checkable.feature.spec.js

✅ Composants cochable › Radio button
✅ Composants cochable › Radio button and click
✅ Composants cochable › Checkbox
✅ Composants cochable › Checkbox and click

✅ fr-keyboard-navigation-long.feature.spec.js

✅ Navigation au clavier - Longue › Focus on app logo
✅ Navigation au clavier - Longue › Focus on app link
✅ Navigation au clavier - Longue › Focus on app link with back nav
✅ Navigation au clavier - Longue › Focus on Get Started button
✅ Navigation au clavier - Longue › Verify new town form keyboard navigation
✅ Navigation au clavier - Longue › Fill new town form with keyboard

✅ fr-keyboard-navigation.feature.spec.js

✅ Navigation au clavier › Focus on app logo
✅ Navigation au clavier › Focus on app link
✅ Navigation au clavier › Focus on app link with back nav
✅ Navigation au clavier › Focus on Get Started button
✅ Navigation au clavier › Verify new town form keyboard navigation
✅ Navigation au clavier › Fill new town form with keyboard

✅ fr-step-definition-async.feature.spec.js

✅ French Test Step Definition › key.when.mock.withFixture & key.then.mock.consume
✅ French Test Step Definition › key.when.mock.withBody & key.then.mock.consume
✅ French Test Step Definition › key.when.mock.withStatusCode & key.then.mock.consume

✅ fr-step-definition.feature.spec.js

✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.withAriaLabel - 1/2
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.withAriaLabel - 2/2
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.not.withAriaLabel
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.withAriaLabelAndContent
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.withContent
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.not.withContent
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.withTestId
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.not.withTestId
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.withRoleAndName
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.not.withRoleAndName
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.withRoleAndNameAndContent
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.withRoleAndNameAndContentDisabled
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.withRoleAndNameAndContentEnabled
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.list.withNameAndContent
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.attributes.withValues
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.key.when.click.withContext
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.key.when.click.button without context
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.key.when.click.button with context
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.key.when.click.withRole
✅ Dictionnaire français de phrases de base utilisant playwright › key.then.element.key.when.type
✅ Dictionnaire français de phrases de base utilisant playwright › key.given.within.selector

❌ ko.feature.spec.js

❌ Ko › Homepage - Bad title
	[chrome] › ko.feature.spec.js:10:7 › Ko › Homepage - Bad title › Then I should see a title named "Welcome to Weather App - ko"
✅ Ko › Weather - Town List must be ok
❌ Ko › TownResearch - Bad textbox name
	[chrome] › ko.feature.spec.js:20:7 › Ko › TownResearch - Bad textbox name › And I type the sentence "i" in the text box named "Search for a town3"
❌ Ko › Error when waiting a mock without instanciate a mock before
	[chrome] › ko.feature.spec.js:27:7 › Ko › Error when waiting a mock without instanciate a mock before › Then I should consume a mock named "uuvFixture"
❌ Ko › Radio button - Ko unchecked
	[chrome] › ko.feature.spec.js:31:7 › Ko › Radio button - Ko unchecked › Then I should see a radio named "Small (under 150000)" unchecked
❌ Ko › Radio button - Ko checked
	[chrome] › ko.feature.spec.js:35:7 › Ko › Radio button - Ko checked › Then I should see a radio named "Medium (150000 to 1 million)" checked
❌ Ko › Checkbox - Ko unchecked
	[chrome] › ko.feature.spec.js:39:7 › Ko › Checkbox - Ko unchecked › Then I should see a checkbox named "Allow automatic update" checked
❌ Ko › Checkbox - Ko checked
	[chrome] › ko.feature.spec.js:43:7 › Ko › Checkbox - Ko checked › When I click on element with role "checkbox" and name "Allow automatic update"

✅ unsafe.feature.spec.js

✅ phrases custom › key.given.within.selector › Example #1
✅ phrases custom › key.given.within.selector › Example #2

✅ using-relative-url.feature.spec.js

✅ Using relative url › Should land on weather app homepage

✅ weather-app.feature.spec.js

✅ Weather App example › Homepage
✅ Weather App example › Weather - "Nothing to display" must be displayed
✅ Weather App example › Weather - Town List must be ok
✅ Weather App example › TownSelection - Douala
✅ Weather App example › TownResearch
✅ Weather App example › Issue 340 - Checking list items does not work with within

Annotations

Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / Report - Unit Tests - Playwright

ko.feature.spec.js ► Ko › Homepage - Bad title

Failed test found in:
  packages/runner-playwright/reports/e2e/junit-report.xml
Error:
    [chrome] › ko.feature.spec.js:10:7 › Ko › Homepage - Bad title › Then I should see a title named "Welcome to Weather App - ko" 
Raw output
  [chrome] › ko.feature.spec.js:10:7 › Ko › Homepage - Bad title › Then I should see a title named "Welcome to Weather App - ko" 

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:179

      177 |   await getPageOrElement(world).then(async (element) => {
      178 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 179 |     await expect(byRole).toHaveCount(1);
          |                          ^
      180 |     if (expectedTextContent !== undefined) {
      181 |       await checkTextContentLocator(byRole, expectedTextContent);
      182 |     }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:179:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Homepage---Bad-title-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:179

      177 |   await getPageOrElement(world).then(async (element) => {
      178 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 179 |     await expect(byRole).toHaveCount(1);
          |                          ^
      180 |     if (expectedTextContent !== undefined) {
      181 |       await checkTextContentLocator(byRole, expectedTextContent);
      182 |     }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:179:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Homepage---Bad-title-chrome-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Homepage---Bad-title-chrome-retry1/trace.zip
    Usage:

        npx playwright show-trace reports/playwright/ko.feature-Ko-Homepage---Bad-title-chrome-retry1/trace.zip

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

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:179

      177 |   await getPageOrElement(world).then(async (element) => {
      178 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 179 |     await expect(byRole).toHaveCount(1);
          |                          ^
      180 |     if (expectedTextContent !== undefined) {
      181 |       await checkTextContentLocator(byRole, expectedTextContent);
      182 |     }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:179:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Homepage---Bad-title-chrome-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / Report - Unit Tests - Playwright

ko.feature.spec.js ► Ko › TownResearch - Bad textbox name

Failed test found in:
  packages/runner-playwright/reports/e2e/junit-report.xml
Error:
    [chrome] › ko.feature.spec.js:20:7 › Ko › TownResearch - Bad textbox name › And I type the sentence "i" in the text box named "Search for a town3" 
Raw output
  [chrome] › ko.feature.spec.js:20:7 › Ko › TownResearch - Bad textbox name › And I type the sentence "i" in the text box named "Search for a town3" 

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('textbox', { name: 'Search for a town3', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('textbox', { name: 'Search for a town3', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:70

      68 |   await getPageOrElement(this).then(async (element) => {
      69 |     const byRole = await element.getByRole("textbox", { name: name, includeHidden: true, exact: true });
    > 70 |     await expect(byRole).toHaveCount(1);
         |                          ^
      71 |     await byRole.type(textToType);
      72 |     await deleteCookieByName(this, COOKIE_NAME.SELECTED_ELEMENT);
      73 |   });

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:70:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-TownResearch---Bad-textbox-name-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('textbox', { name: 'Search for a town3', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('textbox', { name: 'Search for a town3', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:70

      68 |   await getPageOrElement(this).then(async (element) => {
      69 |     const byRole = await element.getByRole("textbox", { name: name, includeHidden: true, exact: true });
    > 70 |     await expect(byRole).toHaveCount(1);
         |                          ^
      71 |     await byRole.type(textToType);
      72 |     await deleteCookieByName(this, COOKIE_NAME.SELECTED_ELEMENT);
      73 |   });

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:70:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry1/trace.zip
    Usage:

        npx playwright show-trace reports/playwright/ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry1/trace.zip

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

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('textbox', { name: 'Search for a town3', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('textbox', { name: 'Search for a town3', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:70

      68 |   await getPageOrElement(this).then(async (element) => {
      69 |     const byRole = await element.getByRole("textbox", { name: name, includeHidden: true, exact: true });
    > 70 |     await expect(byRole).toHaveCount(1);
         |                          ^
      71 |     await byRole.type(textToType);
      72 |     await deleteCookieByName(this, COOKIE_NAME.SELECTED_ELEMENT);
      73 |   });

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:70:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / Report - Unit Tests - Playwright

ko.feature.spec.js ► Ko › Error when waiting a mock without instanciate a mock before

Failed test found in:
  packages/runner-playwright/reports/e2e/junit-report.xml
Error:
    [chrome] › ko.feature.spec.js:27:7 › Ko › Error when waiting a mock without instanciate a mock before › Then I should consume a mock named "uuvFixture" 
Raw output
  [chrome] › ko.feature.spec.js:27:7 › Ko › Error when waiting a mock without instanciate a mock before › Then I should consume a mock named "uuvFixture" 

    Error: expect(received).not.toThrow()

    Error name:    "Error"
    Error message: "Mock uuvFixture must be defined before use this sentence"

          515 |   expect(() => {
          516 |     if (!cookie.isValid()) {
        > 517 |       throw new Error(`Mock ${name} must be defined before use this sentence`);
              |             ^
          518 |     }
          519 |   }).not.toThrow();
          520 |

          at src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:517:13
          at Object.<anonymous> (../../node_modules/playwright/lib/common/expectBundleImpl.js:293:1083)
          at Object.i [as toThrow] (../../node_modules/playwright/lib/common/expectBundleImpl.js:338:918)
          at callback (../../node_modules/playwright/lib/matchers/expect.js:225:40)
          at ZoneManager.run (../../node_modules/playwright-core/lib/utils/zones.js:31:36)
          at Proxy.toThrow (../../node_modules/playwright/lib/matchers/expect.js:228:132)
          at BddWorld.<anonymous> (src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:519:10)
          at ../../node_modules/playwright/lib/common/testType.js:235:24
          at TestTypeImpl._step (../../node_modules/playwright/lib/common/testType.js:233:12)
          at StepInvoker.invoke (../../node_modules/playwright-bdd/src/run/StepInvoker.ts:53:5)
          at tests/.features-gen/ko.feature.spec.js:28:5
          at ../../node_modules/playwright/lib/worker/workerMain.js:339:9
          at ../../node_modules/playwright/lib/worker/testInfo.js:296:11
          at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:53:14)
          at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:294:7)
          at ../../node_modules/playwright/lib/worker/workerMain.js:331:7
          at ../../node_modules/playwright/lib/worker/testInfo.js:296:11
          at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:41:27)
          at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:294:7)
          at WorkerMain._runTest (../../node_modules/playwright/lib/worker/workerMain.js:281:5)
          at WorkerMain.runTestGroup (../../node_modules/playwright/lib/worker/workerMain.js:205:11)
          at process.<anonymous> (../../node_modules/playwright/lib/common/process.js:95:22)

       at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:519

      517 |       throw new Error(`Mock ${name} must be defined before use this sentence`);
      518 |     }
    > 519 |   }).not.toThrow();
          |          ^
      520 |
      521 |   await expect.poll(async () => {
      522 |     const cookie = await getCookie(this, COOKIE_NAME.MOCK_URL);

        at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:519:10)
        at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:28:5

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Error-when-w-b979a-t-instanciate-a-mock-before-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

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

    Error: expect(received).not.toThrow()

    Error name:    "Error"
    Error message: "Mock uuvFixture must be defined before use this sentence"

          515 |   expect(() => {
          516 |     if (!cookie.isValid()) {
        > 517 |       throw new Error(`Mock ${name} must be defined before use this sentence`);
              |             ^
          518 |     }
          519 |   }).not.toThrow();
          520 |

          at src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:517:13
          at Object.<anonymous> (../../node_modules/playwright/lib/common/expectBundleImpl.js:293:1083)
          at Object.i [as toThrow] (../../node_modules/playwright/lib/common/expectBundleImpl.js:338:918)
          at callback (../../node_modules/playwright/lib/matchers/expect.js:225:40)
          at ZoneManager.run (../../node_modules/playwright-core/lib/utils/zones.js:31:36)
          at Proxy.toThrow (../../node_modules/playwright/lib/matchers/expect.js:228:132)
          at BddWorld.<anonymous> (src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:519:10)
          at ../../node_modules/playwright/lib/common/testType.js:235:24
          at TestTypeImpl._step (../../node_modules/playwright/lib/common/testType.js:233:12)
          at StepInvoker.invoke (../../node_modules/playwright-bdd/src/run/StepInvoker.ts:53:5)
          at tests/.features-gen/ko.feature.spec.js:28:5
          at ../../node_modules/playwright/lib/worker/workerMain.js:339:9
          at ../../node_modules/playwright/lib/worker/testInfo.js:296:11
          at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:53:14)
          at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:294:7)
          at ../../node_modules/playwright/lib/worker/workerMain.js:331:7
          at ../../node_modules/playwright/lib/worker/testInfo.js:296:11
          at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:41:27)
          at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:294:7)
          at WorkerMain._runTest (../../node_modules/playwright/lib/worker/workerMain.js:281:5)
          at WorkerMain.runTestGroup (../../node_modules/playwright/lib/worker/workerMain.js:205:11)
          at process.<anonymous> (../../node_modules/playwright/lib/common/process.js:95:22)

       at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:519

      517 |       throw new Error(`Mock ${name} must be defined before use this sentence`);
      518 |     }
    > 519 |   }).not.toThrow();
          |          ^
      520 |
      521 |   await expect.poll(async () => {
      522 |     const cookie = await getCookie(this, COOKIE_NAME.MOCK_URL);

        at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:519:10)
        at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:28:5

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Error-when-w-b979a-t-instanciate-a-mock-before-chrome-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Error-when-w-b979a-t-instanciate-a-mock-before-chrome-retry1/trace.zip
    Usage:

        npx playwright show-trace reports/playwright/ko.feature-Ko-Error-when-w-b979a-t-instanciate-a-mock-before-chrome-retry1/trace.zip

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

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

    Error: expect(received).not.toThrow()

    Error name:    "Error"
    Error message: "Mock uuvFixture must be defined before use this sentence"

          515 |   expect(() => {
          516 |     if (!cookie.isValid()) {
        > 517 |       throw new Error(`Mock ${name} must be defined before use this sentence`);
              |             ^
          518 |     }
          519 |   }).not.toThrow();
          520 |

          at src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:517:13
          at Object.<anonymous> (../../node_modules/playwright/lib/common/expectBundleImpl.js:293:1083)
          at Object.i [as toThrow] (../../node_modules/playwright/lib/common/expectBundleImpl.js:338:918)
          at callback (../../node_modules/playwright/lib/matchers/expect.js:225:40)
          at ZoneManager.run (../../node_modules/playwright-core/lib/utils/zones.js:31:36)
          at Proxy.toThrow (../../node_modules/playwright/lib/matchers/expect.js:228:132)
          at BddWorld.<anonymous> (src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:519:10)
          at ../../node_modules/playwright/lib/common/testType.js:235:24
          at TestTypeImpl._step (../../node_modules/playwright/lib/common/testType.js:233:12)
          at StepInvoker.invoke (../../node_modules/playwright-bdd/src/run/StepInvoker.ts:53:5)
          at tests/.features-gen/ko.feature.spec.js:28:5
          at ../../node_modules/playwright/lib/worker/workerMain.js:339:9
          at ../../node_modules/playwright/lib/worker/testInfo.js:296:11
          at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:53:14)
          at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:294:7)
          at ../../node_modules/playwright/lib/worker/workerMain.js:331:7
          at ../../node_modules/playwright/lib/worker/testInfo.js:296:11
          at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:41:27)
          at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:294:7)
          at WorkerMain._runTest (../../node_modules/playwright/lib/worker/workerMain.js:281:5)
          at WorkerMain.runTestGroup (../../node_modules/playwright/lib/worker/workerMain.js:205:11)
          at process.<anonymous> (../../node_modules/playwright/lib/common/process.js:95:22)

       at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:519

      517 |       throw new Error(`Mock ${name} must be defined before use this sentence`);
      518 |     }
    > 519 |   }).not.toThrow();
          |          ^
      520 |
      521 |   await expect.poll(async () => {
      522 |     const cookie = await getCookie(this, COOKIE_NAME.MOCK_URL);

        at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:519:10)
        at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:28:5

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Error-when-w-b979a-t-instanciate-a-mock-before-chrome-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / Report - Unit Tests - Playwright

ko.feature.spec.js ► Ko › Radio button - Ko unchecked

Failed test found in:
  packages/runner-playwright/reports/e2e/junit-report.xml
Error:
    [chrome] › ko.feature.spec.js:31:7 › Ko › Radio button - Ko unchecked › Then I should see a radio named "Small (under 150000)" unchecked 
Raw output
  [chrome] › ko.feature.spec.js:31:7 › Ko › Radio button - Ko unchecked › Then I should see a radio named "Small (under 150000)" unchecked 

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('radio', { name: 'Small (under 150000)', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('radio', { name: 'Small (under 150000)', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:209

      207 |   await getPageOrElement(world).then(async (element) => {
      208 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 209 |     await expect(byRole).toHaveCount(1);
          |                          ^
      210 |     await expect(byRole).not.toBeChecked();
      211 |   });
      212 | }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:209:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Radio-button---Ko-unchecked-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('radio', { name: 'Small (under 150000)', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('radio', { name: 'Small (under 150000)', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:209

      207 |   await getPageOrElement(world).then(async (element) => {
      208 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 209 |     await expect(byRole).toHaveCount(1);
          |                          ^
      210 |     await expect(byRole).not.toBeChecked();
      211 |   });
      212 | }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:209:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry1/trace.zip
    Usage:

        npx playwright show-trace reports/playwright/ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry1/trace.zip

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

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('radio', { name: 'Small (under 150000)', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('radio', { name: 'Small (under 150000)', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:209

      207 |   await getPageOrElement(world).then(async (element) => {
      208 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 209 |     await expect(byRole).toHaveCount(1);
          |                          ^
      210 |     await expect(byRole).not.toBeChecked();
      211 |   });
      212 | }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:209:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / Report - Unit Tests - Playwright

ko.feature.spec.js ► Ko › Radio button - Ko checked

Failed test found in:
  packages/runner-playwright/reports/e2e/junit-report.xml
Error:
    [chrome] › ko.feature.spec.js:35:7 › Ko › Radio button - Ko checked › Then I should see a radio named "Medium (150000 to 1 million)" checked 
Raw output
  [chrome] › ko.feature.spec.js:35:7 › Ko › Radio button - Ko checked › Then I should see a radio named "Medium (150000 to 1 million)" checked 

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:200

      198 |   await getPageOrElement(world).then(async (element) => {
      199 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 200 |     await expect(byRole).toHaveCount(1);
          |                          ^
      201 |     await expect(byRole).toBeChecked();
      202 |   });
      203 | }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:200:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Radio-button---Ko-checked-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:200

      198 |   await getPageOrElement(world).then(async (element) => {
      199 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 200 |     await expect(byRole).toHaveCount(1);
          |                          ^
      201 |     await expect(byRole).toBeChecked();
      202 |   });
      203 | }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:200:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Radio-button---Ko-checked-chrome-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Radio-button---Ko-checked-chrome-retry1/trace.zip
    Usage:

        npx playwright show-trace reports/playwright/ko.feature-Ko-Radio-button---Ko-checked-chrome-retry1/trace.zip

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

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:200

      198 |   await getPageOrElement(world).then(async (element) => {
      199 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 200 |     await expect(byRole).toHaveCount(1);
          |                          ^
      201 |     await expect(byRole).toBeChecked();
      202 |   });
      203 | }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:200:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Radio-button---Ko-checked-chrome-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / Report - Unit Tests - Playwright

ko.feature.spec.js ► Ko › Checkbox - Ko unchecked

Failed test found in:
  packages/runner-playwright/reports/e2e/junit-report.xml
Error:
    [chrome] › ko.feature.spec.js:39:7 › Ko › Checkbox - Ko unchecked › Then I should see a checkbox named "Allow automatic update" checked 
Raw output
  [chrome] › ko.feature.spec.js:39:7 › Ko › Checkbox - Ko unchecked › Then I should see a checkbox named "Allow automatic update" checked 

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:200

      198 |   await getPageOrElement(world).then(async (element) => {
      199 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 200 |     await expect(byRole).toHaveCount(1);
          |                          ^
      201 |     await expect(byRole).toBeChecked();
      202 |   });
      203 | }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:200:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Checkbox---Ko-unchecked-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:200

      198 |   await getPageOrElement(world).then(async (element) => {
      199 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 200 |     await expect(byRole).toHaveCount(1);
          |                          ^
      201 |     await expect(byRole).toBeChecked();
      202 |   });
      203 | }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:200:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry1/trace.zip
    Usage:

        npx playwright show-trace reports/playwright/ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry1/trace.zip

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

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/core-engine.ts:200

      198 |   await getPageOrElement(world).then(async (element) => {
      199 |     const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
    > 200 |     await expect(byRole).toHaveCount(1);
          |                          ^
      201 |     await expect(byRole).toBeChecked();
      202 |   });
      203 | }

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:200:26

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml

See this annotation in the file changed.

@github-actions github-actions / Report - Unit Tests - Playwright

ko.feature.spec.js ► Ko › Checkbox - Ko checked

Failed test found in:
  packages/runner-playwright/reports/e2e/junit-report.xml
Error:
    [chrome] › ko.feature.spec.js:43:7 › Ko › Checkbox - Ko checked › When I click on element with role "checkbox" and name "Allow automatic update" 
Raw output
  [chrome] › ko.feature.spec.js:43:7 › Ko › Checkbox - Ko checked › When I click on element with role "checkbox" and name "Allow automatic update" 

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:610

      608 |   await getPageOrElement(world).then(async (element) => {
      609 |     const byRole = element.getByRole(role, { name: name, includeHidden: true, exact: true });
    > 610 |     await expect(byRole).toHaveCount(1);
          |                          ^
      611 |     await byRole.click({ timeout: DEFAULT_TIMEOUT });
      612 |     await world.page.waitForLoadState();
      613 |     await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:610:26
        at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:608:3)
        at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:104:3)
        at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:44:5

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Checkbox---Ko-checked-chrome/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:610

      608 |   await getPageOrElement(world).then(async (element) => {
      609 |     const byRole = element.getByRole(role, { name: name, includeHidden: true, exact: true });
    > 610 |     await expect(byRole).toHaveCount(1);
          |                          ^
      611 |     await byRole.click({ timeout: DEFAULT_TIMEOUT });
      612 |     await world.page.waitForLoadState();
      613 |     await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:610:26
        at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:608:3)
        at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:104:3)
        at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:44:5

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Checkbox---Ko-checked-chrome-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Checkbox---Ko-checked-chrome-retry1/trace.zip
    Usage:

        npx playwright show-trace reports/playwright/ko.feature-Ko-Checkbox---Ko-checked-chrome-retry1/trace.zip

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

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

    Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)

    Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
    Expected: 1
    Received: 0
    Call log:
      - expect.toHaveCount with timeout 5000ms
      - waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"
      -   locator resolved to 0 elements
      -   unexpected value "0"


       at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:610

      608 |   await getPageOrElement(world).then(async (element) => {
      609 |     const byRole = element.getByRole(role, { name: name, includeHidden: true, exact: true });
    > 610 |     await expect(byRole).toHaveCount(1);
          |                          ^
      611 |     await byRole.click({ timeout: DEFAULT_TIMEOUT });
      612 |     await world.page.waitForLoadState();
      613 |     await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);

        at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:610:26
        at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:608:3)
        at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:104:3)
        at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:44:5

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/playwright/ko.feature-Ko-Checkbox---Ko-checked-chrome-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────