Skip to content

Commit 8f94ee1

Browse files
committed
Use real frontend fixture shapes in smoke test
1 parent 2fae02e commit 8f94ee1

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

frontend/e2e/smoke.spec.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ test.describe('frontend smoke', () => {
99
body: JSON.stringify({
1010
success: true,
1111
data: {
12+
api: {
13+
name: 'html2rss-web API',
14+
description: 'RESTful API for converting websites to RSS feeds',
15+
openapi_url: 'http://example.test/openapi.yaml',
16+
},
1217
instance: {
1318
feed_creation: {
1419
enabled: true,
@@ -29,10 +34,15 @@ test.describe('frontend smoke', () => {
2934
success: true,
3035
data: {
3136
strategies: [
32-
{ id: 'faraday', name: 'Faraday' },
33-
{ id: 'browserless', name: 'Browserless' },
37+
{ id: 'faraday', name: 'faraday', display_name: 'Default' },
38+
{
39+
id: 'browserless',
40+
name: 'browserless',
41+
display_name: 'JavaScript pages (recommended)',
42+
},
3443
],
3544
},
45+
meta: { total: 2 },
3646
}),
3747
});
3848
});

0 commit comments

Comments
 (0)