Skip to content

chore(e2e): set threshold to 0, removed e2eWhenStable util (#DS-4616)#1294

Merged
lskramarov merged 12 commits into
mainfrom
chore/playwright-threshold
Jan 21, 2026
Merged

chore(e2e): set threshold to 0, removed e2eWhenStable util (#DS-4616)#1294
lskramarov merged 12 commits into
mainfrom
chore/playwright-threshold

Conversation

@lskramarov

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Jan 19, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 07d436b):

https://koobiq-next--prs-1294-cl42z2q8.web.app

(expires Mon, 26 Jan 2026 09:43:43 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@lskramarov

Copy link
Copy Markdown
Contributor Author

/approve-snapshots

@github-actions

Copy link
Copy Markdown

🔄 Updating snapshots.

@github-actions

Copy link
Copy Markdown

✅ Snapshots updated!

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@lskramarov lskramarov requested a review from NikGurev as a code owner January 19, 2026 13:01
@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@lskramarov

Copy link
Copy Markdown
Contributor Author

/approve-snapshots

@github-actions

Copy link
Copy Markdown

🔄 Updating snapshots.

@github-actions

Copy link
Copy Markdown

✅ Snapshots updated!

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@lskramarov lskramarov self-assigned this Jan 19, 2026
@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@lskramarov

Copy link
Copy Markdown
Contributor Author

/approve-snapshots

@github-actions

Copy link
Copy Markdown

🔄 Updating snapshots.

@github-actions

Copy link
Copy Markdown

✅ Snapshots updated!

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@lskramarov lskramarov changed the title chore(e2e): set threshold to 0.05 chore(e2e): set threshold to 0.05 (#DS-4616) Jan 19, 2026
@artembelik artembelik marked this pull request as draft January 19, 2026 18:05
@artembelik artembelik force-pushed the chore/playwright-threshold branch from 3948b9e to 4d68bc4 Compare January 21, 2026 07:52
@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@artembelik

Copy link
Copy Markdown
Contributor

/approve-snapshots

@github-actions

Copy link
Copy Markdown

🔄 Updating snapshots.

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@github-actions

Copy link
Copy Markdown

✅ Snapshots updated!

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@artembelik

Copy link
Copy Markdown
Contributor

/approve-snapshots

@github-actions

Copy link
Copy Markdown

🔄 Updating snapshots.

@github-actions

Copy link
Copy Markdown

✅ Snapshots updated!

@lskramarov

Copy link
Copy Markdown
Contributor Author

@artembelik с табами не удалось разобраться ? там похоже стабильно только со второго раза проходит:
image

image

@artembelik

artembelik commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

@artembelik с табами не удалось разобраться ? там похоже стабильно только со второго раза проходит:

да, метод e2eWhenStable не работает


upd. создал задачу по доработке DS-4627

@artembelik artembelik changed the title chore(e2e): set threshold to 0.05 (#DS-4616) chore(e2e): set threshold to 0 (#DS-4616) Jan 21, 2026
@artembelik artembelik marked this pull request as ready for review January 21, 2026 09:40
Copilot AI review requested due to automatic review settings January 21, 2026 09:40
@artembelik artembelik changed the title chore(e2e): set threshold to 0 (#DS-4616) chore(e2e): set threshold to 0, removed e2eWhenStable util (#DS-4616) Jan 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts e2e screenshot testing configuration by setting the threshold to 0 for stricter visual regression testing. The change removes the e2eWhenStable utility function that was previously used to wait for element stability, and removes inline threshold overrides from individual test files.

Changes:

  • Set Playwright screenshot comparison threshold to 0 (from 0.2) for exact pixel matching
  • Removed e2eWhenStable utility function and all its usages across e2e test files
  • Updated screenshot baseline images to reflect the new threshold
  • Marked some tests as fixme (tabs and breadcrumbs) pending fixes

Reviewed changes

Copilot reviewed 7 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
playwright.config.ts Changed screenshot threshold from 0.2 to 0 for stricter comparison
packages/e2e/utils/when-stable.ts Deleted utility function file
packages/e2e/utils/index.ts Removed export of when-stable utility
packages/components/tooltip/e2e.playwright-spec.ts Removed inline threshold overrides
packages/components/popover/e2e.playwright-spec.ts Removed inline threshold overrides
packages/components/tabs/e2e.playwright-spec.ts Removed e2eWhenStable import/usage, marked tests as fixme
packages/components/breadcrumbs/e2e.playwright-spec.ts Removed e2eWhenStable import/usage, marked tests as fixme
packages/components/toggle/screenshots/* Updated screenshot baselines (binary files)
packages/components/icon/screenshots/* Updated screenshot baselines (binary files)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lskramarov lskramarov merged commit f22c32e into main Jan 21, 2026
14 checks passed
@lskramarov lskramarov deleted the chore/playwright-threshold branch January 21, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants