test: split api e2e tests and passing

This commit is contained in:
izzy
2025-12-03 09:47:16 +00:00
parent 9b955508e9
commit e0428b565a
4 changed files with 273 additions and 249 deletions

View File

@@ -592,7 +592,7 @@ export const utils = {
});
return await utils.poll(
() => request(app).get('/admin/database-backups/list').set('Authorization', `Bearer ${accessToken}`),
() => request(app).get('/admin/database-backups').set('Authorization', `Bearer ${accessToken}`),
({ status, body }) => status === 200 && body.backups.length === 1,
({ body }) => body.backups[0],
);