011 — should create csv export and check data structure¶
Description¶
Verifies the full custom CSV export flow for additional items: when the user picks "all columns", the generated CSV contains every field for every row currently shown in the grid.
Preconditions¶
- Signed in as the owner of a freshly provisioned organization
- A client, a project and labels already exist
- Two additional items have been seeded via the API (one with project, one without)
- The Additional Items page is open on the "Additional items" tab and has been reloaded so both items are visible
Steps¶
- Confirm the grid rows match the two seeded additional items from the backend.
- Open the "Export as CSV" action.
- Choose "Custom" export and tick the "All" columns checkbox.
- Click "Confirm" to queue the export. Expected: Exactly one export job appears in the export panel with status "Export generated", a generated file name, and type CSV.
- Download the generated file. Expected: The downloaded CSV contains all expected columns and every value matches the corresponding additional item returned by the backend.
Related¶
- Spec:
playwright/tests/integration/additionalItem.spec.ts(line 414)