fix: mount /apps and docker socket in PR workflow build-and-deploy-ci job (#41)
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:
@@ -51,7 +51,7 @@ test.describe.serial('Epic 1: User Registration', () => {
|
||||
});
|
||||
|
||||
test('Registration page exists and loads', async ({ page }) => {
|
||||
await page.goto('http://localhost:3000/auth/register');
|
||||
await page.goto('/auth/register');
|
||||
|
||||
// Check for registration form elements
|
||||
await expect(page.locator('input[name="name"]')).toBeVisible();
|
||||
@@ -61,7 +61,7 @@ test.describe.serial('Epic 1: User Registration', () => {
|
||||
});
|
||||
|
||||
test('Registration with valid data creates account', async ({ page }) => {
|
||||
await page.goto('http://localhost:3000/auth/register');
|
||||
await page.goto('/auth/register');
|
||||
|
||||
// Wait for page to load
|
||||
await page.waitForLoadState('domcontentloaded');
|
||||
@@ -89,7 +89,7 @@ test.describe.serial('Epic 1: User Registration', () => {
|
||||
});
|
||||
|
||||
// Wait a moment for JavaScript to be ready
|
||||
await page.waitForTimeout(1000);
|
||||
await page.waitForTimeout(200);
|
||||
|
||||
// Submit form
|
||||
const [response] = await Promise.all([
|
||||
@@ -122,7 +122,7 @@ test.describe.serial('Epic 1: User Registration', () => {
|
||||
});
|
||||
|
||||
test('Registration with duplicate email fails', async ({ page }) => {
|
||||
await page.goto('http://localhost:3000/auth/register');
|
||||
await page.goto('/auth/register');
|
||||
|
||||
// Fill registration form with existing email
|
||||
await page.fill('input[name="name"]', testName);
|
||||
@@ -147,7 +147,7 @@ test.describe.serial('Epic 1: User Registration', () => {
|
||||
});
|
||||
|
||||
test('Registration with weak password fails', async ({ page }) => {
|
||||
await page.goto('http://localhost:3000/auth/register');
|
||||
await page.goto('/auth/register');
|
||||
|
||||
// Fill registration form with weak password
|
||||
await page.fill('input[name="name"]', testName);
|
||||
@@ -162,7 +162,7 @@ test.describe.serial('Epic 1: User Registration', () => {
|
||||
});
|
||||
|
||||
test('Auto-created player profile is linked to user', async ({ page }) => {
|
||||
await page.goto('http://localhost:3000/auth/register');
|
||||
await page.goto('/auth/register');
|
||||
|
||||
const profileEmail = `profile-${Date.now()}@example.com`;
|
||||
const profileName = 'Profile Test User';
|
||||
|
||||
Reference in New Issue
Block a user