feat(report): capture dashboard reports in specific states (#20552)

This commit is contained in:
Jesse Yang
2022-07-26 17:01:56 -07:00
committed by GitHub
parent 1b577d15c1
commit 4d192e6e4d
37 changed files with 598 additions and 368 deletions

View File

@@ -29,5 +29,8 @@ app = create_app()
def login(
client: "FlaskClient[Any]", username: str = "admin", password: str = "general"
):
resp = client.post("/login/", data=dict(username=username, password=password))
resp = client.post(
"/login/",
data=dict(username=username, password=password),
).get_data(as_text=True)
assert "User confirmation needed" not in resp