test(e2e): update e2e tests and auth tokens
- Update E2E test files with latest authentication tokens - Improve test stability and error handling - Update pytest configuration - Enhance gateway direct test with settings integration
This commit is contained in:
@@ -9,13 +9,10 @@ test.describe('调试角色分配', () => {
|
||||
});
|
||||
|
||||
await test.step('查找测试用户', async () => {
|
||||
const searchInput = page.locator('input[placeholder*="用户名"]').first();
|
||||
await searchInput.fill('testuser_journey');
|
||||
await page.locator('button:has-text("搜索")').click();
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
|
||||
const userRow = page.locator('.el-table__row').first();
|
||||
await expect(userRow).toBeVisible({ timeout: 5000 });
|
||||
await expect(userRow).toBeVisible({ timeout: 10000 });
|
||||
await page.screenshot({ path: 'test-results/debug-role-1-user-found.png' });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user