diff --git a/tests/testthat/_snaps/app-server/002.json b/tests/testthat/_snaps/app-server/002.json index ca7a7cd..dfa676d 100644 --- a/tests/testthat/_snaps/app-server/002.json +++ b/tests/testthat/_snaps/app-server/002.json @@ -1,8 +1,13 @@ { "input": { "close": 0, - "options": 0, + "i_data": "0", + "i_files": "0", + "i_history": false, + "options": 1, "prompt": "", + "prompt2": "Use the R language, the tidyverse, and tidymodels", + "saved": 0, "submit": 1, "tabs": null }, diff --git a/tests/testthat/_snaps/app-server/003.json b/tests/testthat/_snaps/app-server/003.json index dfa676d..6588cda 100644 --- a/tests/testthat/_snaps/app-server/003.json +++ b/tests/testthat/_snaps/app-server/003.json @@ -7,7 +7,7 @@ "options": 1, "prompt": "", "prompt2": "Use the R language, the tidyverse, and tidymodels", - "saved": 0, + "saved": 1, "submit": 1, "tabs": null }, diff --git a/tests/testthat/_snaps/app-server/004.json b/tests/testthat/_snaps/app-server/004.json deleted file mode 100644 index 6588cda..0000000 --- a/tests/testthat/_snaps/app-server/004.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "input": { - "close": 0, - "i_data": "0", - "i_files": "0", - "i_history": false, - "options": 1, - "prompt": "", - "prompt2": "Use the R language, the tidyverse, and tidymodels", - "saved": 1, - "submit": 1, - "tabs": null - }, - "output": { - "provider": "Test", - "stream": "" - }, - "export": { - - } -} diff --git a/tests/testthat/test-app-server.R b/tests/testthat/test-app-server.R index 1912a02..f29f831 100644 --- a/tests/testthat/test-app-server.R +++ b/tests/testthat/test-app-server.R @@ -8,7 +8,6 @@ test_that("chattr app initial values are consistent", { app$expect_values(screenshot_args = FALSE) app$set_inputs(prompt = "hello", allow_no_input_binding_ = TRUE) app$click("submit") - app$expect_values(screenshot_args = FALSE) app$click("options") app$expect_values(screenshot_args = FALSE) app$click("saved")