coding-plan-upgrade-personal-system-busy.test.ts 835 B

123456789101112131415161718192021
  1. import { clearAppData } from "#e2e/helpers/desktop-app";
  2. import { openBigModelCodingPlanPersonalUpgradePanel } from "#e2e/helpers/coding-plan-upgrade";
  3. import {
  4. waitForCodingPlanWebviewBodyTextIncludes,
  5. waitForCodingPlanWebviewDisplayed,
  6. } from "#e2e/helpers/coding-plan-upgrade-webview";
  7. describe("BigModel Coding Plan 升级页个人套餐系统繁忙 E2E", () => {
  8. after(async () => {
  9. await browser.electron.restoreAllMocks();
  10. await clearAppData();
  11. });
  12. it("无 Coding 权益账号进入升级页且套餐接口系统繁忙时,个人套餐按钮显示订阅繁忙", async function () {
  13. this.timeout(120000);
  14. await openBigModelCodingPlanPersonalUpgradePanel();
  15. await waitForCodingPlanWebviewDisplayed();
  16. await waitForCodingPlanWebviewBodyTextIncludes(["订阅繁忙", "System busy"]);
  17. });
  18. });