[2.2.0rc2, UI, Test hardware] Change the wording of the error message for hardware testing a deployed machine

Bug #1681738 reported by Maria Vrachni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Low
Steve Rydz

Bug Description

[2.2.0rc2, UI, Test hardware] Change the wording of the error message for hardware testing a deployed machine.

Rephrasing the message to be more consistent with the language use in MAAS.

Bug description:

* Current result:

Given I have selected a destructive test for hardware testing a deployed machine
When I click on the button Test [x] machines
Then I see an error message with the copy "Node failed to be tested because of the following error: Unable to run destructive test while deployed!"

* Expected/ correct result:

Given I have selected a destructive test for hardware testing of a deployed machine in either the machine page or the machine listing
When I click on the button Test machine/ Test [x] machines
Then for the machine I should see an error message with the copy "The selected hardware tests contain one or more destructive tests. Destructive tests cannot run on deployed machines."

And for multiple machine selection I should see an error message with the copy: "[x] machines cannot run hardware testing. The selected hardware tests contain one or more destructive tests. Destructive tests cannot run on deployed machines."

[OS X Sierra]

Chrome, 56.0.2924.87 (64-bit)

Tags: papercut ui

Related branches

Revision history for this message
Maria Vrachni (m-vrachnis) wrote :
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
Changed in maas:
importance: Medium → Wishlist
milestone: none → next
importance: Wishlist → Low
milestone: next → 2.2.0rc2
Changed in maas:
milestone: 2.2.0rc2 → 2.2.0rc3
Changed in maas:
milestone: 2.2.0rc3 → 2.2.1
Changed in maas:
milestone: 2.2.1 → 2.2.x
tags: added: papercut
Changed in maas:
milestone: 2.2.x → 2.3.x
Revision history for this message
Karl Williams (deadlight) wrote :

The string that needs to change is in src/maasserver/models/node.py

Changed in maas:
assignee: nobody → Karl Williams (deadlight)
Steve Rydz (steverydz)
Changed in maas:
assignee: Karl Williams (deadlight) → Steve Rydz (steverydz)
status: Triaged → In Progress
Steve Rydz (steverydz)
Changed in maas:
status: In Progress → Triaged
Steve Rydz (steverydz)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.