feat: 更新 OAuth 流程,调整步骤 6 和步骤 7 的逻辑,添加相关测试

This commit is contained in:
QLHazyCoder
2026-04-19 18:59:32 +08:00
parent 17e1c672f1
commit 7cb1bda672
12 changed files with 372 additions and 68 deletions
+1 -1
View File
@@ -1671,7 +1671,7 @@ async function fillVerificationCode(step, payload) {
}
// ============================================================
// Step 6: Login with registered account (on OAuth auth page)
// Step 7: Login with registered account (on OAuth auth page)
// ============================================================
async function waitForStep6EmailSubmitTransition(emailSubmittedAt, timeout = 12000) {
+1 -1
View File
@@ -1,4 +1,4 @@
// content/vps-panel.js — Content script for CPA panel (steps 1, 9)
// content/vps-panel.js — Content script for CPA panel (steps 7, 10 / OAuth URL request)
// Injected on: CPA panel (user-configured URL)
//
// Actual DOM structure (after login click):