Display test result separately
Add option to mark them as reviewed to sort them by priority
PRODX-35953
Change-Id: If45d137b234db0fa42d5fb4316497989c5cd12bf
diff --git a/testrail_bot/control/models.py b/testrail_bot/control/models.py
index f613292..b3e84fb 100644
--- a/testrail_bot/control/models.py
+++ b/testrail_bot/control/models.py
@@ -82,10 +82,18 @@
class TestRailReport(models.Model):
path = models.FileField(storage=fs, null=True, blank=True, max_length=500)
report_name = models.CharField(max_length=300)
+ test_results = IntegerListField(default=list())
finished = models.BooleanField(default=False)
created_at = models.DateTimeField(auto_now_add=True)
+class TestResult(models.Model):
+ result_id = models.CharField(max_length=50)
+ text = models.CharField(max_length=10000, default="")
+ action_needed = models.BooleanField(default=True)
+ updated_at = models.DateTimeField(auto_now=True)
+
+
class ActionLog(models.Model):
name = models.CharField(max_length=500)
date = models.DateTimeField(null=True)