Skip to content

test(e2e): do not empty clipboard beforehand#2612

Merged
ScharfViktor merged 1 commit into
mainfrom
test/fix-link-copy-flakiness
May 28, 2026
Merged

test(e2e): do not empty clipboard beforehand#2612
ScharfViktor merged 1 commit into
mainfrom
test/fix-link-copy-flakiness

Conversation

@saw-jan
Copy link
Copy Markdown
Contributor

@saw-jan saw-jan commented May 28, 2026

Description

Do not do navigator.clipboard.writeText('') beforehand. This one line removal makes the flaky the test stabler.

With writeText(''):

  • runs: 5
  • fails: 1-2

Without writeText(''):

  • runs: 20
  • fails: 0

Related Issue

How Has This Been Tested?

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
@saw-jan saw-jan requested a review from ScharfViktor May 28, 2026 10:49
@saw-jan saw-jan self-assigned this May 28, 2026
@saw-jan saw-jan changed the title test: do not empty clipboard beforehand test(e2e): do not empty clipboard beforehand May 28, 2026
@ScharfViktor ScharfViktor merged commit ebfea1b into main May 28, 2026
30 checks passed
@ScharfViktor ScharfViktor deleted the test/fix-link-copy-flakiness branch May 28, 2026 11:29
@openclouders openclouders mentioned this pull request May 28, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[QA] Flaky web e2e tests

2 participants