feat(core): DropdownOpen
focus item in dropdown upon opening
#3085
Annotations
4 errors and 2 notices
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L59
1) [chromium] › tests/core/dropdown/dropdown.spec.ts:53:9 › Dropdown › Esc -> Hosted Dropdown ────
Error: Screenshot comparison failed:
7507 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/dropdown/dropdown.spec.ts-snapshots/06-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium/06-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium/06-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(06-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 7507 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 7507 pixels (ratio 0.01 of all image pixels) are different.
57 | await example.scrollIntoViewIfNeeded();
58 | await example.locator('button[tuiChevron]').click();
> 59 | await expect(page).toHaveScreenshot('06-dropdown.png');
| ^
60 |
61 | await page
62 | .locator("tui-dropdown [automation-id='tui-select__textfield']")
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:59:28
|
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L59
1) [chromium] › tests/core/dropdown/dropdown.spec.ts:53:9 › Dropdown › Esc -> Hosted Dropdown ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
7507 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/dropdown/dropdown.spec.ts-snapshots/06-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium-retry1/06-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium-retry1/06-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(06-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 7507 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 7507 pixels (ratio 0.01 of all image pixels) are different.
57 | await example.scrollIntoViewIfNeeded();
58 | await example.locator('button[tuiChevron]').click();
> 59 | await expect(page).toHaveScreenshot('06-dropdown.png');
| ^
60 |
61 | await page
62 | .locator("tui-dropdown [automation-id='tui-select__textfield']")
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:59:28
|
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L59
1) [chromium] › tests/core/dropdown/dropdown.spec.ts:53:9 › Dropdown › Esc -> Hosted Dropdown ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
7507 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/dropdown/dropdown.spec.ts-snapshots/06-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium-retry2/06-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium-retry2/06-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(06-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 7507 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 7507 pixels (ratio 0.01 of all image pixels) are different.
57 | await example.scrollIntoViewIfNeeded();
58 | await example.locator('button[tuiChevron]').click();
> 59 | await expect(page).toHaveScreenshot('06-dropdown.png');
| ^
60 |
61 | await page
62 | .locator("tui-dropdown [automation-id='tui-select__textfield']")
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:59:28
|
|
|
|
This job succeeded
Loading