test(places): the saved place forms send no tags or notes

The desktop dialog and the phone sheet tests still expected label_ids and
notes in the edit form's patch, which the form no longer sends: the tags
card and the notes tab write those.
This commit is contained in:
Maurice
2026-11-30 13:09:01 +01:00
parent 101c4b5d7a
commit b36b83a32e
2 changed files with 3 additions and 8 deletions
@@ -343,14 +343,11 @@ describe('CollectionPlaceDetail', () => {
description: 'Great coffee',
links: [{ label: undefined, url: 'https://x.com' }],
category_id: 2,
// The labels are tags now, set in the overview; the form keeps what the place has.
label_ids: [1],
// Untouched in this case, but the address rides along on every save (#1870).
address: 'Somewhere',
lat: 52.5,
lng: 13.4,
// No notes on this place, and none written (#3168).
notes: null,
// Tags and notes are written by their own tabs, so the form leaves them alone.
});
// Back in read mode.
expect(await screen.findByRole('button', { name: 'Edit' })).toBeInTheDocument();