Campuses: New Button Should be Inactive Until Institution is selected

Description

  1. Scenario

  • Given Settings > Organization > Campuses

  • When Institution is not selected

  • Then:

    • The warning "Please select an institution to continue" should display

    • The "Campuses" header, "+ New" button, and campus-list should be hidden

  • When Institution is selected

  • Then:

    • The warning "Please select an institution to continue" should be hidden

    • The "Campuses" header, "+ New" button, and campus-list (filtered by institution) should display

(Scenario updated per the discussion at UIORG-83)

  1. Scenario

    • Given Settings > Organization > Campuses

    • When no Institution is selected

    • Then:

      • The New button should be disabled

      • The button should have hover text reading "Institution must be selected to add a campus"

      • The "Campuses" heading should not display

      • The "There are no campuses" text should not display

See mockup: https://drive.google.com/file/d/1blZ77X3ZcbFeja5xWjAcJ0ytFXL8SGs2/view?usp=sharing

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 9, 2018 at 10:11 PM
Updated September 5, 2018 at 3:18 PM
Resolved June 28, 2018 at 8:12 PM
TestRail: Cases
TestRail: Runs