Skip to content

e2e test passing CI but actually failing  #186

@mrjones-plip

Description

@mrjones-plip

Describe the issue
On the main branch, when we run the waitForDbt(client) it should succeed, but it fails with an error (see below). Further, CI actually succeeds instead of noticing that there was an error.

   Main workflow Test Suite
Importing docs
Waiting for DBT
    1) "before all" hook in "Main workflow Test Suite"


  0 passing (35s)
  1 failing

  1) Main workflow Test Suite
       "before all" hook in "Main workflow Test Suite":
     Error: DBT models missing records after 30s
      at waitForDbt (file:///home/runner/work/cht-sync/cht-sync/tests/e2e-test.spec.js:33:11)
      at waitForDbt (file:///home/runner/work/cht-sync/cht-sync/tests/e2e-test.spec.js:47:10)
      at async Context.<anonymous> (file:///home/runner/work/cht-sync/cht-sync/tests/e2e-test.spec.js:58:5)

Describe the improvement you'd like
We should fail the CI test if it fails in CI. We should also fix the test so it succeeds (and so does CI then).

Describe alternatives you've considered
NA

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions