feat(console): simplify workspace and add filtered resource pagination
This commit is contained in:
@@ -191,7 +191,7 @@ assert status == 200, status
|
||||
status, body = request("/console/auth/session")
|
||||
assert status == 200 and json.loads(body).get("authenticated") is True
|
||||
status, body = request("/console/")
|
||||
assert status == 200 and "运行统计".encode("utf-8") in body, status
|
||||
assert status == 200 and b'id="overview-task-list"' in body and b'id="tasks-filters"' in body and b'/console/console-core.js' in body, status
|
||||
status, body = request("/console/config")
|
||||
assert status == 200 and json.loads(body).get("default_queue_id") == queue
|
||||
status, _ = request("/v1/tasks?" + urllib.parse.urlencode({"queue_id": queue, "limit": 20}))
|
||||
|
||||
Reference in New Issue
Block a user