Commit b33c6f59 authored by Tamaki Fujino's avatar Tamaki Fujino Committed by Yas Naoi
Browse files

Issue #3269930 by TamakiFujino, yas: Hotfix - Add a BDD test suite for...

Issue #3269930 by TamakiFujino, yas: Hotfix - Add a BDD test suite for checking no resources created by administrator
parent 405cf165
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
@@ -74,16 +74,6 @@ Feature: Confirm no K8s resources created by user as "Administrator"
      | role            |
      |"Administrator"  |

  Scenario Outline: No storage classes are listed
    Given I am logged in as a user with the <role> role
    When I visit "/clouds/k8s/{{ cloud_context }}/storage_class"
    And I click "Refresh"
    Then I should not see a "table" element

    Examples:
      | role            |
      |"Administrator"  |

  Scenario Outline: No StatefulSets are listed
    Given I am logged in as a user with the <role> role
    When I visit "/clouds/k8s/{{ cloud_context }}/stateful_set"
@@ -104,16 +94,6 @@ Feature: Confirm no K8s resources created by user as "Administrator"
      | role            |
      |"Administrator"  |

  Scenario Outline: No events are listed
    Given I am logged in as a user with the <role> role
    When I visit "/clouds/k8s/{{ cloud_context }}/event"
    And I click "Refresh"
    Then I should not see a "table" element

    Examples:
      | role            |
      |"Administrator"  |

  Scenario Outline: No horizontal pod autoscalers are listed
    Given I am logged in as a user with the <role> role
    When I visit "/clouds/k8s/{{ cloud_context }}/horizontal_pod_autoscaler"