Skip to content

Commit

Permalink
[tests] Fix broken tests - there but empty no longer counts as displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
jstockwin committed Feb 24, 2020
1 parent 8a46033 commit 42641ee
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState1.1.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState2.1.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState2.2.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState3.1.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState4.1.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState5.1.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState6.1.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState6.2.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState7.1.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState7.2.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState7.3.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState7.4.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState7.5.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState7.6.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState8.1.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState8.2.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState8.3.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/testSuite002-states-testState9.1.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ tryCatch({
})

test_that("no errors are displaying", {
expect_true(isDisplayed(remDr, pages$common$selectors$error_message))
expect_false(isDisplayed(remDr, pages$common$selectors$error_message))
expect_equal(getText(remDr, pages$common$selectors$error_message), "")
})
},
Expand Down

0 comments on commit 42641ee

Please sign in to comment.