[Dashboard] Incorrect environment actions avaliable

Bug #1593292 reported by Alex Kholkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Valerii Kovalchuk

Bug Description

Detailed bug description:

It is possible to click "Deploy environments" on an env, which does not have this option (like an env with statuses "Ready to configure", "Deploying" and "Ready") when there is another env with status "Ready to deploy".

It is possible to click "Abandon environments" on an env, which does not have this option (like an env with statuses "Ready to configure", "Deploying" and "Ready to deploy") when there is another env with status "Ready".

These options should not be clickable when you choose an env, which does not have these options.

Also it is possible to choose env, which can be deployed or abandoned, and env which cannot be deployed or abandoned. After that it is possible to deploy or abandon both of them.

Steps to reproduce:
1) in the Dashboard go to > Applications > Environments
2) create 3 empty environments
3) add any application to one of them
4) go back to the Environments
5) choose an empty env and try to deploy

Expected result:
this option can not be used

Actual result:
you can click "Deploy environments"

Reproducibility:
Always

Tags: dashboard ux
Revision history for this message
Alex Kholkin (akholkin) wrote :
Changed in murano:
milestone: none → newton-2
importance: Undecided → Medium
status: New → Confirmed
tags: added: dashboard ux
description: updated
Changed in murano:
assignee: nobody → Valerii Kovalchuk (vakovalchuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

Fix proposed to branch: master
Review: https://review.openstack.org/332067

Changed in murano:
status: Confirmed → In Progress
Changed in murano:
milestone: newton-2 → newton-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/332067
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=f7192294311d3e8705d85e4ec4563b6b5e4ea15f
Submitter: Jenkins
Branch: master

commit f7192294311d3e8705d85e4ec4563b6b5e4ea15f
Author: Valerii Kovalchuk <email address hidden>
Date: Tue Jun 21 13:32:24 2016 +0300

    Disable action buttons according to the statuses of environments

    In environments list view, action buttons are only clickable if
    all checked environments have appropriate status to run this
    action.
    Page reload after environment status change is added to refresh
    displayed buttons.
    Selenium tests to check buttons availability are added.

    Change-Id: Iae50fb87697c3fa745e412f1cab50dc0da9d981b
    Closes-bug: #1593292

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 3.0.0.0b3

This issue was fixed in the openstack/murano-dashboard 3.0.0.0b3 development milestone.

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.