chore(deps): update gradle to v8.14.4 #1202
Report - Unit Tests - Playwright â
â packages/runner-playwright/reports/e2e/junit-report.xml
166 tests were completed in 393s with 154 passed, 12 failed and 0 skipped.
â Â e2e/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
â Â e2e/en-basedByRole-step-definition.feature.spec.js
â
enriched by role step definition âş role, name or content âş key.then.element.withRoleAndName
â
enriched by role step definition âş role, name or content âş key.then.element.not.withRoleAndName
â
enriched by role step definition âş role, name or content âş key.then.element.withRoleAndNameAndContent
â
enriched by role step definition âş role, name or content âş key.then.element.withRoleAndNameAndContentDisabled
â
enriched by role step definition âş role, name or content âş key.then.element.withRoleAndNameDisabled
â
enriched by role step definition âş role, name or content âş key.then.element.withRoleAndNameAndContentEnabled
â
enriched by role step definition âş role, name or content âş key.then.element.withRoleAndNameEnabled
â
enriched by role step definition âş Attributes âş key.then.attributes.withValues
â Â e2e/en-checkable.feature.spec.js
â
Checkable components âş Radio button
â
Checkable components âş Radio button and click
â
Checkable components âş Checkbox
â
Checkable components âş Checkbox and click
â Â e2e/en-form-field.feature.spec.js
â
Form field âş select a value in combo box then check
â
Form field âş Set a input text value then check
â
Form field âş Set a input number value then check
â Â e2e/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
â Â e2e/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
â Â e2e/en-page-title.feature.spec.js
â
Page title âş key.then.title.withNameAndLevel
â
Page title âş key.then.grid.withNameAndContent
â
Page title âş key.then.grid.withNameAndContent multiple
â Â e2e/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
â Â e2e/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
â
English Test Step Definition âş image
â Â e2e/en-table-and-grid.feature.spec.js
â
Table and grid âş key.then.grid.withNameAndContent
â
Table and grid âş key.then.treegrid.withNameAndContent
â
Table and grid âş key.then.table.withNameAndContent
â
Table and grid âş key.then.aggrid.withNameAndContent
â
Table and grid âş key.then.aggrid-edit.withNameAndContent
â Â e2e/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
â Â e2e/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
â Â e2e/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.withRoleAndNameDisabled
â
phrases enrichies âş role, name or content âş key.then.element.withRoleAndNameAndContentEnabled
â
phrases enrichies âş role, name or content âş key.then.element.withRoleAndNameEnabled
â
phrases enrichies âş Attributes âş key.then.attributes.withValues
â Â e2e/fr-checkable.feature.spec.js
â
Composants cochable âş Radio button
â
Composants cochable âş Radio button and click
â
Composants cochable âş Checkbox
â
Composants cochable âş Checkbox and click
â Â e2e/fr-form-field.feature.spec.js
â
Champ de formulaire âş select a value in combo box then check
â
Champ de formulaire âş Set a input text value then check
â
Champ de formulaire âş Set a input number value then check
â Â e2e/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
â Â e2e/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
â Â e2e/fr-page-title.feature.spec.js
â
Titre de page âş key.then.title.withNameAndLevel
â
Titre de page âş key.then.grid.withNameAndContent
â
Titre de page âş key.then.grid.withNameAndContent multiple
â Â e2e/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
â Â e2e/fr-step-definition.feature.spec.js
â
Dictionnaire français de phrases de base utilisant playwright ⺠Aria label ⺠key.then.element.withAriaLabel - 1/2
â
Dictionnaire français de phrases de base utilisant playwright ⺠Aria label ⺠key.then.element.withAriaLabel - 2/2
â
Dictionnaire français de phrases de base utilisant playwright ⺠Aria label ⺠key.then.element.not.withAriaLabel
â
Dictionnaire français de phrases de base utilisant playwright ⺠Aria label ⺠key.then.element.withAriaLabelAndContent
â
Dictionnaire français de phrases de base utilisant playwright ⺠Content ⺠key.then.element.withContent
â
Dictionnaire français de phrases de base utilisant playwright ⺠Content ⺠key.then.element.not.withContent
â
Dictionnaire français de phrases de base utilisant playwright ⺠TestId ⺠key.then.element.withTestId
â
Dictionnaire français de phrases de base utilisant playwright ⺠TestId ⺠key.then.element.not.withTestId
â
Dictionnaire français de phrases de base utilisant playwright ⺠Role, name or content ⺠key.then.element.withRoleAndName
â
Dictionnaire français de phrases de base utilisant playwright ⺠Role, name or content ⺠key.then.element.not.withRoleAndName
â
Dictionnaire français de phrases de base utilisant playwright ⺠Role, name or content ⺠key.then.element.withRoleAndNameAndContent
â
Dictionnaire français de phrases de base utilisant playwright ⺠Role, name or content ⺠key.then.element.withRoleAndNameAndContentDisabled
â
Dictionnaire français de phrases de base utilisant playwright ⺠Role, name or content ⺠key.then.element.withRoleAndNameAndContentEnabled
â
Dictionnaire français de phrases de base utilisant playwright ⺠Role, name or content ⺠key.then.list.withNameAndContent
â
Dictionnaire français de phrases de base utilisant playwright ⺠Attributes ⺠key.then.attributes.withValues
â
Dictionnaire français de phrases de base utilisant playwright ⺠Action ⺠key.then.element.key.when.click.withContext
â
Dictionnaire français de phrases de base utilisant playwright ⺠Action ⺠key.then.element.key.when.click.button without context
â
Dictionnaire français de phrases de base utilisant playwright ⺠Action ⺠key.then.element.key.when.click.button with context
â
Dictionnaire français de phrases de base utilisant playwright ⺠Action ⺠key.then.element.key.when.click.withRole
â
Dictionnaire français de phrases de base utilisant playwright ⺠Action ⺠key.then.element.key.when.type
â
Dictionnaire français de phrases de base utilisant playwright ⺠Other ⺠key.given.within.selector
â
Dictionnaire français de phrases de base utilisant playwright ⺠Other ⺠image
â Â e2e/fr-table-and-grid.feature.spec.js
â
Tableau et grille âş key.then.grid.withNameAndContent
â
Tableau et grille âş key.then.treegrid.withNameAndContent
â
Tableau et grille âş key.then.table.withNameAndContent
â
Tableau et grille âş key.then.aggrid.withNameAndContent
â
Tableau et grille âş key.then.aggrid-edit.withNameAndContent
â Â e2e/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
â e2e/ko.feature.spec.js
â Ko âş Homepage - Bad title
[chrome] âş e2e/ko.feature.spec.js:6: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] âş e2e/ko.feature.spec.js:18: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] âş e2e/ko.feature.spec.js:26: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] âş e2e/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] âş e2e/ko.feature.spec.js:36: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] âş e2e/ko.feature.spec.js:41:7 âş Ko âş Checkbox - Ko unchecked @ko âş Then I should see a checkbox named "Allow automatic update" checked
â Ko âş Checkbox - Ko checked
[chrome] âş e2e/ko.feature.spec.js:46: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] âş e2e/ko.feature.spec.js:52:7 âş Ko âş click failed with custom timeout @ko âş Then I click on button named "Timer ended"
â Ko âş Table content should failed when wrong content
[chrome] âş e2e/ko.feature.spec.js:59:7 âş Ko âş Table content should failed when wrong content @ko âş Then I should see a table named "HTML Table Example" and containing
â Ko âş Title should failed when bad level
[chrome] âş e2e/ko.feature.spec.js:64:7 âş Ko âş Title should failed when bad level @ko âş Then I should see a title named "HTML Grid Example" with level 2
â Ko âş Select a value in combo box then check - Bad value
[chrome] âş e2e/ko.feature.spec.js:69:7 âş Ko âş Select a value in combo box then check - Bad value @ko âş Then I should see a combo box named "Town type" with value "Unreal1"
â Ko âş Set a input text value then check - Bad value
[chrome] âş e2e/ko.feature.spec.js:76:7 âş Ko âş Set a input text value then check - Bad value @ko âş Then I should see a text box named "Town name" with value "Qwerty"
â Â e2e/timeout.feature.spec.js
â
Timeout âş click success with custom timeout
â
Timeout âş Chaining within
â Â e2e/unsafe.feature.spec.js
â
phrases custom âş key.given.within.selector âş Exemples: #1
â
phrases custom âş key.given.within.selector âş Exemples: #2
â Â e2e/using-relative-url.feature.spec.js
â
Using relative url âş Should land on weather app homepage
â Â e2e/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
e2e/ko.feature.spec.js âş Ko âş Homepage - Bad title
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/ko.feature.spec.js:6:7 âş Ko âş Homepage - Bad title @ko âş Then I should see a title named "Welcome to Weather App - ko"
Raw output
[chrome] âş e2e/ko.feature.spec.js:6:7 âş Ko âş Homepage - Bad title @ko âş Then I should see a title named "Welcome to Weather App - ko"
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:343
341 | expectedRole = encodeURIComponent(expectedRole);
342 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true, ...otherRoleOptions });
> 343 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
344 | if (expectedTextContent !== undefined) {
345 | await checkTextContentLocator(byRole, expectedTextContent);
346 | }
at findWithRoleAndNameAndContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:343:26)
at findWithRoleAndName (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:207:12)
at World.<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/e2e/ko.feature.spec.js:8:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Homepage---Bad-title-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Homepage---Bad-title-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:343
341 | expectedRole = encodeURIComponent(expectedRole);
342 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true, ...otherRoleOptions });
> 343 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
344 | if (expectedTextContent !== undefined) {
345 | await checkTextContentLocator(byRole, expectedTextContent);
346 | }
at findWithRoleAndNameAndContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:343:26)
at findWithRoleAndName (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:207:12)
at World.<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/e2e/ko.feature.spec.js:8:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Homepage---Bad-title-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Homepage---Bad-title-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Homepage---Bad-title-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-Homepage---Bad-title-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('heading', { name: 'Welcome to Weather App - ko', exact: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:343
341 | expectedRole = encodeURIComponent(expectedRole);
342 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true, ...otherRoleOptions });
> 343 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
344 | if (expectedTextContent !== undefined) {
345 | await checkTextContentLocator(byRole, expectedTextContent);
346 | }
at findWithRoleAndNameAndContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:343:26)
at findWithRoleAndName (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:207:12)
at World.<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/e2e/ko.feature.spec.js:8:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Homepage---Bad-title-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Homepage---Bad-title-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/ko.feature.spec.js âş Ko âş TownResearch - Bad textbox name
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/ko.feature.spec.js:18: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] âş e2e/ko.feature.spec.js:18:7 âş Ko âş TownResearch - Bad textbox name @ko âş And I type the sentence "i" in the text box named "Search for a town3"
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('textbox', { name: 'Search for a town3', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
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/core-engine.ts:587
585 | export async function type(world: World, role: any, name: string, textToType: string): Promise<LocatorTest> {
586 | const byRole = (await getPageOrElement(world)).getByRole(role, { name: name, exact: true });
> 587 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
588 | byRole.type(textToType, { timeout: await getTimeout(world) });
589 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
590 | return byRole;
at type (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:587:26)
at World.<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/e2e/ko.feature.spec.js:21:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-TownResearch---Bad-textbox-name-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-TownResearch---Bad-textbox-name-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('textbox', { name: 'Search for a town3', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
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/core-engine.ts:587
585 | export async function type(world: World, role: any, name: string, textToType: string): Promise<LocatorTest> {
586 | const byRole = (await getPageOrElement(world)).getByRole(role, { name: name, exact: true });
> 587 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
588 | byRole.type(textToType, { timeout: await getTimeout(world) });
589 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
590 | return byRole;
at type (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:587:26)
at World.<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/e2e/ko.feature.spec.js:21:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('textbox', { name: 'Search for a town3', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
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/core-engine.ts:587
585 | export async function type(world: World, role: any, name: string, textToType: string): Promise<LocatorTest> {
586 | const byRole = (await getPageOrElement(world)).getByRole(role, { name: name, exact: true });
> 587 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
588 | byRole.type(textToType, { timeout: await getTimeout(world) });
589 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
590 | return byRole;
at type (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:587:26)
at World.<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/e2e/ko.feature.spec.js:21:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-TownResearch---Bad-textbox-name-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/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] âş e2e/ko.feature.spec.js:26:7 âş Ko âş Error when waiting a mock without instanciate a mock before @ko âş Then I should consume a mock named "uuvFixture"
Raw output
[chrome] âş e2e/ko.feature.spec.js:26: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"
584 | expect(() => {
585 | if (!cookie.isValid()) {
> 586 | throw new Error(`Mock ${name} must be defined before use this sentence`);
| ^
587 | }
588 | }).not.toThrow();
589 |
at src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:586:13
at Object.<anonymous> (../../node_modules/playwright/lib/common/expectBundleImpl.js:293:1495)
at Object.w [as toThrow] (../../node_modules/playwright/lib/common/expectBundleImpl.js:338:895)
at callback (../../node_modules/playwright/lib/matchers/expect.js:249:40)
at Zone.run (../../node_modules/playwright-core/lib/server/utils/zones.js:42:36)
at Proxy.toThrow (../../node_modules/playwright/lib/matchers/expect.js:250:79)
at World.<anonymous> (src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:588:10)
at ../../node_modules/playwright-bdd/src/runtime/bddStepInvoker.ts:59:22
at TestStepInfoImpl._runStepBody (../../node_modules/playwright/lib/worker/testInfo.js:506:14)
at ../../node_modules/playwright/lib/common/testType.js:245:20
at ../../node_modules/playwright/lib/common/testType.js:243:18
at TestTypeImpl._step (../../node_modules/playwright/lib/common/testType.js:240:12)
at BddStepInvoker.invoke (../../node_modules/playwright-bdd/src/runtime/bddStepInvoker.ts:53:5)
at tests/.features-gen/e2e/ko.feature.spec.js:28:5
at ../../node_modules/playwright/lib/worker/workerMain.js:323:9
at ../../node_modules/playwright/lib/worker/testInfo.js:320:11
at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:67:14)
at TestInfoImpl._runWithTimeout (../../node_modules/playwright/lib/worker/testInfo.js:318:7)
at ../../node_modules/playwright/lib/worker/workerMain.js:321:7
at WorkerMain._runTest (../../node_modules/playwright/lib/worker/workerMain.js:296:5)
at WorkerMain.runTestGroup (../../node_modules/playwright/lib/worker/workerMain.js:196:11)
at process.<anonymous> (../../node_modules/playwright/lib/common/process.js:72:22)
at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:588
586 | throw new Error(`Mock ${name} must be defined before use this sentence`);
587 | }
> 588 | }).not.toThrow();
| ^
589 |
590 | await expect.poll(async () => {
591 | const cookie = await getCookie(this, COOKIE_NAME.MOCK_URL);
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:588:10)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:28:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Error-wh-c822d-t-instanciate-a-mock-before-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Error-wh-c822d-t-instanciate-a-mock-before-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Mock uuvFixture must be defined before use this sentence"
584 | expect(() => {
585 | if (!cookie.isValid()) {
> 586 | throw new Error(`Mock ${name} must be defined before use this sentence`);
| ^
587 | }
588 | }).not.toThrow();
589 |
at src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:586:13
at Object.<anonymous> (../../node_modules/playwright/lib/common/expectBundleImpl.js:293:1495)
at Object.w [as toThrow] (../../node_modules/playwright/lib/common/expectBundleImpl.js:338:895)
at callback (../../node_modules/playwright/lib/matchers/expect.js:249:40)
at Zone.run (../../node_modules/playwright-core/lib/server/utils/zones.js:42:36)
at Proxy.toThrow (../../node_modules/playwright/lib/matchers/expect.js:250:79)
at World.<anonymous> (src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:588:10)
at ../../node_modules/playwright-bdd/src/runtime/bddStepInvoker.ts:59:22
at TestStepInfoImpl._runStepBody (../../node_modules/playwright/lib/worker/testInfo.js:506:14)
at ../../node_modules/playwright/lib/common/testType.js:245:20
at ../../node_modules/playwright/lib/common/testType.js:243:18
at TestTypeImpl._step (../../node_modules/playwright/lib/common/testType.js:240:12)
at BddStepInvoker.invoke (../../node_modules/playwright-bdd/src/runtime/bddStepInvoker.ts:53:5)
at tests/.features-gen/e2e/ko.feature.spec.js:28:5
at ../../node_modules/playwright/lib/worker/workerMain.js:323:9
at ../../node_modules/playwright/lib/worker/testInfo.js:320:11
at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:67:14)
at TestInfoImpl._runWithTimeout (../../node_modules/playwright/lib/worker/testInfo.js:318:7)
at ../../node_modules/playwright/lib/worker/workerMain.js:321:7
at WorkerMain._runTest (../../node_modules/playwright/lib/worker/workerMain.js:296:5)
at WorkerMain.runTestGroup (../../node_modules/playwright/lib/worker/workerMain.js:196:11)
at process.<anonymous> (../../node_modules/playwright/lib/common/process.js:72:22)
at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:588
586 | throw new Error(`Mock ${name} must be defined before use this sentence`);
587 | }
> 588 | }).not.toThrow();
| ^
589 |
590 | await expect.poll(async () => {
591 | const cookie = await getCookie(this, COOKIE_NAME.MOCK_URL);
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:588:10)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:28:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Error-wh-c822d-t-instanciate-a-mock-before-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Error-wh-c822d-t-instanciate-a-mock-before-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Error-wh-c822d-t-instanciate-a-mock-before-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-Error-wh-c822d-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"
584 | expect(() => {
585 | if (!cookie.isValid()) {
> 586 | throw new Error(`Mock ${name} must be defined before use this sentence`);
| ^
587 | }
588 | }).not.toThrow();
589 |
at src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:586:13
at Object.<anonymous> (../../node_modules/playwright/lib/common/expectBundleImpl.js:293:1495)
at Object.w [as toThrow] (../../node_modules/playwright/lib/common/expectBundleImpl.js:338:895)
at callback (../../node_modules/playwright/lib/matchers/expect.js:249:40)
at Zone.run (../../node_modules/playwright-core/lib/server/utils/zones.js:42:36)
at Proxy.toThrow (../../node_modules/playwright/lib/matchers/expect.js:250:79)
at World.<anonymous> (src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:588:10)
at ../../node_modules/playwright-bdd/src/runtime/bddStepInvoker.ts:59:22
at TestStepInfoImpl._runStepBody (../../node_modules/playwright/lib/worker/testInfo.js:506:14)
at ../../node_modules/playwright/lib/common/testType.js:245:20
at ../../node_modules/playwright/lib/common/testType.js:243:18
at TestTypeImpl._step (../../node_modules/playwright/lib/common/testType.js:240:12)
at BddStepInvoker.invoke (../../node_modules/playwright-bdd/src/runtime/bddStepInvoker.ts:53:5)
at tests/.features-gen/e2e/ko.feature.spec.js:28:5
at ../../node_modules/playwright/lib/worker/workerMain.js:323:9
at ../../node_modules/playwright/lib/worker/testInfo.js:320:11
at TimeoutManager.withRunnable (../../node_modules/playwright/lib/worker/timeoutManager.js:67:14)
at TestInfoImpl._runWithTimeout (../../node_modules/playwright/lib/worker/testInfo.js:318:7)
at ../../node_modules/playwright/lib/worker/workerMain.js:321:7
at WorkerMain._runTest (../../node_modules/playwright/lib/worker/workerMain.js:296:5)
at WorkerMain.runTestGroup (../../node_modules/playwright/lib/worker/workerMain.js:196:11)
at process.<anonymous> (../../node_modules/playwright/lib/common/process.js:72:22)
at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:588
586 | throw new Error(`Mock ${name} must be defined before use this sentence`);
587 | }
> 588 | }).not.toThrow();
| ^
589 |
590 | await expect.poll(async () => {
591 | const cookie = await getCookie(this, COOKIE_NAME.MOCK_URL);
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:588:10)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:28:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Error-wh-c822d-t-instanciate-a-mock-before-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Error-wh-c822d-t-instanciate-a-mock-before-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/ko.feature.spec.js âş Ko âş Radio button - Ko unchecked
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/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] âş e2e/ko.feature.spec.js:31:7 âş Ko âş Radio button - Ko unchecked @ko âş Then I should see a radio named "Small (under 150000)" unchecked
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('radio', { name: 'Small (under 150000)', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('radio', { name: 'Small (under 150000)', exact: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:394
392 | expectedRole = encodeURIComponent(expectedRole);
393 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true });
> 394 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
395 | await expect(byRole).not.toBeChecked({ timeout: await getTimeout(world) });
396 | return byRole;
397 | }
at findWithRoleAndNameAndUnchecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:394:26)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:209:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:33:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-unchecked-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-unchecked-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('radio', { name: 'Small (under 150000)', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('radio', { name: 'Small (under 150000)', exact: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:394
392 | expectedRole = encodeURIComponent(expectedRole);
393 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true });
> 394 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
395 | await expect(byRole).not.toBeChecked({ timeout: await getTimeout(world) });
396 | return byRole;
397 | }
at findWithRoleAndNameAndUnchecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:394:26)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:209:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:33:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('radio', { name: 'Small (under 150000)', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('radio', { name: 'Small (under 150000)', exact: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:394
392 | expectedRole = encodeURIComponent(expectedRole);
393 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true });
> 394 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
395 | await expect(byRole).not.toBeChecked({ timeout: await getTimeout(world) });
396 | return byRole;
397 | }
at findWithRoleAndNameAndUnchecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:394:26)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:209:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:33:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-unchecked-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/ko.feature.spec.js âş Ko âş Radio button - Ko checked
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/ko.feature.spec.js:36:7 âş Ko âş Radio button - Ko checked @ko âş Then I should see a radio named "Medium (150000 to 1 million)" checked
Raw output
[chrome] âş e2e/ko.feature.spec.js:36:7 âş Ko âş Radio button - Ko checked @ko âş Then I should see a radio named "Medium (150000 to 1 million)" checked
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:378
376 | expectedRole = encodeURIComponent(expectedRole);
377 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true });
> 378 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
379 | await expect(byRole).toBeChecked({ timeout: await getTimeout(world) });
380 | return byRole;
381 | }
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:378:26)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:199:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:38:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-checked-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-checked-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:378
376 | expectedRole = encodeURIComponent(expectedRole);
377 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true });
> 378 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
379 | await expect(byRole).toBeChecked({ timeout: await getTimeout(world) });
380 | return byRole;
381 | }
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:378:26)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:199:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:38:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-checked-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-checked-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-checked-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-checked-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('radio', { name: 'Medium (150000 to 1 million)', exact: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:378
376 | expectedRole = encodeURIComponent(expectedRole);
377 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true });
> 378 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
379 | await expect(byRole).toBeChecked({ timeout: await getTimeout(world) });
380 | return byRole;
381 | }
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:378:26)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_radio.ts:199:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:38:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-checked-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Radio-button---Ko-checked-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/ko.feature.spec.js âş Ko âş Checkbox - Ko unchecked
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/ko.feature.spec.js:41:7 âş Ko âş Checkbox - Ko unchecked @ko âş Then I should see a checkbox named "Allow automatic update" checked
Raw output
[chrome] âş e2e/ko.feature.spec.js:41:7 âş Ko âş Checkbox - Ko unchecked @ko âş Then I should see a checkbox named "Allow automatic update" checked
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
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:378
376 | expectedRole = encodeURIComponent(expectedRole);
377 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true });
> 378 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
379 | await expect(byRole).toBeChecked({ timeout: await getTimeout(world) });
380 | return byRole;
381 | }
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:378:26)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_checkbox.ts:199:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:43:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-unchecked-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-unchecked-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
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:378
376 | expectedRole = encodeURIComponent(expectedRole);
377 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true });
> 378 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
379 | await expect(byRole).toBeChecked({ timeout: await getTimeout(world) });
380 | return byRole;
381 | }
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:378:26)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_checkbox.ts:199:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:43:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
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:378
376 | expectedRole = encodeURIComponent(expectedRole);
377 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true });
> 378 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
379 | await expect(byRole).toBeChecked({ timeout: await getTimeout(world) });
380 | return byRole;
381 | }
at findWithRoleAndNameAndChecked (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:378:26)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/enriched/en/_en-generated-steps-definition_checkbox.ts:199:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:43:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-unchecked-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/ko.feature.spec.js âş Ko âş Checkbox - Ko checked
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/ko.feature.spec.js:46:7 âş Ko âş Checkbox - Ko checked @ko âş When I click on element with role "checkbox" and name "Allow automatic update"
Raw output
[chrome] âş e2e/ko.feature.spec.js:46:7 âş Ko âş Checkbox - Ko checked @ko âş When I click on element with role "checkbox" and name "Allow automatic update"
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
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:556
554 | export async function click(world: World, role: any, name: string): Promise<LocatorTest> {
555 | const byRole = (await getPageOrElement(world)).getByRole(role, { name: name, exact: true });
> 556 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
557 | byRole.click({ timeout: await getTimeout(world) });
558 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
559 | return byRole;
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:556:24)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:103:3)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:48:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-checked-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-checked-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
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:556
554 | export async function click(world: World, role: any, name: string): Promise<LocatorTest> {
555 | const byRole = (await getPageOrElement(world)).getByRole(role, { name: name, exact: true });
> 556 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
557 | byRole.click({ timeout: await getTimeout(world) });
558 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
559 | return byRole;
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:556:24)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:103:3)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:48:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-checked-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-checked-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-checked-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-checked-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('checkbox', { name: 'Allow automatic update', exact: true })
Expected: 1
Received: 0
Timeout: 6000ms
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:556
554 | export async function click(world: World, role: any, name: string): Promise<LocatorTest> {
555 | const byRole = (await getPageOrElement(world)).getByRole(role, { name: name, exact: true });
> 556 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
557 | byRole.click({ timeout: await getTimeout(world) });
558 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
559 | return byRole;
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:556:24)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:103:3)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:48:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-checked-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Checkbox---Ko-checked-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/ko.feature.spec.js âş Ko âş click failed with custom timeout
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/ko.feature.spec.js:52:7 âş Ko âş click failed with custom timeout @ko âş Then I click on button named "Timer ended"
Raw output
[chrome] âş e2e/ko.feature.spec.js:52:7 âş Ko âş click failed with custom timeout @ko âş Then I click on button named "Timer ended"
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('button', { name: 'Timer ended', exact: true })
Expected: 1
Received: 0
Timeout: 9000ms
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:556
554 | export async function click(world: World, role: any, name: string): Promise<LocatorTest> {
555 | const byRole = (await getPageOrElement(world)).getByRole(role, { name: name, exact: true });
> 556 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
557 | byRole.click({ timeout: await getTimeout(world) });
558 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
559 | return byRole;
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:556:24)
at World.<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/e2e/ko.feature.spec.js:56:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-click-failed-with-custom-timeout-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-click-failed-with-custom-timeout-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('button', { name: 'Timer ended', exact: true })
Expected: 1
Received: 0
Timeout: 9000ms
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:556
554 | export async function click(world: World, role: any, name: string): Promise<LocatorTest> {
555 | const byRole = (await getPageOrElement(world)).getByRole(role, { name: name, exact: true });
> 556 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
557 | byRole.click({ timeout: await getTimeout(world) });
558 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
559 | return byRole;
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:556:24)
at World.<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/e2e/ko.feature.spec.js:56:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('button', { name: 'Timer ended', exact: true })
Expected: 1
Received: 0
Timeout: 9000ms
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:556
554 | export async function click(world: World, role: any, name: string): Promise<LocatorTest> {
555 | const byRole = (await getPageOrElement(world)).getByRole(role, { name: name, exact: true });
> 556 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
557 | byRole.click({ timeout: await getTimeout(world) });
558 | await deleteCookieByName(world, COOKIE_NAME.SELECTED_ELEMENT);
559 | return byRole;
at click (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:556:24)
at World.<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/e2e/ko.feature.spec.js:56:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-click-failed-with-custom-timeout-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/ko.feature.spec.js âş Ko âş Table content should failed when wrong content
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/ko.feature.spec.js:59:7 âş Ko âş Table content should failed when wrong content @ko âş Then I should see a table named "HTML Table Example" and containing
Raw output
[chrome] âş e2e/ko.feature.spec.js:59:7 âş Ko âş Table content should failed when wrong content @ko âş Then I should see a table named "HTML Table Example" and containing
Error: cell at index [3, 2] should be Etienne Daaho
expect(locator).toHaveAccessibleName(expected) failed
Locator: locator('role=table[name="HTML Table Example"]').getByRole('row').nth(2).getByRole('cell').nth(1)
Expected: "Etienne Daaho"
Received: "Francisco Chang"
Timeout: 5000ms
Call log:
- cell at index [3, 2] should be Etienne Daaho with timeout 5000ms
- waiting for locator('role=table[name="HTML Table Example"]').getByRole('row').nth(2).getByRole('cell').nth(1)
9 Ă locator resolved to <td>Francisco Chang</td>
- unexpected value "Francisco Chang"
at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:720
718 | const expectedValue = expectedElementsOfList[rowNumber][cellNumber];
719 | cellNumber++;
> 720 | return expect(cell, { message: `${cellAccessibleRole} at index [${rowNumber + 1}, ${cellNumber}] should be ${expectedValue}` }).toHaveAccessibleName(expectedValue);
| ^
721 | }));
722 | }));
723 | }
at map (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:720:141)
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:717:47
at expectTableToHaveContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:713:12)
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:690:13
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:689:9)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:61:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Table-co-2ec59-d-failed-when-wrong-content-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Table-co-2ec59-d-failed-when-wrong-content-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: cell at index [3, 2] should be Etienne Daaho
expect(locator).toHaveAccessibleName(expected) failed
Locator: locator('role=table[name="HTML Table Example"]').getByRole('row').nth(2).getByRole('cell').nth(1)
Expected: "Etienne Daaho"
Received: "Francisco Chang"
Timeout: 5000ms
Call log:
- cell at index [3, 2] should be Etienne Daaho with timeout 5000ms
- waiting for locator('role=table[name="HTML Table Example"]').getByRole('row').nth(2).getByRole('cell').nth(1)
9 Ă locator resolved to <td>Francisco Chang</td>
- unexpected value "Francisco Chang"
at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:720
718 | const expectedValue = expectedElementsOfList[rowNumber][cellNumber];
719 | cellNumber++;
> 720 | return expect(cell, { message: `${cellAccessibleRole} at index [${rowNumber + 1}, ${cellNumber}] should be ${expectedValue}` }).toHaveAccessibleName(expectedValue);
| ^
721 | }));
722 | }));
723 | }
at map (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:720:141)
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:717:47
at expectTableToHaveContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:713:12)
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:690:13
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:689:9)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:61:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Table-co-2ec59-d-failed-when-wrong-content-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Table-co-2ec59-d-failed-when-wrong-content-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Table-co-2ec59-d-failed-when-wrong-content-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-Table-co-2ec59-d-failed-when-wrong-content-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: cell at index [3, 2] should be Etienne Daaho
expect(locator).toHaveAccessibleName(expected) failed
Locator: locator('role=table[name="HTML Table Example"]').getByRole('row').nth(2).getByRole('cell').nth(1)
Expected: "Etienne Daaho"
Received: "Francisco Chang"
Timeout: 5000ms
Call log:
- cell at index [3, 2] should be Etienne Daaho with timeout 5000ms
- waiting for locator('role=table[name="HTML Table Example"]').getByRole('row').nth(2).getByRole('cell').nth(1)
9 Ă locator resolved to <td>Francisco Chang</td>
- unexpected value "Francisco Chang"
at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:720
718 | const expectedValue = expectedElementsOfList[rowNumber][cellNumber];
719 | cellNumber++;
> 720 | return expect(cell, { message: `${cellAccessibleRole} at index [${rowNumber + 1}, ${cellNumber}] should be ${expectedValue}` }).toHaveAccessibleName(expectedValue);
| ^
721 | }));
722 | }));
723 | }
at map (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:720:141)
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:717:47
at expectTableToHaveContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:713:12)
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:690:13
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:689:9)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:61:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Table-co-2ec59-d-failed-when-wrong-content-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Table-co-2ec59-d-failed-when-wrong-content-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/ko.feature.spec.js âş Ko âş Title should failed when bad level
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/ko.feature.spec.js:64:7 âş Ko âş Title should failed when bad level @ko âş Then I should see a title named "HTML Grid Example" with level 2
Raw output
[chrome] âş e2e/ko.feature.spec.js:64:7 âş Ko âş Title should failed when bad level @ko âş Then I should see a title named "HTML Grid Example" with level 2
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('heading', { name: 'HTML Grid Example', exact: true, level: 2 })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('heading', { name: 'HTML Grid Example', exact: true, level: 2 })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:343
341 | expectedRole = encodeURIComponent(expectedRole);
342 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true, ...otherRoleOptions });
> 343 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
344 | if (expectedTextContent !== undefined) {
345 | await checkTextContentLocator(byRole, expectedTextContent);
346 | }
at findWithRoleAndNameAndContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:343:26)
at findWithRoleAndName (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:207:12)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:700:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:66:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Title-should-failed-when-bad-level-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Title-should-failed-when-bad-level-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('heading', { name: 'HTML Grid Example', exact: true, level: 2 })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('heading', { name: 'HTML Grid Example', exact: true, level: 2 })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:343
341 | expectedRole = encodeURIComponent(expectedRole);
342 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true, ...otherRoleOptions });
> 343 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
344 | if (expectedTextContent !== undefined) {
345 | await checkTextContentLocator(byRole, expectedTextContent);
346 | }
at findWithRoleAndNameAndContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:343:26)
at findWithRoleAndName (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:207:12)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:700:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:66:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Title-should-failed-when-bad-level-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Title-should-failed-when-bad-level-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Title-should-failed-when-bad-level-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-Title-should-failed-when-bad-level-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('heading', { name: 'HTML Grid Example', exact: true, level: 2 })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('heading', { name: 'HTML Grid Example', exact: true, level: 2 })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/core-engine.ts:343
341 | expectedRole = encodeURIComponent(expectedRole);
342 | const byRole = (await getPageOrElement(world)).getByRole(expectedRole as any, { name: name, exact: true, ...otherRoleOptions });
> 343 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(world) });
| ^
344 | if (expectedTextContent !== undefined) {
345 | await checkTextContentLocator(byRole, expectedTextContent);
346 | }
at findWithRoleAndNameAndContent (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:343:26)
at findWithRoleAndName (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/core-engine.ts:207:12)
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:700:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:66:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Title-should-failed-when-bad-level-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Title-should-failed-when-bad-level-chrome-retry2/error-context.md
Check failure on line 0 in packages/runner-playwright/reports/e2e/junit-report.xml
github-actions / Report - Unit Tests - Playwright
e2e/ko.feature.spec.js âş Ko âş Select a value in combo box then check - Bad value
Failed test found in:
packages/runner-playwright/reports/e2e/junit-report.xml
Error:
[chrome] âş e2e/ko.feature.spec.js:69:7 âş Ko âş Select a value in combo box then check - Bad value @ko âş Then I should see a combo box named "Town type" with value "Unreal1"
Raw output
[chrome] âş e2e/ko.feature.spec.js:69:7 âş Ko âş Select a value in combo box then check - Bad value @ko âş Then I should see a combo box named "Town type" with value "Unreal1"
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('combobox', { name: 'Town type', exact: true }).getByRole('option', { name: 'Unreal1', exact: true, selected: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('combobox', { name: 'Town type', exact: true }).getByRole('option', { name: 'Unreal1', exact: true, selected: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:201
199 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(this) });
200 | await expect(byRole.getByRole("option", { name: expectedValue, selected: true, exact: true }))
> 201 | .toHaveCount(1, { timeout: await getTimeout(this) });
| ^
202 | await deleteCookieByName(this, COOKIE_NAME.SELECTED_ELEMENT);
203 | });
204 | });
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:201:14
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:197:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:73:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Select-a-af75d--box-then-check---Bad-value-chrome/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Select-a-af75d--box-then-check---Bad-value-chrome/error-context.md
Retry #1 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('combobox', { name: 'Town type', exact: true }).getByRole('option', { name: 'Unreal1', exact: true, selected: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('combobox', { name: 'Town type', exact: true }).getByRole('option', { name: 'Unreal1', exact: true, selected: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:201
199 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(this) });
200 | await expect(byRole.getByRole("option", { name: expectedValue, selected: true, exact: true }))
> 201 | .toHaveCount(1, { timeout: await getTimeout(this) });
| ^
202 | await deleteCookieByName(this, COOKIE_NAME.SELECTED_ELEMENT);
203 | });
204 | });
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:201:14
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:197:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:73:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Select-a-af75d--box-then-check---Bad-value-chrome-retry1/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Select-a-af75d--box-then-check---Bad-value-chrome-retry1/error-context.md
attachment #3: trace (application/zip) âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Select-a-af75d--box-then-check---Bad-value-chrome-retry1/trace.zip
Usage:
npx playwright show-trace ../../reports/playwright/e2e-ko.feature-Ko-Select-a-af75d--box-then-check---Bad-value-chrome-retry1/trace.zip
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Retry #2 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('combobox', { name: 'Town type', exact: true }).getByRole('option', { name: 'Unreal1', exact: true, selected: true })
Expected: 1
Received: 0
Timeout: 6000ms
Call log:
- Expect "toHaveCount" with timeout 6000ms
- waiting for getByRole('combobox', { name: 'Town type', exact: true }).getByRole('option', { name: 'Unreal1', exact: true, selected: true })
10 Ă locator resolved to 0 elements
- unexpected value "0"
at ../../src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:201
199 | await expect(byRole).toHaveCount(1, { timeout: await getTimeout(this) });
200 | await expect(byRole.getByRole("option", { name: expectedValue, selected: true, exact: true }))
> 201 | .toHaveCount(1, { timeout: await getTimeout(this) });
| ^
202 | await deleteCookieByName(this, COOKIE_NAME.SELECTED_ELEMENT);
203 | });
204 | });
at /home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:201:14
at World.<anonymous> (/home/runner/work/uuv/uuv/packages/runner-playwright/src/cucumber/step_definitions/playwright/generated/_en-generated-cucumber-steps-definition.ts:197:5)
at /home/runner/work/uuv/uuv/packages/runner-playwright/tests/.features-gen/e2e/ko.feature.spec.js:73:5
attachment #1: screenshot (image/png) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
../../reports/playwright/e2e-ko.feature-Ko-Select-a-af75d--box-then-check---Bad-value-chrome-retry2/test-failed-1.png
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Error Context: ../../reports/playwright/e2e-ko.feature-Ko-Select-a-af75d--box-then-check---Bad-value-chrome-retry2/error-context.md