Initial deployment setup
Deploy staging / deploy (push) Failing after 6s

This commit is contained in:
root
2026-08-31 16:45:24 +09:00
commit 33453ecc55
3475 changed files with 850363 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
import { expect, test } from '@playwright/test';
export default () => {
test('creating a project succeeds', async ({ page }) => {
await page.goto('http://localhost:3000/main/project/create', {
waitUntil: 'domcontentloaded',
});
await expect(page.getByRole('button', { name: 'Next' })).toBeVisible({
timeout: 1000,
});
await page.waitForTimeout(1000);
await page.getByRole('button', { name: 'Next' }).click();
await page.getByRole('button', { name: 'Next' }).click();
await page.getByRole('button', { name: 'Confirm' }).click();
await page.locator("input[name='name']").click();
await page.locator("input[name='name']").fill('TestProject');
await page.getByRole('button', { name: 'Next' }).click();
await page.waitForTimeout(1000);
await page.getByRole('button', { name: 'Next' }).click();
await page.waitForTimeout(1000);
await page.getByRole('button', { name: 'Complete' }).click();
await page.waitForTimeout(1000);
await expect(
page.getByRole('heading', {
level: 2,
name: /project creation complete/i,
}),
).toBeVisible();
await expect(page.locator("input[name='name']")).toHaveValue('TestProject');
await page.getByRole('button', { name: 'Later' }).click();
});
};