Skip to content

Commit

Permalink
Add fake value expectation in e2e test till #657 is not resolved (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
mszostok authored Mar 11, 2022
1 parent d47c527 commit 834cd44
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/action_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ var _ = Describe("Action", func() {

By("4.1 Check uploaded TypeInstances")
expUploadTIBackend := &hublocalgraphql.TypeInstanceBackendReference{ID: helmStorageTI.ID, Abstract: false}

// TODO(https://github.com/capactio/capact/issues/634): remove after using a real backend.
// for now, the Local Hub returns backend id under `key` property.
implIndicatorValue = expUploadTIBackend.ID

uploadedTI, cleanupUploaded := getUploadedTypeInstanceByValue(ctx, hubClient, implIndicatorValue)
defer cleanupUploaded() // We need to clean it up as it's not deleted when Action is deleted.
Expect(uploadedTI.Backend).Should(Equal(expUploadTIBackend))
Expand Down

0 comments on commit 834cd44

Please sign in to comment.