fix: mount /apps and docker socket in PR workflow build-and-deploy-ci job (#41)
Build CI Images / build-ci-base (push) Successful in 1m53s
Release / release (push) Failing after 12m42s

Reviewed-on: #41
Co-authored-by: David Gwilliam <dhgwilliam@gmail.com>
Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
This commit was merged in pull request #41.
This commit is contained in:
2026-05-20 19:51:35 +00:00
committed by david
parent 861e14503b
commit e455d5dba5
41 changed files with 11130 additions and 533 deletions
@@ -110,7 +110,7 @@ When('I go back', async function () {
When('I refresh the page', async function () {
console.log('🌍 About to refresh page from URL:', world.page.url());
await world.page.reload({ waitUntil: 'networkidle' });
await world.page.reload({ waitUntil: 'load' });
console.log('🌍 Page refreshed, new URL:', world.page.url());
// Wait extra time for full render
await world.page.waitForTimeout(2000);
@@ -191,7 +191,7 @@ When('I click the {string} link', async function (linkText: string) {
// Wait for navigation to complete
try {
await world.page.waitForLoadState('networkidle', { timeout: 10000 });
await world.page.waitForLoadState('domcontentloaded', { timeout: 10000 });
} catch {
console.log(`🌍 Networkidle not reached, continuing`);
}
@@ -653,7 +653,7 @@ Then('I should see round {int} matchups', async function (roundNumber: number) {
});
Then('I should see {int} rounds', async function (expectedRounds: number) {
await world.page.waitForLoadState('networkidle');
await world.page.waitForLoadState('domcontentloaded');
await world.page.waitForTimeout(2000);
const roundHeaders = await world.page.locator('h3:has-text("Round")').count();
expect(roundHeaders).toBe(expectedRounds);
@@ -690,7 +690,7 @@ Then('I should be on the match result entry page', async function () {
// View As Role Steps
When('I view the navigation', async function () {
await world.page.waitForLoadState('networkidle');
await world.page.waitForLoadState('domcontentloaded');
await world.page.waitForTimeout(1000);
console.log('🌍 Viewing navigation');
});
@@ -750,7 +750,7 @@ Then('I should not see the viewing as banner', async function () {
When('I go to the tournament detail page', async function () {
const tournamentId = world.tournament?.id || 1;
await world.page.goto(`${world.baseURL}/admin/tournaments/${tournamentId}`);
await world.page.waitForLoadState('networkidle');
await world.page.waitForLoadState('domcontentloaded');
await world.page.waitForTimeout(500);
console.log(`🌍 Navigated to tournament detail page: ${tournamentId}`);
});