rxue / dictionary

Practice in Java EE
1 stars 0 forks source link

DESIGN FLAW: changing word of speech in update page does not work #82

Open rxue opened 1 year ago

rxue commented 1 year ago

This flaw was discovered when trying to resolve a bug

How to reproduce the bug

  1. open the update.xhtml front-end page
  2. search for a word, e.g. take from English to 简体中文
  3. update the 2nd explanation by changing the word of speech from vt to vi merely for testing purpose
  4. click the update button
  5. open the search.xhtml page
  6. search for the word, take in the search.xhtml page

Expected Result: there should be an explanation with word of speech vi

Actual Result: there is no explanation with word of speech vi

TODO

  1. TDD to expose the bug in the first place - NOTE! This is an integration test and try to write the test with Groovy
rxue commented 1 year ago

NOTE! debug starting from relase v1-alpha