Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update taiga-family/ci action to v1.105.0 #10042

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/assign-author.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: toshimaru/[email protected]
continue-on-error: true

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- id: matrix
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
run: |
Expand All @@ -31,7 +31,7 @@ jobs:
matrix:
value: ${{ fromJSON(needs.setup.outputs.matrix) }}
steps:
- uses: taiga-family/ci/actions/run/wait-job@v1.104.0
- uses: taiga-family/ci/actions/run/wait-job@v1.105.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
job: ${{ matrix.value }}
Expand All @@ -41,13 +41,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/auto/approve/double@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/auto/approve/double@v1.105.0
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }}
- uses: taiga-family/ci/actions/run/merge@v1.104.0
- uses: taiga-family/ci/actions/run/merge@v1.105.0
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/auto-update-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
- uses: actions/[email protected]
with:
persist-credentials: false
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- name: Lucide icons
run: |
npx nx prebuild icons
Expand All @@ -31,7 +31,7 @@ jobs:
npx eslint ./projects/demo/used-icons.ts --fix || echo "no file matching"
npx prettier ./projects/demo/used-icons.ts --write || echo "no file matching"
npx prettier ./projects/cdk/constants/used-icons.ts --write || echo "no file matching"
- uses: taiga-family/ci/actions/auto/push@v1.104.0
- uses: taiga-family/ci/actions/auto/push@v1.105.0
if: env.SUPPORT_AUTO_PUSH
with:
message: icons have changed
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- run: npm run run-many:build:libs
- run: npx ts-node ./scripts/check-dist.ts

Expand All @@ -22,8 +22,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- run: npx nx prerender demo
- run: npx --yes bundlemon --config .github/.bundlemonrc.json
continue-on-error: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/config/git@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- uses: taiga-family/ci/actions/setup/config/git@v1.105.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0

- name: Prepare demo before deploy from snapshots
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- run: npx nx build demo
- name: Debug output
run: tree dist/demo/browser -P '*.html'
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 10
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/run/rebase@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/run/rebase@v1.105.0
continue-on-error: true
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0

- run: npx nx type-check demo-playwright
- name: Building demo-app of git-branch without cache
Expand All @@ -41,8 +41,8 @@ jobs:
- uses: actions/[email protected]
with:
ref: ${{ github.base_ref }}
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0

- name: Run tests for baseline state
run: npx nx component-test demo-cypress
Expand All @@ -57,8 +57,8 @@ jobs:
retention-days: 1

- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0

- name: Download Cypress Baseline Snapshots
uses: actions/[email protected]
Expand Down Expand Up @@ -120,13 +120,13 @@ jobs:
runs-on: ${{ matrix.shard.os }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0

- name: Mac OS X building all dependencies
if: ${{ contains( matrix.shard.os, 'macos') }}
run: brew install pkg-config cairo pango libpng jpeg-turbo giflib librsvg --force || echo ''

- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0

- name: Get installed Playwright version
id: playwright-version
Expand All @@ -152,7 +152,7 @@ jobs:
path: dist/demo
key: ${{ env.CACHE_DIST_KEY }}

- uses: taiga-family/ci/actions/run/serve@v1.104.0
- uses: taiga-family/ci/actions/run/serve@v1.105.0
with:
port: ${{ env.NG_SERVER_PORT }}
directory: ${{ env.DIST }}
Expand All @@ -165,12 +165,12 @@ jobs:
--project=${{ matrix.shard.project }} \
--shard=${{ matrix.shard.index }}/${{ matrix.shard.total }}

- uses: taiga-family/ci/actions/run/clone@v1.104.0
- uses: taiga-family/ci/actions/run/clone@v1.105.0
with:
branch: snapshots/demo/next/${{ github.base_ref }}
destination: ${{ env.DIST_NEXT }}

- uses: taiga-family/ci/actions/run/serve@v1.104.0
- uses: taiga-family/ci/actions/run/serve@v1.105.0
with:
port: ${{ env.NG_SERVER_PORT }}
directory: ${{ env.DIST_NEXT }}
Expand Down Expand Up @@ -230,8 +230,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0

- name: Download artifacts for Playwright
continue-on-error: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- uses: actions/[email protected]
with:
persist-credentials: false
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- run: npm run typecheck
- run: npm run cspell
- run: |
Expand All @@ -27,7 +27,7 @@ jobs:
npm run prettier -- --check
npm run lint
fi
- uses: taiga-family/ci/actions/auto/push@v1.104.0
- uses: taiga-family/ci/actions/auto/push@v1.105.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: Publish canary
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.105.0
with:
token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}
- run: npx ts-node ./scripts/publish-canary.ts
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.105.0
with:
token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}

- run: npx nx run-many -t publish

- uses: taiga-family/ci/actions/run/read-package-json@v1.104.0
- uses: taiga-family/ci/actions/run/read-package-json@v1.105.0
id: info

- name: Announce to Time messenger
uses: taiga-family/ci/actions/messenger/time/announce@v1.104.0
uses: taiga-family/ci/actions/messenger/time/announce@v1.105.0
if: ${{ !contains(steps.info.outputs.version, 'rc') }}
with:
url: ${{ secrets.ANNOUNCE_WEBHOOK }}
channel: ${{ secrets.ANNOUNCE_TARGET }}
version: v${{ steps.info.outputs.version }}

- name: Announce to Telegram messenger
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.104.0
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.105.0
if: ${{ !contains(steps.info.outputs.version, 'rc') }}
with:
chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ready-to-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
if: github.event.review.state == 'approved'
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/auto/label-when-approved@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/auto/label-when-approved@v1.105.0
with:
approvals: 2
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/schematic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: Run the latest migration
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/run/node-info@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- uses: taiga-family/ci/actions/run/node-info@v1.105.0
id: info
- run: npx nx run cdk:schematics --v=${{ steps.info.outputs.root-package-major-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0

- run: npx nx build demo # Don't use prerender please, because it's flaky for e2e
- run: tree ${{ env.DIST }} -P '*.html'
Expand All @@ -35,8 +35,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
id: nodejs-workspace

- run: npx nx prerender demo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
name: Unit tests
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/variables@v1.105.0
- uses: taiga-family/ci/actions/setup/node@v1.105.0
- run: npm test
- run: tree -L 2 ./coverage -P 'lcov.info'
- uses: codecov/[email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@

await multiSelect.arrow.click();
await documentationPage.waitStableState();
await page.waitForTimeout(300);
await page.locator('tui-dropdown [tuiOption]').first().hover();
await page.waitForTimeout(300);

await expect(multiSelect.dropdown).toHaveScreenshot(

Check failure on line 45 in projects/demo-playwright/tests/legacy/multi-select/multi-select.pw.spec.ts

View workflow job for this annotation

GitHub Actions / Playwright / ubuntu-latest / 9 of 9

[chromium] › tests/legacy/multi-select/multi-select.pw.spec.ts:34:13 › MultiSelect › Examples › multi-select with data list with label

1) [chromium] › tests/legacy/multi-select/multi-select.pw.spec.ts:34:13 › MultiSelect › Examples › multi-select with data list with label Error: expect(locator).toHaveScreenshot(expected) 43474 pixels (ratio 0.10 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/multi-select/multi-select.pw.spec.ts-snapshots/02-with-data-list-with-label-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-multi-select--2d1d5-t-with-data-list-with-label-chromium/02-with-data-list-with-label-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-multi-select--2d1d5-t-with-data-list-with-label-chromium/02-with-data-list-with-label-diff.png Call log: - expect.toHaveScreenshot(02-with-data-list-with-label.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('tui-dropdown') - locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-45 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - Expected an image 576px by 800px, received 576px by 692px. 102900 pixels (ratio 0.23 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('tui-dropdown') - locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-45 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - Expected an image 576px by 692px, received 576px by 800px. 102872 pixels (ratio 0.23 of all image pixels) are different. - waiting 250ms before taking screenshot - waiting for locator('tui-dropdown') - locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-45 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 43527 pixels (ratio 0.10 of all image pixels) are different. - waiting 500ms before taking screenshot - waiting for locator('tui-dropdown') - locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-45 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 43474 pixels (ratio 0.10 of all image pixels) are different. 43 | await page.waitForTimeout(300); 44 | > 45 | await expect(multiSelect.dropdown).toHaveScreenshot( | ^ 46 | '02-with-data-list-with-label.png', 47 | ); 48 | }); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/multi-select/multi-select.pw.spec.ts:45:48

Check failure on line 45 in projects/demo-playwright/tests/legacy/multi-select/multi-select.pw.spec.ts

View workflow job for this annotation

GitHub Actions / Playwright / macos-latest / 9 of 9

[webkit] › tests/legacy/multi-select/multi-select.pw.spec.ts:34:13 › MultiSelect › Examples › multi-select with data list with label

1) [webkit] › tests/legacy/multi-select/multi-select.pw.spec.ts:34:13 › MultiSelect › Examples › multi-select with data list with label Error: expect(locator).toHaveScreenshot(expected) 53 pixels (ratio 0.01 of all image pixels) are different. Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/multi-select/multi-select.pw.spec.ts-snapshots/02-with-data-list-with-label-webkit-darwin.png Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-multi-select--2d1d5-t-with-data-list-with-label-webkit/02-with-data-list-with-label-actual.png Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-multi-select--2d1d5-t-with-data-list-with-label-webkit/02-with-data-list-with-label-diff.png Call log: - expect.toHaveScreenshot(02-with-data-list-with-label.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('tui-dropdown') - locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-45 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 767 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('tui-dropdown') - locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-45 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 824 pixels (ratio 0.01 of all image pixels) are different. - waiting 250ms before taking screenshot - waiting for locator('tui-dropdown') - locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-45 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 53 pixels (ratio 0.01 of all image pixels) are different. 43 | await page.waitForTimeout(300); 44 | > 45 | await expect(multiSelect.dropdown).toHaveScreenshot( | ^ 46 | '02-with-data-list-with-label.png', 47 | ); 48 | }); at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/multi-select/multi-select.pw.spec.ts:45:48
'02-with-data-list-with-label.png',
);
});
Expand All @@ -55,8 +55,8 @@

await multiSelect.arrow.click();
await documentationPage.waitStableState();
await page.waitForTimeout(300);
await page.locator('tui-dropdown [tuiOption]').first().hover();
await page.waitForTimeout(300);

await expect(multiSelect.dropdown).toHaveScreenshot(
'03-with-data-list-without-label.png',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ export class TuiDocumentationApiPagePO {
}

public async hideContent(): Promise<void> {
const bars = await this.page
.locator('tui-root > tui-scroll-controls .t-bar')
.all();

for (const bar of bars) {
await tuiHideElement(bar);
}

return tuiHideElement(this.page.locator('tui-doc-page'));
}

Expand Down
Loading