feat: updated integration page with missing API routes
This commit is contained in:
1 parent
25d9c30b8a
commit
7c0ee21906
25 files changed
+2402
-350
No files matched your search
@@ -106,20 +106,20 @@ Feature: Integration page search, a jump-to command palette on /integration
|
||||
|
||||
Scenario: 8c Typing "media"
|
||||
When the user types "media"
|
||||
Then group "Endpoints" lists the first 6 of 11 media routes
|
||||
Then group "Endpoints" lists the first 6 of the 16 matching routes (GET /v1/builtin-type/ first, because its description names Media, then the Media routes)
|
||||
And group "Sections" lists "Media" with description "11 routes"
|
||||
And the line "5 more endpoints. Keep typing to narrow the list." follows the rows
|
||||
And the count reads "12 results"
|
||||
And the live region reads "12 results, showing 7"
|
||||
And the line "10 more endpoints. Keep typing to narrow the list." follows the rows
|
||||
And the count reads "17 results"
|
||||
And the live region reads "17 results, showing 7"
|
||||
And "media" is highlighted with --rc-sand on --rc-on-sand in paths and descriptions
|
||||
|
||||
Scenario: 8d More endpoints than the cap
|
||||
When the user types "404"
|
||||
Then group "Endpoints" lists 6 rows, each with a second line "Error" and the match, for example "404 Article not found"
|
||||
And group "Sections" lists "Errors" with description "Status codes and messages"
|
||||
And the line "8 more endpoints. Keep typing to narrow the list." follows the endpoint rows
|
||||
And the count reads "15 results"
|
||||
And the live region reads "15 results, showing 7"
|
||||
And the line "17 more endpoints. Keep typing to narrow the list." follows the endpoint rows
|
||||
And the count reads "24 results"
|
||||
And the live region reads "24 results, showing 7"
|
||||
|
||||
Scenario: 8e Match on a body field
|
||||
When the user types "keep_id"
|
||||
@@ -132,7 +132,7 @@ Feature: Integration page search, a jump-to command palette on /integration
|
||||
When the user types "login"
|
||||
Then group "Endpoints" lists POST /v1/auth/login, "Log in", with a dashed "Session only" chip and a lock icon
|
||||
And its path weight is 400 and its text is --ui-text-muted
|
||||
And group "Sections" lists "Session only" with a lock icon and "25 routes, not available to API keys"
|
||||
And group "Sections" lists "Session only" with a lock icon and "37 routes, not available to API keys"
|
||||
And the count reads "2 results"
|
||||
|
||||
Scenario: 8g No results
|
||||
|
||||
Reference in new issue
Block a user