Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed shinytest and replaced with Shinytest2 #23

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

Chris-bennettWk
Copy link
Collaborator

Removed shinytest and replaced with Shinytest2. Had to remove shinytest manually and start again with shinytest2 because it wouldn't migrate

@Chris-bennettWk Chris-bennettWk merged commit 31b129c into development Oct 15, 2024
1 of 2 checks passed
library(shinytest2)

test_that("{shinytest2} recording: ks5-transition-matrices", {
app <- AppDriver$new(name = "ks5-transition-matrices", height = 911, width = 1619)

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 84 characters. Note test

Lines should not be more than 80 characters. This line is 84 characters.

test_that("{shinytest2} recording: ks5-transition-matrices", {
app <- AppDriver$new(name = "ks5-transition-matrices", height = 911, width = 1619)
app$set_inputs(example_table_rows_current = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), allow_no_input_binding_ = TRUE)

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 111 characters. Note test

Lines should not be more than 80 characters. This line is 111 characters.
test_that("{shinytest2} recording: ks5-transition-matrices", {
app <- AppDriver$new(name = "ks5-transition-matrices", height = 911, width = 1619)
app$set_inputs(example_table_rows_current = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), allow_no_input_binding_ = TRUE)
app$set_inputs(example_table_rows_all = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), allow_no_input_binding_ = TRUE)

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 107 characters. Note test

Lines should not be more than 80 characters. This line is 107 characters.
), allow_no_input_binding_ = TRUE)
app$expect_values()
app$set_inputs(navlistPanel = "dashboard")
app$set_inputs(tm_table_rows_current = c(1, 2, 3, 4, 5, 6, 7, 8), allow_no_input_binding_ = TRUE)

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 99 characters. Note test

Lines should not be more than 80 characters. This line is 99 characters.
app$expect_values()
app$set_inputs(navlistPanel = "dashboard")
app$set_inputs(tm_table_rows_current = c(1, 2, 3, 4, 5, 6, 7, 8), allow_no_input_binding_ = TRUE)
app$set_inputs(tm_table_rows_all = c(1, 2, 3, 4, 5, 6, 7, 8), allow_no_input_binding_ = TRUE)

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 95 characters. Note test

Lines should not be more than 80 characters. This line is 95 characters.
app$set_inputs(navlistPanel = "cookies_panel_ui")
app$set_inputs(navlistPanel = "dashboard")
app$set_inputs(subj_select = "Chemistry")
app$set_inputs(tm_table_rows_current = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), allow_no_input_binding_ = TRUE)

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 106 characters. Note test

Lines should not be more than 80 characters. This line is 106 characters.
app$set_inputs(navlistPanel = "dashboard")
app$set_inputs(subj_select = "Chemistry")
app$set_inputs(tm_table_rows_current = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), allow_no_input_binding_ = TRUE)
app$set_inputs(tm_table_rows_all = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), allow_no_input_binding_ = TRUE)

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 102 characters. Note test

Lines should not be more than 80 characters. This line is 102 characters.
c(TRUE, "", TRUE, FALSE, TRUE)
), allow_no_input_binding_ = TRUE)
app$set_inputs(format = "Percentage data")
app$set_inputs(tm_table_rows_current = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), allow_no_input_binding_ = TRUE)

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 106 characters. Note test

Lines should not be more than 80 characters. This line is 106 characters.
), allow_no_input_binding_ = TRUE)
app$set_inputs(format = "Percentage data")
app$set_inputs(tm_table_rows_current = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), allow_no_input_binding_ = TRUE)
app$set_inputs(tm_table_rows_all = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), allow_no_input_binding_ = TRUE)

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 102 characters. Note test

Lines should not be more than 80 characters. This line is 102 characters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant