Running ‘spelling.R’
  Running ‘testthat.R’ [91s/87s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(shinytest2)
  > 
  > test_check("shinytest2")
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 325 ]
  
  ══ Skipped tests (7) ═══════════════════════════════════════════════════════════
  • App test folders have been ignored (1): 'test-apps.R:3:3'
  • On CRAN (3): 'test-app-screenshot-size.R:5:3',
    'test-migration-migrate.R:3:1', 'test-shinytest2.R:1:1'
  • Only run on CI (3): 'test-save-app.R:6:3', 'test-save-app.R:23:3',
    'test-save-app.R:36:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-app-duplicate-ids.R:16:3'): Duplicate input ids are found ──────
  Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, 
      timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args, 
      screenshot_args = screenshot_args, check_names = check_names, 
      name = name, variant = variant, view = view, height = height, 
      width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args, 
      render_args = render_args, options = options)`: Shiny app did not become stable in 15000ms.
  Message: Timed out waiting for JavaScript script to return `true`
  i `timeout`: 15000
  i `script`:
  window.shinytest2 && window.shinytest2.ready === true
  Caused by error in `chromote_wait_for_condition()`:
  ! Timed out waiting for JavaScript script to return `true`
  i `timeout`: 15000
  i `script`:
  window.shinytest2 && window.shinytest2.ready === true
  
  
  i You can inspect the failed AppDriver object via `rlang::last_error()$app`
  i AppDriver logs:
  {shinytest2} R  info   10:02:36.39 Start AppDriver initialization
  {shinytest2} R  info   10:02:36.50 Starting Shiny app
  {shinytest2} R  info   10:02:38.22 Creating new ChromoteSession
  {shinytest2} R  info   10:02:38.48 Navigating to Shiny app
  {shinytest2} R  info   10:02:38.76 Injecting shiny-tracer.js
  {chromote}   JS info   10:02:38.86 shinytest2; jQuery found
  {chromote}   JS info   10:02:38.90 shinytest2; Waiting for shiny session to connect
  {chromote}   JS info   10:02:38.90 shinytest2; Loaded
  {shinytest2} R  info   10:02:38.90 Waiting for Shiny to become ready
  {chromote}   JS throw  10:02:39.14 Uncaught TypeError: Cannot read properties of undefined (reading 'normalCall')
                                         at B (http://127.0.0.1:5240/shiny-javascript-1.8.1/shiny.min.js:2:413763)
                                     B @ shiny-javascript-1.8.1/shiny.min.js:1:413762
  {chromote}   JS throw  10:02:39.16 Uncaught (in promise) ShinyClientError: The following ID was repeated:
                                     - "text": 2 inputs
                                         at Object.r [as checkValidity] (http://127.0.0.1:5240/shiny-javascript-1.8.1/shiny.min.js:2:291694)
                                         at http://127.0.0.1:5240/shiny-javascript-1.8.1/shiny.min.js:2:295855
                                         at m (http://127.0.0.1:5240/shiny-javascript-1.8.1/shiny.min.js:2:283695)
                                         at Generator.<anonymous> (http://127.0.0.1:5240/shiny-javascript-1.8.1/shiny.min.js:2:285018)
                                         at Generator.next (http://127.0.0.1:5240/shiny-javascript-1.8.1/shiny.min.js:2:284054)
                                         at ZP (http://127.0.0.1:5240/shiny-javascript-1.8.1/shiny.min.js:2:289665)
                                         at f (http://127.0.0.1:5240/shiny-javascript-1.8.1/shiny.min.js:2:289863)
                                     r           @ shiny-javascript-1.8.1/shiny.min.js:1:291693
                                     (anonymous) @ shiny-javascript-1.8.1/shiny.min.js:1:295854
                                     m           @ shiny-javascript-1.8.1/shiny.min.js:1:283694
                                     (anonymous) @ shiny-javascript-1.8.1/shiny.min.js:1:285017
                                     (anonymous) @ shiny-javascript-1.8.1/shiny.min.js:1:284053
                                     ZP          @ shiny-javascript-1.8.1/shiny.min.js:1:289664
                                     f           @ shiny-javascript-1.8.1/shiny.min.js:1:289862
  {shinytest2} R  info   10:02:54.23 Error while initializing AppDriver:
                                     Shiny app did not become stable in 15000ms.
                                     Message: Timed out waiting for JavaScript script to return `true`
                                     i `timeout`: 15000
                                     i `script`:
                                     window.shinytest2 && window.shinytest2.ready === true
                                     Caused by error in `chromote_wait_for_condition()`:
                                     ! Timed out waiting for JavaScript script to return `true`
                                     i `timeout`: 15000
                                     i `script`:
                                     window.shinytest2 && window.shinytest2.ready === true
  {shiny}      R  stderr ----------- Loading required package: shiny
  {shiny}      R  stderr ----------- Running application in test mode.
  {shiny}      R  stderr ----------- 
  {shiny}      R  stderr ----------- Listening on http://127.0.0.1:5240
  
  
  Caused by error in `app_initialize_()`:
  ! Shiny app did not become stable in 15000ms.
  Message: Timed out waiting for JavaScript script to return `true`
  i `timeout`: 15000
  i `script`:
  window.shinytest2 && window.shinytest2.ready === true
  Caused by error in `chromote_wait_for_condition()`:
  ! Timed out waiting for JavaScript script to return `true`
  i `timeout`: 15000
  i `script`:
  window.shinytest2 && window.shinytest2.ready === true
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-app-duplicate-ids.R:16:3
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─AppDriver$new(shiny_app, check_names = TRUE)
    8. │ └─shinytest2 (local) initialize(...)
    9. │   └─shinytest2:::app_initialize(...)
   10. │     ├─base::withCallingHandlers(...)
   11. │     └─shinytest2:::app_initialize_(self, private, ..., view = view)
   12. │       ├─base::withCallingHandlers(...)
   13. │       └─self$wait_for_js(...)
   14. │         └─shinytest2:::app_wait_for_js(...)
   15. │           └─shinytest2:::chromote_wait_for_condition(...)
   16. │             └─rlang::abort(...)
   17. │               └─rlang:::signal_abort(cnd, .file)
   18. │                 └─base::signalCondition(cnd)
   19. ├─shinytest2 (local) `<fn>`(`<rlng_rrr>`)
   20. │ └─shinytest2:::app_abort(...)
   21. │   └─rlang::abort(..., app = self, call = call)
   22. │     └─rlang:::signal_abort(cnd, .file)
   23. │       └─base::signalCondition(cnd)
   24. └─shinytest2 (local) `<fn>`(`<rlng_rrr>`)
   25.   └─shinytest2:::app_abort(...)
   26.     └─rlang::abort(..., app = self, call = call)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 325 ]
  Error: Test failures
  [2024-03-31 10:03:51] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
  Execution halted