Skip to content

Commit 9bd0560

Browse files
committed
4565: Fixed campaign test
1 parent 0aeccc4 commit 9bd0560

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

assets/tests/admin/admin-campaign.spec.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@ test.describe("Campaign pages work", () => {
5353
).toHaveCount(6);
5454

5555
// Remove slide
56-
await page.locator(".remove-from-list").click({ force: true });
56+
await page.locator(".remove-from-list").click({ force: false });
57+
58+
// See that slides section is removed.
5759
await expect(
58-
page.locator("#slides-section").locator("tbody"),
60+
page.getByText("Afspilningsrækkefølge"),
5961
).not.toBeVisible();
6062
});
6163
});

docker-compose.override.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ services:
3030
- "traefik.docker.network=frontend"
3131
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}node.rule=Host(`node-${COMPOSE_DOMAIN}`)"
3232
# HTTPS config - uncomment to enable redirect from :80 to :443
33-
# - "traefik.http.routers.${COMPOSE_PROJECT_NAME}node.middlewares=redirect-to-https"
34-
# - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
33+
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}node.middlewares=redirect-to-https"
34+
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
3535

3636
playwright:
3737
# https://playwright.dev/docs/docker

0 commit comments

Comments
 (0)