Skip to content

Commit

Permalink
amend unit tests for tm_g_distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
chlebowa committed Feb 3, 2025
1 parent 5c8668d commit 76e9a01
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/testthat/test-shinytest2-tm_g_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ testthat::test_that("e2e - tm_g_distribution: Histogram encoding inputs produce
app_driver <- app_driver_tm_g_distribution()

app_driver$set_active_module_input("main_type", "Density")
app_driver$expect_validation_error() # test needs to be updated to remove validation error
app_driver$expect_no_validation_error()
app_driver$set_active_module_input("dist_tests", "Shapiro-Wilk")

# Encodings in the Histogram tab
Expand Down Expand Up @@ -112,8 +112,6 @@ testthat::test_that("e2e - tm_g_distribution: QQ plot encoding inputs produce ou

# Encodings in the QQplot tab
app_driver$set_active_module_input("main_type", "Density")
app_driver$expect_validation_error() # test needs to be updated to remove validation error
app_driver$set_active_module_input("dist_tests", "Shapiro-Wilk")
app_driver$expect_no_validation_error()

app_driver$set_active_module_input("tabs", "QQplot")
Expand Down

0 comments on commit 76e9a01

Please sign in to comment.