[MGNLTEST-178] Sporadic test failures on Form#setCodeFieldValue Created: 20/Sep/21  Updated: 19/Oct/21  Resolved: 24/Sep/21

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: 1.2.2
Fix Version/s: 1.2.2

Type: Bug Priority: Neutral
Reporter: Michael Duerig Assignee: Michael Duerig
Resolution: Fixed Votes: 0
Labels: shaky-test
Remaining Estimate: Not Specified
Time Spent: 0.5h
Original Estimate: Not Specified

Attachments: File ResourcesFunctionalTests_overrideClassPathResourceByHotfixOnAuthor.flv.mp4    
Issue Links:
relation
is related to MGNLTEST-173 Fix timing issues on Form P.O. Selected
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled

 Description   

Form#setCodeFieldValue caused the following tests to fail a few times:

  • ResourcesFunctionalTests.overrideClassPathResourceByHotfixOnAuthor (#656)
  • ResourcesFunctionalTests.publish2ndVersionOfJcrResource (#650)

 



 Comments   
Comment by Michael Duerig [ 20/Sep/21 ]

Maybe related MGNLTEST-173 ?

Comment by Michael Duerig [ 24/Sep/21 ]

The problem was caused by the auto complete feature inserting unexpected text into the code field. The fix tries to avoid this by removing any auto completed text by selecting to the end and deleting after each character typed.

Generated at Mon Feb 12 07:46:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.