File tree Expand file tree Collapse file tree 6 files changed +18
-18
lines changed
Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 1- FROM node:18 -alpine as client-builder
1+ FROM node:22 -alpine as client-builder
22
33WORKDIR /frontend
44
Original file line number Diff line number Diff line change @@ -10,12 +10,16 @@ const { chromium } = require('playwright');
1010 } ) ;
1111 const page = await context . newPage ( ) ;
1212
13- await page . goto ( 'https://github.com' ) ;
14- await page . locator ( 'button' ) . filter ( { hasText : 'Search or jump to...' } ) . click ( ) ;
15- await page . getByRole ( 'combobox' , { name : 'Search' } ) . fill ( 'Playwright' ) ;
16- await page . getByRole ( 'combobox' , { name : 'Search' } ) . press ( 'Enter' ) ;
17- await page . getByRole ( 'link' , { name : 'microsoft/playwright' , exact : true } ) . click ( ) ;
18- await page . waitForLoadState ( 'networkidle' ) ;
13+ for ( let i = 0 ; i < 3 ; i ++ ) {
14+ await page . goto ( 'https://news.ycombinator.com/' ) ;
15+ await page . getByRole ( 'link' , { name : 'new' , exact : true } ) . click ( ) ;
16+ await page . locator ( '.pagetop > a' ) . first ( ) . click ( ) ;
17+ await page . getByRole ( 'link' , { name : 'comments' , exact : true } ) . click ( ) ;
18+ await page . getByRole ( 'link' , { name : 'ask' } ) . click ( ) ;
19+ await page . getByRole ( 'link' , { name : 'show' } ) . click ( ) ;
20+ await page . getByRole ( 'link' , { name : 'jobs' } ) . click ( ) ;
21+ await page . getByRole ( 'link' , { name : 'login' } ) . click ( ) ;
22+ }
1923
2024 await browser . close ( ) ;
2125} ) ( ) ;
Original file line number Diff line number Diff line change 1- ARG PLAYWRIGHT_VERSION=1.46 .0
1+ ARG PLAYWRIGHT_VERSION=1.47 .0
22FROM golang:1.20-buster as builder
33WORKDIR /root
44COPY go.mod /root/
@@ -9,7 +9,7 @@ COPY worker-csharp/main.go /root/
99COPY internal/ /root/internal/
1010RUN CGO_ENABLED=0 GOOS=linux go build -o /app
1111
12- FROM mcr.microsoft.com/playwright/dotnet:v${PLAYWRIGHT_VERSION}-jammy
12+ FROM mcr.microsoft.com/playwright/dotnet:v${PLAYWRIGHT_VERSION}-noble
1313
1414ARG PLAYWRIGHT_VERSION
1515ENV PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION
@@ -20,10 +20,6 @@ RUN apt-get remove -y git ssh xvfb curl && \
2020
2121WORKDIR /home/pwuser/
2222
23- # Nuke /tmp/.dotnet/ folder to avoid permission issues root != pwuser
24- # Workaround for https://github.com/dotnet/runtime/issues/80619
25- RUN rm -rf /tmp/.dotnet/
26-
2723USER pwuser
2824
2925RUN mkdir /home/pwuser/project/ && \
Original file line number Diff line number Diff line change 1- ARG PLAYWRIGHT_VERSION=1.46 .0
1+ ARG PLAYWRIGHT_VERSION=1.47 .0
22FROM golang:1.20-buster as builder
33WORKDIR /root
44COPY go.mod /root/
@@ -9,7 +9,7 @@ COPY worker-java/main.go /root/
99COPY internal/ /root/internal/
1010RUN CGO_ENABLED=0 GOOS=linux go build -o /app
1111
12- FROM mcr.microsoft.com/playwright/java:v$PLAYWRIGHT_VERSION-jammy
12+ FROM mcr.microsoft.com/playwright/java:v$PLAYWRIGHT_VERSION-noble
1313
1414RUN apt-get remove -y git ssh xvfb curl && \
1515 apt-get autoremove -y
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ COPY worker-javascript/main.go /root/
99COPY internal/ /root/internal/
1010RUN CGO_ENABLED=0 GOOS=linux go build -o /app
1111
12- FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-jammy
12+ FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble
1313
1414ARG PLAYWRIGHT_VERSION
1515ENV PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION
Original file line number Diff line number Diff line change 1- ARG PLAYWRIGHT_VERSION=1.46 .0
1+ ARG PLAYWRIGHT_VERSION=1.47 .0
22FROM golang:1.20-buster as builder
33WORKDIR /root
44COPY go.mod /root/
@@ -9,7 +9,7 @@ COPY worker-python/main.go /root/
99COPY internal/ /root/internal/
1010RUN CGO_ENABLED=0 GOOS=linux go build -o /app
1111
12- FROM mcr.microsoft.com/playwright/python:v${PLAYWRIGHT_VERSION}-jammy
12+ FROM mcr.microsoft.com/playwright/python:v${PLAYWRIGHT_VERSION}-noble
1313
1414ARG PLAYWRIGHT_VERSION
1515ENV PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION
You can’t perform that action at this time.
0 commit comments