fix: rabbit fixes

This commit is contained in:
Stavros
2026-07-16 17:18:31 +03:00
parent 226df14ad0
commit 423ad7b7a0
4 changed files with 11 additions and 11 deletions
+3 -4
View File
@@ -12,6 +12,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7 uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # ratchet:actions/checkout@v7
with:
persist-credentials: false
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # ratchet:pnpm/action-setup@v6 uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # ratchet:pnpm/action-setup@v6
@@ -22,18 +24,15 @@ jobs:
uses: docker/setup-docker-action@6d7cfa65f60a9dda7b46e5513fa982536f3c9877 # ratchet:docker/setup-docker-action@v5 uses: docker/setup-docker-action@6d7cfa65f60a9dda7b46e5513fa982536f3c9877 # ratchet:docker/setup-docker-action@v5
- name: Install dependencies - name: Install dependencies
run: npm install -g pnpm && pnpm install run: pnpm ci
with:
working-directory: e2e working-directory: e2e
- name: Install Playwright Browsers - name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps run: pnpm exec playwright install --with-deps
with:
working-directory: e2e working-directory: e2e
- name: Run Playwright tests - name: Run Playwright tests
run: pnpm exec playwright test run: pnpm exec playwright test
with:
working-directory: e2e working-directory: e2e
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4 - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4
+2 -2
View File
@@ -1,6 +1,6 @@
services: services:
traefik: traefik:
image: traefik:v3.6 image: traefik:v3.7.8
command: | command: |
--api.insecure=true --api.insecure=true
--providers.docker --providers.docker
@@ -11,7 +11,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
whoami: whoami:
image: traefik/whoami:latest image: traefik/whoami:v1.11.0
labels: labels:
traefik.enable: true traefik.enable: true
traefik.http.routers.whoami.rule: Host(`whoami.127.0.0.1.sslip.io`) traefik.http.routers.whoami.rule: Host(`whoami.127.0.0.1.sslip.io`)
+1
View File
@@ -38,6 +38,7 @@ export default defineConfig({
command: 'docker compose -f docker-compose.e2e.yml up --build --pull=always --force-recreate --remove-orphans', command: 'docker compose -f docker-compose.e2e.yml up --build --pull=always --force-recreate --remove-orphans',
url: 'http://tinyauth.127.0.0.1.sslip.io/api/healthz', url: 'http://tinyauth.127.0.0.1.sslip.io/api/healthz',
reuseExistingServer: true, reuseExistingServer: true,
timeout: 5 * 60 * 1000,
gracefulShutdown: { gracefulShutdown: {
signal: 'SIGINT', signal: 'SIGINT',
timeout: 1000, timeout: 1000,
+2 -2
View File
@@ -1,5 +1,5 @@
import { test, expect } from '@playwright/test'; import {expect, test} from '@playwright/test';
import {LoginFixture, LogoutFixture} from "../fixtures/auth.fixtures"; import {LoginFixture} from "../fixtures/auth.fixtures";
test('should be able to login to app with forward-auth', async ({ page }) => { test('should be able to login to app with forward-auth', async ({ page }) => {
const loginFixture = new LoginFixture(page); const loginFixture = new LoginFixture(page);