[ABTEST-484] Test variants are removed on duplicated test when delete the source completed test Created: 04/Jun/21  Updated: 17/Jun/21  Resolved: 10/Jun/21

Status: Closed
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Nguyen Phung Chi
Resolution: Fixed Votes: 0
Labels: VN-Analysis, VN-Implementation, VN-Testing
Remaining Estimate: 0d
Time Spent: 2.75d
Original Estimate: Not Specified

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:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: ABn GA tasks
Sprint: Content Mngmt 5
Story Points: 2

 Description   

Steps to reproduce

Case 1:

  1. Duplicate a test from a completed test 
  2. Add a new test variant on the duplicated test
  3. Delete the source test which is completed 

Case 2:

  1. Create a test name A, and run the test
  2. Duplicate test A, so we have test A0
  3. Delete test A0

=> Actual result: variants in test A have been removed

Expected results

  • The duplicated test should be unchanged, the test variants should remain

Actual results

  • All test variants of the duplicated test are removed.

Workaround

Development notes

  • For all of the other status of the source test (running, not started, aborted) the app disallows creating variants. Trying to do so results in an error notification "Other tests are using this page, please choose another." Maybe we should handle the case of a completed test in the same way. For the time being this will force users to delete completed tests before running another test for the same page.  ABTEST-83 should fix this though.

Generated at Sun Feb 11 22:56:41 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.