Skip to content

[frontend] Fix flaky custom views E2E test (#16097)#16098

Open
fellowseb wants to merge 1 commit into
masterfrom
issue/16097-fix-custom-view-flaky-e2e-test
Open

[frontend] Fix flaky custom views E2E test (#16097)#16098
fellowseb wants to merge 1 commit into
masterfrom
issue/16097-fix-custom-view-flaky-e2e-test

Conversation

@fellowseb
Copy link
Copy Markdown
Member

@fellowseb fellowseb commented May 20, 2026

Proposed changes

Fixes flaky Custom Views E2E test by waiting for notification message displayed during duplication and import steps.
For future: avoid using a specific Campaign entity, uses first in the grid.
Also uses simpler toHaveCount() form.

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case (coverage and e2e)
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

@github-actions github-actions Bot added the filigran team use to identify PR from the Filigran team label May 20, 2026
@fellowseb fellowseb marked this pull request as ready for review May 20, 2026 20:47
@fellowseb fellowseb self-assigned this May 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 35.71%. Comparing base (0adbde1) to head (268e50d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #16098   +/-   ##
=======================================
  Coverage   35.71%   35.71%           
=======================================
  Files        3232     3232           
  Lines      221682   221682           
  Branches    41430    41431    +1     
=======================================
  Hits        79169    79169           
  Misses     142513   142513           
Flag Coverage Δ
opencti-client-python 46.36% <ø> (ø)
opencti-front 3.98% <ø> (ø)
opencti-graphql 72.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom Views flaky E2E test

1 participant