Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions jules-scratch/verification/verify_main_page.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from playwright.sync_api import sync_playwright

def run(playwright):
browser = playwright.chromium.launch()
page = browser.new_page()
page.goto("http://localhost:8080/")
assert page.title() == "Clementine Music Player"
page.screenshot(path="jules-scratch/verification/verification.png")
browser.close()

with sync_playwright() as playwright:
run(playwright)
25 changes: 3 additions & 22 deletions www.clementine-player.org/app.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
runtime: python27
api_version: 1
threadsafe: true
automatic_scaling:
max_instances: 1

libraries:
- name: webapp2
version: "2.5.1"
- name: jinja2
version: "2.6"

runtime: python312
entrypoint: gunicorn -b :$PORT main:app

handlers:
- url: /css
Expand Down Expand Up @@ -42,15 +32,6 @@ handlers:
expiration: "7d"
secure: always

- url: /thumbnails/.*
script: thumbnailer.app
secure: always

- url: /scheduled/.*
script: main.app
secure: always
login: admin

- url: /.*
script: main.app
script: auto
secure: always
Loading