chore(deps): update node.js to v22 #6761
Report - Unit Tests - Playwright ✅
❌ packages/runner-playwright/reports/e2e/junit-report.xml
128 tests were completed in 270s with 120 passed, 8 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✅ | 1s | ||
en-step-definition.feature.spec.js | 21✅ | 5s | ||
en-within-and-type.feature.spec.js | 2✅ | 1s | ||
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✅ | 4s | ||
fr-step-definition-async.feature.spec.js | 3✅ | 599ms | ||
fr-step-definition.feature.spec.js | 21✅ | 5s | ||
fr-within-and-type.feature.spec.js | 2✅ | 997ms | ||
ko.feature.spec.js | 1✅ | 8❌ | 169s | |
timeout.feature.spec.js | 2✅ | 23s | ||
unsafe.feature.spec.js | 2✅ | 479ms | ||
using-relative-url.feature.spec.js | 1✅ | 334ms | ||
weather-app.feature.spec.js | 7✅ | 5s |
✅ 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
✅ en-within-and-type.feature.spec.js
✅ Within and type › key.when.withinElement.withRoleBased and click
✅ Within and type › key.when.withinElement.selector and click
✅ 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
✅ fr-within-and-type.feature.spec.js
✅ Within and type › key.when.withinElement.withRoleBased and click
✅ Within and type › key.when.withinElement.selector and click
❌ ko.feature.spec.js
❌ Ko › Homepage - Bad title
[chrome] › ko.feature.spec.js:10:7 › Ko › Homepage - Bad title @ko › 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 @ko › 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 @ko › 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 @ko › 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 @ko › 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 @ko › 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 @ko › When I click on element with role "checkbox" and name "Allow automatic update"
❌ Ko › click failed with custom timeout
[chrome] › ko.feature.spec.js:48:7 › Ko › click failed with custom timeout @ko › Then I click on button named "Timer ended"
✅ timeout.feature.spec.js
✅ Timeout › click success with custom timeout
✅ Timeout › Chaining within
✅ 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
✅ Weather App example › Fill new town form
Annotations
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
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 @ko › 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 @ko › Then I should see a title named "Welcome to Weather App - ko"
Error: Timed out 6000ms 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 6000ms
- waiting for getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:188
186 | await getPageOrElement(world).then(async (element) => {
187 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 188 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
189 | if (expectedTextContent !== undefined) {
190 | await checkTextContentLocator(byRole, expectedTextContent);
191 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:188:26
at findWithRoleAndNameAndContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:186:3)
at findWithRoleAndName (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:165:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_heading.ts:52:3)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:11:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/playwright/ko.feature-Ko-Homepage---Bad-title-chrome/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 6000ms 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 6000ms
- waiting for getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:188
186 | await getPageOrElement(world).then(async (element) => {
187 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 188 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
189 | if (expectedTextContent !== undefined) {
190 | await checkTextContentLocator(byRole, expectedTextContent);
191 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:188:26
at findWithRoleAndNameAndContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:186:3)
at findWithRoleAndName (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:165:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_heading.ts:52:3)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:11:5
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 6000ms 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 6000ms
- waiting for getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:188
186 | await getPageOrElement(world).then(async (element) => {
187 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 188 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
189 | if (expectedTextContent !== undefined) {
190 | await checkTextContentLocator(byRole, expectedTextContent);
191 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:188:26
at findWithRoleAndNameAndContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:186:3)
at findWithRoleAndName (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:165:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_heading.ts:52:3)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:11:5
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
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 @ko › 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 @ko › And I type the sentence "i" in the text box named "Search for a town3"
Error: Timed out 6000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('textbox', { name: 'Search for a town3', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 6000ms
- waiting for getByRole('textbox', { name: 'Search for a town3', exact: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:75
73 | await getPageOrElement(this).then(async (element) => {
74 | const byRole = await element.getByRole("textbox", { name: name, exact: true });
> 75 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(this) });
| ^
76 | await byRole.type(textToType);
77 | await deleteCookieByName(this, COOKIE_NAME.SELECTED_ELEMENT);
78 | });
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:75:26
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:73:3)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:22:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/playwright/ko.feature-Ko-TownResearch---Bad-textbox-name-chrome/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 6000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('textbox', { name: 'Search for a town3', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 6000ms
- waiting for getByRole('textbox', { name: 'Search for a town3', exact: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:75
73 | await getPageOrElement(this).then(async (element) => {
74 | const byRole = await element.getByRole("textbox", { name: name, exact: true });
> 75 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(this) });
| ^
76 | await byRole.type(textToType);
77 | await deleteCookieByName(this, COOKIE_NAME.SELECTED_ELEMENT);
78 | });
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:75:26
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:73:3)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:22:5
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 6000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('textbox', { name: 'Search for a town3', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 6000ms
- waiting for getByRole('textbox', { name: 'Search for a town3', exact: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:75
73 | await getPageOrElement(this).then(async (element) => {
74 | const byRole = await element.getByRole("textbox", { name: name, exact: true });
> 75 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(this) });
| ^
76 | await byRole.type(textToType);
77 | await deleteCookieByName(this, COOKIE_NAME.SELECTED_ELEMENT);
78 | });
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:75:26
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_textbox.ts:73:3)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:22:5
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
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 @ko › 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 @ko › 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"
525 | expect(() => {
526 | if (!cookie.isValid()) {
> 527 | throw new Error(`Mock ${name} must be defined before use this sentence`);
| ^
528 | }
529 | }).not.toThrow();
530 |
at src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:527:13
at Object.<anonymous> (../../node_modules/playwright/lib/common/expectBundleImpl.js:293:2165)
at Object.o [as toThrow] (../../node_modules/playwright/lib/common/expectBundleImpl.js:338:799)
at callback (../../node_modules/playwright/lib/matchers/expect.js:265:40)
at ZoneManager.run (../../node_modules/playwright-core/lib/utils/zones.js:30:36)
at Proxy.toThrow (../../node_modules/playwright/lib/matchers/expect.js:268:130)
at BddWorld.<anonymous> (src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:529:10)
at ../../node_modules/playwright/lib/common/testType.js:236:24
at TestTypeImpl._step (../../node_modules/playwright/lib/common/testType.js:234: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:286:11
at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:64:14)
at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:284:7)
at ../../node_modules/playwright/lib/worker/workerMain.js:331:7
at ../../node_modules/playwright/lib/worker/testInfo.js:286:11
at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:52:27)
at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:284: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:529
527 | throw new Error(`Mock ${name} must be defined before use this sentence`);
528 | }
> 529 | }).not.toThrow();
| ^
530 |
531 | await expect.poll(async () => {
532 | 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:529: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"
525 | expect(() => {
526 | if (!cookie.isValid()) {
> 527 | throw new Error(`Mock ${name} must be defined before use this sentence`);
| ^
528 | }
529 | }).not.toThrow();
530 |
at src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:527:13
at Object.<anonymous> (../../node_modules/playwright/lib/common/expectBundleImpl.js:293:2165)
at Object.o [as toThrow] (../../node_modules/playwright/lib/common/expectBundleImpl.js:338:799)
at callback (../../node_modules/playwright/lib/matchers/expect.js:265:40)
at ZoneManager.run (../../node_modules/playwright-core/lib/utils/zones.js:30:36)
at Proxy.toThrow (../../node_modules/playwright/lib/matchers/expect.js:268:130)
at BddWorld.<anonymous> (src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:529:10)
at ../../node_modules/playwright/lib/common/testType.js:236:24
at TestTypeImpl._step (../../node_modules/playwright/lib/common/testType.js:234: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:286:11
at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:64:14)
at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:284:7)
at ../../node_modules/playwright/lib/worker/workerMain.js:331:7
at ../../node_modules/playwright/lib/worker/testInfo.js:286:11
at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:52:27)
at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:284: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:529
527 | throw new Error(`Mock ${name} must be defined before use this sentence`);
528 | }
> 529 | }).not.toThrow();
| ^
530 |
531 | await expect.poll(async () => {
532 | 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:529: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"
525 | expect(() => {
526 | if (!cookie.isValid()) {
> 527 | throw new Error(`Mock ${name} must be defined before use this sentence`);
| ^
528 | }
529 | }).not.toThrow();
530 |
at src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:527:13
at Object.<anonymous> (../../node_modules/playwright/lib/common/expectBundleImpl.js:293:2165)
at Object.o [as toThrow] (../../node_modules/playwright/lib/common/expectBundleImpl.js:338:799)
at callback (../../node_modules/playwright/lib/matchers/expect.js:265:40)
at ZoneManager.run (../../node_modules/playwright-core/lib/utils/zones.js:30:36)
at Proxy.toThrow (../../node_modules/playwright/lib/matchers/expect.js:268:130)
at BddWorld.<anonymous> (src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:529:10)
at ../../node_modules/playwright/lib/common/testType.js:236:24
at TestTypeImpl._step (../../node_modules/playwright/lib/common/testType.js:234: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:286:11
at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:64:14)
at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:284:7)
at ../../node_modules/playwright/lib/worker/workerMain.js:331:7
at ../../node_modules/playwright/lib/worker/testInfo.js:286:11
at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:52:27)
at TestInfoImpl._runAsStage (../../node_modules/playwright/lib/worker/testInfo.js:284: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:529
527 | throw new Error(`Mock ${name} must be defined before use this sentence`);
528 | }
> 529 | }).not.toThrow();
| ^
530 |
531 | await expect.poll(async () => {
532 | 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:529: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
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 @ko › 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 @ko › Then I should see a radio named "Small (under 150000)" unchecked
Error: Timed out 6000ms 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 6000ms
- waiting for getByRole('radio', { name: 'Small (under 150000)', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:219
217 | await getPageOrElement(world).then(async (element) => {
218 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 219 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
220 | await expect(byRole).not.toBeChecked();
221 | });
222 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:219:26
at findWithRoleAndNameAndUnchecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:217:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:191:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:32:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/playwright/ko.feature-Ko-Radio-button---Ko-unchecked-chrome/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 6000ms 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 6000ms
- waiting for getByRole('radio', { name: 'Small (under 150000)', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:219
217 | await getPageOrElement(world).then(async (element) => {
218 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 219 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
220 | await expect(byRole).not.toBeChecked();
221 | });
222 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:219:26
at findWithRoleAndNameAndUnchecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:217:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:191:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:32:5
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 6000ms 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 6000ms
- waiting for getByRole('radio', { name: 'Small (under 150000)', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:219
217 | await getPageOrElement(world).then(async (element) => {
218 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 219 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
220 | await expect(byRole).not.toBeChecked();
221 | });
222 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:219:26
at findWithRoleAndNameAndUnchecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:217:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:191:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:32:5
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
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 @ko › 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 @ko › Then I should see a radio named "Medium (150000 to 1 million)" checked
Error: Timed out 6000ms 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 6000ms
- waiting for getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:210
208 | await getPageOrElement(world).then(async (element) => {
209 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 210 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
211 | await expect(byRole).toBeChecked();
212 | });
213 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:210:26
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:208:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:181:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:36:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/playwright/ko.feature-Ko-Radio-button---Ko-checked-chrome/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 6000ms 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 6000ms
- waiting for getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:210
208 | await getPageOrElement(world).then(async (element) => {
209 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 210 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
211 | await expect(byRole).toBeChecked();
212 | });
213 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:210:26
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:208:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:181:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:36:5
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 6000ms 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 6000ms
- waiting for getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:210
208 | await getPageOrElement(world).then(async (element) => {
209 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 210 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
211 | await expect(byRole).toBeChecked();
212 | });
213 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:210:26
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:208:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:181:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:36:5
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
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 @ko › Then I should see a checkbox named "Allow automatic update" checked
Raw output
[chrome] › ko.feature.spec.js:39:7 › Ko › Checkbox - Ko unchecked @ko › Then I should see a checkbox named "Allow automatic update" checked
Error: Timed out 6000ms 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 6000ms
- waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:210
208 | await getPageOrElement(world).then(async (element) => {
209 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 210 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
211 | await expect(byRole).toBeChecked();
212 | });
213 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:210:26
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:208:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_checkbox.ts:181:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:40:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/playwright/ko.feature-Ko-Checkbox---Ko-unchecked-chrome/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 6000ms 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 6000ms
- waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:210
208 | await getPageOrElement(world).then(async (element) => {
209 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 210 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
211 | await expect(byRole).toBeChecked();
212 | });
213 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:210:26
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:208:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_checkbox.ts:181:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:40:5
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 6000ms 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 6000ms
- waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true, includeHidden: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:210
208 | await getPageOrElement(world).then(async (element) => {
209 | const byRole = await element.getByRole(expectedRole, { name: name, includeHidden: true, exact: true });
> 210 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
211 | await expect(byRole).toBeChecked();
212 | });
213 | }
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:210:26
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:208:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_checkbox.ts:181:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:40:5
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
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 @ko › 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 @ko › When I click on element with role "checkbox" and name "Allow automatic update"
Error: Timed out 6000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 6000ms
- waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:292
290 | exact: true
291 | });
> 292 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
293 | await byRole.click();
294 | await world.page.waitForLoadState();
295 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:292:26
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:287:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:99: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 6000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 6000ms
- waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:292
290 | exact: true
291 | });
> 292 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
293 | await byRole.click();
294 | await world.page.waitForLoadState();
295 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:292:26
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:287:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:99: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 6000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 6000ms
- waiting for getByRole('checkbox', { name: 'Allow automatic update', exact: true })
10 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:292
290 | exact: true
291 | });
> 292 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
293 | await byRole.click();
294 | await world.page.waitForLoadState();
295 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:292:26
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:287:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:99: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
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
ko.feature.spec.js ► Ko › click failed with custom timeout
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] › ko.feature.spec.js:48:7 › Ko › click failed with custom timeout @ko › Then I click on button named "Timer ended"
Raw output
[chrome] › ko.feature.spec.js:48:7 › Ko › click failed with custom timeout @ko › Then I click on button named "Timer ended"
Error: Timed out 9000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('button', { name: 'Timer ended', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 9000ms
- waiting for getByRole('button', { name: 'Timer ended', exact: true })
13 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:292
290 | exact: true
291 | });
> 292 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
293 | await byRole.click();
294 | await world.page.waitForLoadState();
295 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:292:26
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:287:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_button.ts:72:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:52:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/playwright/ko.feature-Ko-click-failed-with-custom-timeout-chrome/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 9000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('button', { name: 'Timer ended', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 9000ms
- waiting for getByRole('button', { name: 'Timer ended', exact: true })
13 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:292
290 | exact: true
291 | });
> 292 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
293 | await byRole.click();
294 | await world.page.waitForLoadState();
295 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:292:26
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:287:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_button.ts:72:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:52:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/playwright/ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
reports/playwright/ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry1/trace.zip
Usage:
npx playwright show-trace reports/playwright/ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 9000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('button', { name: 'Timer ended', exact: true })
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 9000ms
- waiting for getByRole('button', { name: 'Timer ended', exact: true })
13 × locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:292
290 | exact: true
291 | });
> 292 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
293 | await byRole.click();
294 | await world.page.waitForLoadState();
295 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:292:26
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:287:3)
at BddWorld.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_button.ts:72:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/ko.feature.spec.js:52:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/playwright/ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────