{
  "config": {
    "argv": [
      "/opt/hostedtoolcache/node/20.20.2/x64/bin/node",
      "/home/runner/work/dr-card-web/dr-card-web/node_modules/.bin/playwright",
      "test",
      "tests/e2e/test-gate.spec.ts"
    ],
    "configFile": "/home/runner/work/dr-card-web/dr-card-web/playwright.config.ts",
    "rootDir": "/home/runner/work/dr-card-web/dr-card-web/tests/e2e",
    "failOnFlakyTests": false,
    "forbidOnly": true,
    "fullyParallel": true,
    "globalSetup": null,
    "globalTeardown": null,
    "globalTimeout": 0,
    "grep": {},
    "grepInvert": null,
    "maxFailures": 0,
    "metadata": {
      "ci": {
        "commitHref": "https://github.com/sanchuang-dev/dr-card-web/commit/da65fc1c8962665c879d69258bdbfdd751c2c291",
        "commitHash": "da65fc1c8962665c879d69258bdbfdd751c2c291",
        "prHref": "https://github.com/sanchuang-dev/dr-card-web/pull/256",
        "prTitle": "Keep mall iframe mounted across bottom navigation",
        "prBaseHash": "f6c2490790cf38c85d33c97595453f6e99a38195",
        "buildHref": "https://github.com/sanchuang-dev/dr-card-web/actions/runs/39901672301"
      },
      "gitCommit": {
        "shortHash": "da65fc1",
        "hash": "da65fc1c8962665c879d69258bdbfdd751c2c291",
        "subject": "Merge fd5cd2db5c27fe2c4d37381dfd511652e85d89c4 into f6c2490790cf38c85d33c97595453f6e99a38195",
        "body": "Merge fd5cd2db5c27fe2c4d37381dfd511652e85d89c4 into f6c2490790cf38c85d33c97595453f6e99a38195\n",
        "author": {
          "name": "SINGING-AKIBA",
          "email": "980325684@qq.com",
          "time": 1792730494000
        },
        "committer": {
          "name": "GitHub",
          "email": "noreply@github.com",
          "time": 1792730494000
        },
        "branch": "HEAD"
      },
      "gitDiff": "diff --git a/src/layouts/MobileLayout.tsx b/src/layouts/MobileLayout.tsx\nindex 536a053..676bb06 100644\n--- a/src/layouts/MobileLayout.tsx\n+++ b/src/layouts/MobileLayout.tsx\n@@ -17,6 +17,7 @@ import { navigateWithH5ViewTransition } from '../app/router/h5Transition'\n import { refreshRemoteUnreadCount, useNotifications } from '../app/state/notifications'\n import { protectedFixtureRedirect, useOverlay } from '../app/fixtures/useFixture'\n import H5ScrollRestoration from '../components/mobile/H5ScrollRestoration'\n+import MallWebView from '../pages/MallWebView'\n import Toast from '../components/ui/Toast'\n import { closeWebView } from '../services/nativeBridge'\n import { AUTH_EXPIRED_EVENT, AUTH_FAILURE_EVENT, setAuthFlowEnabled } from '../services/auth/session'\n@@ -80,6 +81,10 @@ function H5RouteOutlet() {\n     }\n   }, [nativeTransitionActive, navigationKind])\n \n+  // Keep the real mall mounted at the shell level; its iframe is rendered separately below.\n+  // The route outlet must not mount a second MallWebView while /mall is active.\n+  if (location.pathname === '/mall') return null\n+\n   return (\n     <div\n       key={location.pathname}\n@@ -256,11 +261,19 @@ export default function MobileLayout() {\n             />\n           )}\n         </div>\n-        <div className=\"min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-y-contain\" data-page-scroll>\n+        <div className=\"relative min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-y-contain\" data-page-scroll>\n           {isActiveFormalH5Route(route) && (\n             <H5ScrollRestoration previousPathname={scrollSourcePathname} />\n           )}\n           <H5RouteOutlet />\n+          {/* Keep the iframe alive across tab changes; only hide its wrapper when another route is active. */}\n+          <div\n+            className={location.pathname === '/mall' ? 'absolute inset-0 z-10 bg-background' : 'hidden'}\n+            data-h5-route-active={location.pathname === '/mall' ? 'true' : 'false'}\n+            aria-hidden={location.pathname !== '/mall'}\n+          >\n+            <MallWebView />\n+          </div>\n         </div>\n         {showNav && <BottomNav variant={showLegacyNav ? 'legacy' : 'main'} />}\n       </div>",
      "actualWorkers": 2
    },
    "preserveOutput": "always",
    "projects": [
      {
        "outputDir": "/home/runner/work/dr-card-web/dr-card-web/test-results/artifacts",
        "repeatEach": 1,
        "retries": 1,
        "metadata": {
          "ci": {
            "commitHref": "https://github.com/sanchuang-dev/dr-card-web/commit/da65fc1c8962665c879d69258bdbfdd751c2c291",
            "commitHash": "da65fc1c8962665c879d69258bdbfdd751c2c291",
            "prHref": "https://github.com/sanchuang-dev/dr-card-web/pull/256",
            "prTitle": "Keep mall iframe mounted across bottom navigation",
            "prBaseHash": "f6c2490790cf38c85d33c97595453f6e99a38195",
            "buildHref": "https://github.com/sanchuang-dev/dr-card-web/actions/runs/39901672301"
          },
          "gitCommit": {
            "shortHash": "da65fc1",
            "hash": "da65fc1c8962665c879d69258bdbfdd751c2c291",
            "subject": "Merge fd5cd2db5c27fe2c4d37381dfd511652e85d89c4 into f6c2490790cf38c85d33c97595453f6e99a38195",
            "body": "Merge fd5cd2db5c27fe2c4d37381dfd511652e85d89c4 into f6c2490790cf38c85d33c97595453f6e99a38195\n",
            "author": {
              "name": "SINGING-AKIBA",
              "email": "980325684@qq.com",
              "time": 1792730494000
            },
            "committer": {
              "name": "GitHub",
              "email": "noreply@github.com",
              "time": 1792730494000
            },
            "branch": "HEAD"
          },
          "gitDiff": "diff --git a/src/layouts/MobileLayout.tsx b/src/layouts/MobileLayout.tsx\nindex 536a053..676bb06 100644\n--- a/src/layouts/MobileLayout.tsx\n+++ b/src/layouts/MobileLayout.tsx\n@@ -17,6 +17,7 @@ import { navigateWithH5ViewTransition } from '../app/router/h5Transition'\n import { refreshRemoteUnreadCount, useNotifications } from '../app/state/notifications'\n import { protectedFixtureRedirect, useOverlay } from '../app/fixtures/useFixture'\n import H5ScrollRestoration from '../components/mobile/H5ScrollRestoration'\n+import MallWebView from '../pages/MallWebView'\n import Toast from '../components/ui/Toast'\n import { closeWebView } from '../services/nativeBridge'\n import { AUTH_EXPIRED_EVENT, AUTH_FAILURE_EVENT, setAuthFlowEnabled } from '../services/auth/session'\n@@ -80,6 +81,10 @@ function H5RouteOutlet() {\n     }\n   }, [nativeTransitionActive, navigationKind])\n \n+  // Keep the real mall mounted at the shell level; its iframe is rendered separately below.\n+  // The route outlet must not mount a second MallWebView while /mall is active.\n+  if (location.pathname === '/mall') return null\n+\n   return (\n     <div\n       key={location.pathname}\n@@ -256,11 +261,19 @@ export default function MobileLayout() {\n             />\n           )}\n         </div>\n-        <div className=\"min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-y-contain\" data-page-scroll>\n+        <div className=\"relative min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-y-contain\" data-page-scroll>\n           {isActiveFormalH5Route(route) && (\n             <H5ScrollRestoration previousPathname={scrollSourcePathname} />\n           )}\n           <H5RouteOutlet />\n+          {/* Keep the iframe alive across tab changes; only hide its wrapper when another route is active. */}\n+          <div\n+            className={location.pathname === '/mall' ? 'absolute inset-0 z-10 bg-background' : 'hidden'}\n+            data-h5-route-active={location.pathname === '/mall' ? 'true' : 'false'}\n+            aria-hidden={location.pathname !== '/mall'}\n+          >\n+            <MallWebView />\n+          </div>\n         </div>\n         {showNav && <BottomNav variant={showLegacyNav ? 'legacy' : 'main'} />}\n       </div>",
          "actualWorkers": 2
        },
        "id": "chromium-mobile",
        "name": "chromium-mobile",
        "testDir": "/home/runner/work/dr-card-web/dr-card-web/tests/e2e",
        "testIgnore": [],
        "testMatch": [
          "**/*.@(spec|test).?(c|m)[jt]s?(x)"
        ],
        "timeout": 30000
      }
    ],
    "quiet": false,
    "reporter": [
      [
        "line",
        null
      ],
      [
        "html",
        {
          "outputFolder": "playwright-report",
          "open": "never"
        }
      ],
      [
        "json",
        {
          "outputFile": "test-results/playwright-results.json"
        }
      ]
    ],
    "reportSlowTests": {
      "max": 5,
      "threshold": 300000
    },
    "shard": null,
    "tags": [],
    "updateSnapshots": "missing",
    "updateSourceMethod": "patch",
    "version": "1.63.0",
    "workers": 2,
    "webServer": null
  },
  "suites": [
    {
      "title": "test-gate.spec.ts",
      "file": "test-gate.spec.ts",
      "column": 0,
      "line": 0,
      "specs": [
        {
          "title": "@test-gate build identity matches the production-like test policy",
          "ok": true,
          "tags": [
            "test-gate"
          ],
          "tests": [
            {
              "timeout": 30000,
              "annotations": [],
              "expectedStatus": "passed",
              "projectId": "chromium-mobile",
              "projectName": "chromium-mobile",
              "results": [
                {
                  "workerIndex": 0,
                  "parallelIndex": 0,
                  "status": "passed",
                  "duration": 48,
                  "errors": [],
                  "stdout": [],
                  "stderr": [],
                  "retry": 0,
                  "startTime": "2026-10-23T04:42:22.990Z",
                  "annotations": [],
                  "attachments": []
                }
              ],
              "status": "expected"
            }
          ],
          "id": "37c772ca39f4c8e5dd7a-c3b6e0ce5d8c5d8734e5",
          "file": "test-gate.spec.ts",
          "line": 31,
          "column": 1
        },
        {
          "title": "@test-gate browser entry does not start the app router",
          "ok": true,
          "tags": [
            "test-gate"
          ],
          "tests": [
            {
              "timeout": 30000,
              "annotations": [],
              "expectedStatus": "passed",
              "projectId": "chromium-mobile",
              "projectName": "chromium-mobile",
              "results": [
                {
                  "workerIndex": 1,
                  "parallelIndex": 1,
                  "status": "passed",
                  "duration": 779,
                  "errors": [],
                  "stdout": [],
                  "stderr": [],
                  "retry": 0,
                  "startTime": "2026-10-23T04:42:23.002Z",
                  "annotations": [],
                  "attachments": []
                }
              ],
              "status": "expected"
            }
          ],
          "id": "37c772ca39f4c8e5dd7a-8ed37c8041402a2a6b34",
          "file": "test-gate.spec.ts",
          "line": 40,
          "column": 1
        },
        {
          "title": "@test-gate / shows the unsupported-host notice in a browser",
          "ok": true,
          "tags": [
            "test-gate"
          ],
          "tests": [
            {
              "timeout": 30000,
              "annotations": [],
              "expectedStatus": "passed",
              "projectId": "chromium-mobile",
              "projectName": "chromium-mobile",
              "results": [
                {
                  "workerIndex": 0,
                  "parallelIndex": 0,
                  "status": "passed",
                  "duration": 802,
                  "errors": [],
                  "stdout": [],
                  "stderr": [],
                  "retry": 0,
                  "startTime": "2026-10-23T04:42:23.080Z",
                  "annotations": [],
                  "attachments": []
                }
              ],
              "status": "expected"
            }
          ],
          "id": "37c772ca39f4c8e5dd7a-b030d57053896c93a550",
          "file": "test-gate.spec.ts",
          "line": 51,
          "column": 3
        },
        {
          "title": "@test-gate /profile shows the unsupported-host notice in a browser",
          "ok": true,
          "tags": [
            "test-gate"
          ],
          "tests": [
            {
              "timeout": 30000,
              "annotations": [],
              "expectedStatus": "passed",
              "projectId": "chromium-mobile",
              "projectName": "chromium-mobile",
              "results": [
                {
                  "workerIndex": 1,
                  "parallelIndex": 1,
                  "status": "passed",
                  "duration": 742,
                  "errors": [],
                  "stdout": [],
                  "stderr": [],
                  "retry": 0,
                  "startTime": "2026-10-23T04:42:24.014Z",
                  "annotations": [],
                  "attachments": []
                }
              ],
              "status": "expected"
            }
          ],
          "id": "37c772ca39f4c8e5dd7a-8605535a2807e17fcccc",
          "file": "test-gate.spec.ts",
          "line": 51,
          "column": 3
        },
        {
          "title": "@test-gate /settings shows the unsupported-host notice in a browser",
          "ok": true,
          "tags": [
            "test-gate"
          ],
          "tests": [
            {
              "timeout": 30000,
              "annotations": [],
              "expectedStatus": "passed",
              "projectId": "chromium-mobile",
              "projectName": "chromium-mobile",
              "results": [
                {
                  "workerIndex": 0,
                  "parallelIndex": 0,
                  "status": "passed",
                  "duration": 656,
                  "errors": [],
                  "stdout": [],
                  "stderr": [],
                  "retry": 0,
                  "startTime": "2026-10-23T04:42:24.025Z",
                  "annotations": [],
                  "attachments": []
                }
              ],
              "status": "expected"
            }
          ],
          "id": "37c772ca39f4c8e5dd7a-4a2fdc9884c1725de4f8",
          "file": "test-gate.spec.ts",
          "line": 51,
          "column": 3
        },
        {
          "title": "@test-gate gated browser entry issues no business API request",
          "ok": true,
          "tags": [
            "test-gate"
          ],
          "tests": [
            {
              "timeout": 30000,
              "annotations": [],
              "expectedStatus": "passed",
              "projectId": "chromium-mobile",
              "projectName": "chromium-mobile",
              "results": [
                {
                  "workerIndex": 0,
                  "parallelIndex": 0,
                  "status": "passed",
                  "duration": 656,
                  "errors": [],
                  "stdout": [],
                  "stderr": [],
                  "retry": 0,
                  "startTime": "2026-10-23T04:42:24.689Z",
                  "annotations": [],
                  "attachments": []
                }
              ],
              "status": "expected"
            }
          ],
          "id": "37c772ca39f4c8e5dd7a-09f38a2b8ed735e192d8",
          "file": "test-gate.spec.ts",
          "line": 65,
          "column": 1
        },
        {
          "title": "@test-gate injected native host bypasses the notice and starts the app",
          "ok": true,
          "tags": [
            "test-gate"
          ],
          "tests": [
            {
              "timeout": 30000,
              "annotations": [],
              "expectedStatus": "passed",
              "projectId": "chromium-mobile",
              "projectName": "chromium-mobile",
              "results": [
                {
                  "workerIndex": 1,
                  "parallelIndex": 1,
                  "status": "passed",
                  "duration": 642,
                  "errors": [],
                  "stdout": [],
                  "stderr": [],
                  "retry": 0,
                  "startTime": "2026-10-23T04:42:24.767Z",
                  "annotations": [],
                  "attachments": []
                }
              ],
              "status": "expected"
            }
          ],
          "id": "37c772ca39f4c8e5dd7a-8caf237c4d42513fff2f",
          "file": "test-gate.spec.ts",
          "line": 80,
          "column": 1
        }
      ]
    }
  ],
  "errors": [],
  "stats": {
    "startTime": "2026-10-23T04:42:22.352Z",
    "duration": 3097.632,
    "expected": 7,
    "skipped": 0,
    "unexpected": 0,
    "flaky": 0
  }
}