Skip to content

Commit 8d6abfd

Browse files
John AzizJohn Aziz
John Aziz
authored and
John Aziz
committed
apply feedback from PR review
1 parent 4c7bcaa commit 8d6abfd

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

.devcontainer/docker-compose.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ services:
2727
POSTGRES_USER: admin
2828
POSTGRES_PASSWORD: postgres
2929

30-
ports:
31-
- "5432:5432"
32-
# For local development, we need to forward the database port here too.
3330
# Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally.
3431
# (Adding the "ports" property to this file will not forward from a Codespace.)
3532

tests/e2e.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,12 @@ def live_server_url(mock_session_env, free_port: int) -> Generator[str, None, No
5151
proc.kill()
5252

5353

54-
@pytest.fixture(params=[(480, 800), (600, 1024), (768, 1024), (992, 1024), (1024, 768)])
55-
def sized_page(page: Page, request):
56-
size = request.param
57-
page.set_viewport_size({"width": size[0], "height": size[1]})
58-
yield page
59-
60-
6154
def test_home(page: Page, live_server_url: str):
6255
page.goto(live_server_url)
6356
expect(page).to_have_title("RAG on PostgreSQL")
6457

6558

66-
def test_chat(sized_page: Page, live_server_url: str):
67-
page = sized_page
68-
59+
def test_chat(page: Page, live_server_url: str):
6960
# Set up a mock route to the /chat endpoint with streaming results
7061
def handle(route: Route):
7162
# Assert that session_state is specified in the request (None for now)

0 commit comments

Comments
 (0)