Ohara: [Manager] E2E test creates a worker with a name includes undefined in it

Created on 24 Sep 2019  路  5Comments  路  Source: oharastream/ohara

Describe the bug
e2e test , when run before() add a worker, it created a worker named with undefined

To Reproduce
Steps to reproduce the behavior:

  1. run 'e2e' test
  2. run 'pipelineEditPage.test.js'

Expected behavior
A normal worker name without undefined

Screenshots
image

Operation System (please complete the following information):

  • Backend OS & Version: CentOS 7.2
  • Frontend OS & Version: CentOS 7.2
  • Browser & Version : Chrome 77.0.3865.90
bug v0.8.0

All 5 comments

"undefined" seems to be a cursed word to ohara :(

"undefined" seems to be a cursed word to ohara :(

It's like a woooops in the frontend...

@DavidMi-1 Thanks for reporting. Could you help fix this issue? @wu87988622 could probably guide you thru the process :)

@DavidMi-1 Thanks for reporting. Could you help fix this issue? @wu87988622 could probably guide you thru the process :)

ok

Confirmed that worker name includ 'undefined' bc of prefix's value is 'undefined'.
Just add "servicePrefix" parameter setup in the config file 'cypress.env.json', and it's solved.
Case close.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eechih picture eechih  路  5Comments

eechih picture eechih  路  3Comments

HarryChiang143 picture HarryChiang143  路  3Comments

konekoya picture konekoya  路  3Comments

wu87988622 picture wu87988622  路  3Comments