Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007541TestLinkTest Plan - Assign Test Case Executionpublic2016-05-12 12:572016-05-16 10:04
Reporterdorusinec 
Assigned Tofman 
PriorityhighSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version1.9.14 (2015 Q3) 
Fixed in Version 
Summary0007541: Web browser not respoding for few minutes (too many items & chosen Jquery html select replace)
DescriptionWe have 61 added platforms to the Test Plan (that are or previously were used in builds), out of those there are 8 used (TCs assigned to them) in current build.
We have 48 active users that can be added to the TC execution.

We assume, that when we click on a TestSuite that contains a huge number of TestCases (our case 355), after the webpage (frmWorkArea.php?feature=tc_exec_assignment) is loaded, the background script tries to create option items for “Assign to” search fields – this is done for each TC and platform – add every active user to the “Assign to” search field. This scripted operation takes a lot of time.
A simple math – 355 TCs * 8 Platforms * 48 users = 136320 objects that need to be counted and filled as options in Search field (object “chosen-drop”, child “chosen-results”).
Steps To Reproduce• using Keyword filter test cases for assignment (355 test cases in my case)
• click the main test suite (“Beta” in my case) to list all filtered test cases in the right part of the screen
     o web browser gets into “Not Responding” state for few minutes
• select platform in the first combobox (right part of the screen) and click [Check/uncheck all Test cases]
• in the list “Bulk user assignment” select user for assignment and click [Do]
• click [Save]
     o web browser gets into “Not Responding” state for few minutes
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserIE, Chrome, Firefox
PHP Version
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
(0024807)
fman (administrator)
2016-05-12 18:30

I need exactly your data => need your db dump in order to reproduce same use case.
(0024813)
dorusinec (reporter)
2016-05-13 06:29

did you try reproduce it?

DB contains lot of confidential data and therefore we cannot provide our DB dump, sorry.
(0024816)
fman (administrator)
2016-05-13 08:40

As I have written I NEED YOUR DATA or something similar.
You can send me the data scrambled.
(0024817)
dorusinec (reporter)
2016-05-13 12:32

We will try prepare it.
(0024828)
fman (administrator)
2016-05-14 19:19

Reason for bad page response when trying to display test cases in right side of screen, is transformation of html select on chosen Jquery.

Workaround: edit tc_exec_assignment_flat.tpl, commenting line

jQuery(".chosen-select").chosen({ width: "85%", allow_single_deselect: true });

Some manipulation can be done automatically setting a HARD limit on amount of items to draw, then chosing TO DO NOT USE chosen in this situation.
(0024829)
dorusinec (reporter)
2016-05-16 10:04

workaround helped. thanks

- Issue History
Date Modified Username Field Change
2016-05-12 12:57 dorusinec New Issue
2016-05-12 18:30 fman Note Added: 0024807
2016-05-13 06:29 dorusinec Note Added: 0024813
2016-05-13 08:40 fman Note Added: 0024816
2016-05-13 08:41 fman Assigned To => fman
2016-05-13 08:41 fman Status new => feedback
2016-05-13 12:32 dorusinec Note Added: 0024817
2016-05-13 12:32 dorusinec Status feedback => assigned
2016-05-14 19:19 fman Note Added: 0024828
2016-05-14 19:20 fman QA Team - Task Workflow Status => TBD
2016-05-14 19:20 fman Summary Web browser not respoding for few minutes => Web browser not respoding for few minutes (too many items & chosen Jquery html select replace)
2016-05-14 19:20 fman Status assigned => feedback
2016-05-16 10:04 dorusinec Note Added: 0024829
2016-05-16 10:04 dorusinec Status feedback => assigned



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker