This commit is contained in:
@@ -17,6 +17,11 @@ def main() -> int:
|
|||||||
for path in TARGETS:
|
for path in TARGETS:
|
||||||
try:
|
try:
|
||||||
print(f"checking: {path}")
|
print(f"checking: {path}")
|
||||||
|
if not path.exists():
|
||||||
|
if path.name == "appsettings.Development.json":
|
||||||
|
print(f"SKIP: {path} not present in this checkout")
|
||||||
|
continue
|
||||||
|
raise FileNotFoundError(path)
|
||||||
data = json.loads(path.read_text(encoding="utf-8"))
|
data = json.loads(path.read_text(encoding="utf-8"))
|
||||||
actual = data["ConnectionStrings"]["Default"]
|
actual = data["ConnectionStrings"]["Default"]
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
import { expect, test } from '@playwright/test';
|
import { expect, test } from '@playwright/test';
|
||||||
|
import { loginThroughAdminUi } from './helpers/admin-auth';
|
||||||
import { captureEvidence } from './helpers/evidence';
|
import { captureEvidence } from './helpers/evidence';
|
||||||
|
|
||||||
const baseUrl = 'https://www.taxbaik.com/taxbaik';
|
const baseUrl = (process.env.E2E_BASE_URL ?? 'https://www.taxbaik.com/taxbaik').replace(/\/$/, '');
|
||||||
const username = 'admin';
|
const username = 'admin';
|
||||||
const password = 'Admin123!@#456';
|
const password = 'Admin123!@#456';
|
||||||
|
|
||||||
@@ -22,14 +23,7 @@ test('Blog Management Full Flow - Real Domain Validation', async ({ page }) => {
|
|||||||
|
|
||||||
// 로그인 폼 입력
|
// 로그인 폼 입력
|
||||||
console.log('\n=== 2단계: 로그인 수행 ===');
|
console.log('\n=== 2단계: 로그인 수행 ===');
|
||||||
await page.fill('input[placeholder*="사용자"]', username);
|
await loginThroughAdminUi(page, baseUrl, username, password);
|
||||||
await page.fill('input[placeholder*="비밀"]', password);
|
|
||||||
|
|
||||||
const loginButton = await page.locator('button:has-text("로그인")');
|
|
||||||
console.log('✓ 로그인 버튼 찾음:', await loginButton.isVisible());
|
|
||||||
|
|
||||||
await loginButton.click();
|
|
||||||
await page.waitForNavigation({ waitUntil: 'networkidle', timeout: 15000 });
|
|
||||||
|
|
||||||
console.log('✓ 로그인 완료, URL:', page.url());
|
console.log('✓ 로그인 완료, URL:', page.url());
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { expect, test } from '@playwright/test';
|
import { expect, test } from '@playwright/test';
|
||||||
import { captureEvidence } from './helpers/evidence';
|
import { captureEvidence } from './helpers/evidence';
|
||||||
|
|
||||||
const baseUrl = 'https://www.taxbaik.com/taxbaik';
|
const baseUrl = (process.env.E2E_BASE_URL ?? 'https://www.taxbaik.com/taxbaik').replace(/\/$/, '');
|
||||||
const username = 'admin';
|
const username = 'admin';
|
||||||
const password = 'Admin123!@#456';
|
const password = 'Admin123!@#456';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user