Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug: Campaign test cases added to assessment are not in the correct order by default and reordering them is not reliable #263

Closed
grandmerchant opened this issue May 1, 2024 · 3 comments

Comments

@grandmerchant
Copy link

grandmerchant commented May 1, 2024

Describe the bug
When campaign test cases are added to an assessment, they are not ordered in the same way that they are ordered within the campaign creation page. Attempting to reorder the test cases within the assessment only partially works, with some test cases seemingly being impossible to reorder for unknown reasons. When you reorder and hit save, some test cases seem 'sticky' to their previous position and don't reorder properly.

Unless I'm missing something, this seems like a critical flaw as there is always a specific order that is preferred or even required to progress through various campaigns.

To Reproduce
Steps to reproduce the behavior:

  1. Note the order of test cases within a campaign in the campaign creation menu
  2. Create an assessment and add the campaign to it
  3. View the test cases within the assessment, some will be out of order.
  4. Some attempts to reorder within the assessment will be unsuccessful as well

Expected behavior
Reordering to work properly and test cases to be in the same order within an assessment that they are in within the campaign.

Screenshots
If applicable, add screenshots to help explain your problem.

User Platform(please complete the following information):

  • OS: W10
  • Browser Firefox
  • Version 125.0.2
    (also tried in Chome where it appeared to work a bit better but still unreliable)

VECTR Host(please complete the following information):

  • Linux Distro: Ubuntu
  • Linux Version: 24.04
  • VECTR Version 9.0.2

Additional context
Add any other context about the problem here.

@SRAPSpencer
Copy link
Collaborator

This is a known issue with no current workaround. The campaign screen is currently being rewritten in our move to modern UI frameworks and this will be addressed then. Unfortunately I do not have an ETA for this release item.

I would recommend using tags on test cases if you'd like to set a recorded execution order to refrence them from the campaign screen. In our methodology we test defense in depth running every test case regardless of the outcome of previous tests, so it has been a less critical issue internally.

@thebleucheese
Copy link
Contributor

@grandmerchant this should be fixed in next release in a couple weeks, possibly with the exception of wonky ordering on the escalation path page. That page is due for a rewrite and the older library we used for the orderable table items on there gets wild and crazy sometimes.

@doodleincode
Copy link
Contributor

This has been fixed in 9.2.1.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants