Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

fix(alerts-table): trigger token box and copy to clipboard icon#85

Merged
peppescg merged 5 commits into
mainfrom
fix-trigger-string-box
Jan 16, 2025
Merged

fix(alerts-table): trigger token box and copy to clipboard icon#85
peppescg merged 5 commits into
mainfrom
fix-trigger-string-box

Conversation

@peppescg
Copy link
Copy Markdown
Collaborator

BEFORE
Screenshot 2025-01-16 at 10 00 57

AFTER
Screenshot 2025-01-16 at 11 19 20

Fix trigger token spacing
Screenshot 2025-01-16 at 10 07 14

@peppescg peppescg self-assigned this Jan 16, 2025
alex-mcgovern
alex-mcgovern previously approved these changes Jan 16, 2025
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Jan 16, 2025

Pull Request Test Coverage Report for Build 12807178728

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.3%) to 68.636%

Files with Coverage Reduction New Missed Lines %
src/components/ui/sidebar.tsx 1 56.59%
Totals Coverage Status
Change from base Build 12806369378: -0.3%
Covered Lines: 398
Relevant Lines: 501

💛 - Coveralls

@peppescg peppescg linked an issue Jan 16, 2025 that may be closed by this pull request
@peppescg peppescg enabled auto-merge (squash) January 16, 2025 10:43
await userEvent.type(screen.getByRole("searchbox"), "codegate-secrets");

await waitFor(() =>
waitFor(() =>
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.

We need to await the promise returned by waitFor, as it can continue to run after the test has exited, and we may miss the result assertions that are happening within it

await userEvent.type(screen.getByRole("searchbox"), "codegate-secrets");

await waitFor(() =>
waitFor(() =>
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.

Suggested change
waitFor(() =>
await waitFor(() =>

@peppescg peppescg merged commit 7a0e61c into main Jan 16, 2025
@peppescg peppescg deleted the fix-trigger-string-box branch January 16, 2025 10:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test: Dashboard > should search by secrets alert

3 participants