fix(test): await async data in auditLog test #51
No reviewers
Labels
No Label
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sarman/tftsr-devops_investigation#51
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/audit-log-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
auditLog.test.tsxthat queriesrole="table"synchronously before async mock data resolvesfindByRole("table")instead offindByText("Audit Log")+getByRole("table")to properly wait for dataTest plan
npm run test:run— 94/94 pass (18/18 files)auditLog.test.tsx— 3/3 pass consistently1db21ae3c1to4a0c7957ec