Skip to content

Commit bc22f15

Browse files
committed
Revert e2e test change
1 parent 88d4d59 commit bc22f15

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/e2e.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,9 @@ def test_chat(sized_page: Page, live_server_url: str):
9090

9191
# Set up a mock route to the /chat endpoint with streaming results
9292
def handle(route: Route):
93-
# Assert that session_state is specified in the request
93+
# Assert that session_state is specified in the request (None for now)
9494
session_state = route.request.post_data_json["session_state"]
95-
# Assert session state is a random UUID generated from crypto.randomUUID()
96-
assert session_state is not None
97-
assert len(session_state) == 36
95+
assert session_state is None
9896
# Read the JSONL from our snapshot results and return as the response
9997
f = open("tests/snapshots/test_app/test_chat_stream_text/client0/result.jsonlines")
10098
jsonl = f.read()

0 commit comments

Comments
 (0)