Repository navigation
Commit 124f4ba
authored
fix(search): wait for the source-created handler in the live setup test (#8227)
The live service-source test asserted updateSearchIntegration immediately
after the create onSuccess act, but onCreated awaits the nuqs URL-state
reset (which flushes asynchronously) before it starts the mutation, so the
assertion raced the flush and failed most runs. Wait for it the same way the
sibling setup test already does (vi.waitFor with a 1ms interval).1 parent 05ed98d commit 124f4ba
1 file changed
Lines changed: 15 additions & 11 deletions
File tree
- apps/sim/app/o/[organizationId]/settings/components/integrations
Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
618 | 622 | | |
619 | 623 | | |
620 | 624 | | |
| |||
0 commit comments