Debian Codegraph @

install/freeipa-webui/cypress/e2e/hbac/hbac_service/hbac_service_is_member_of.feature

raw
1 Feature: HBAC service is a member of
2 Work with HBAC service Is a member of section
3
4 @test
5 Scenario: Add crond to a HBAC service group
6 Given I am logged in as admin
7 And I am on "hbac-services/crond" page
8
9 When I click on the "hbac-service-is-member-of-tab" tab
10 Then I should see "hbac-service-is-member-of-tab" tab selected
11 And I should see "hbac-service-is-member-of-tab-hbacservicegroups" tab
12
13 When I click on the "member-of-button-add" button
14 Then I should see "member-of-add-modal" modal
15
16 Then I should see "item-ftp" dual list item on the left
17 When I click on "item-ftp" dual list item
18 Then I should see "item-ftp" dual list item selected
19
20 When I click on the "dual-list-add-selected" button
21 Then I should see "item-ftp" dual list item on the right
22 And I should see "item-ftp" dual list item not selected
23
24 When I click on the "modal-button-add" button
25 Then I should not see "member-of-add-modal" modal
26 And I should see "add-member-success" alert
27 And I should see "ftp" entry in the data table
28
29 @cleanup
30 Scenario: Delete a HBAC service group
31 Given I delete service group member "ftp" from service "crond"
32
33 @seed
34 Scenario: Add a HBAC service group
35 Given I add service group member "ftp" to service "crond"
36
37 @test
38 Scenario: Search for a HBAC service group
39 Given I am logged in as admin
40 And I am on "hbac-services/crond" page
41
42 When I click on the "hbac-service-is-member-of-tab" tab
43 Then I should see "hbac-service-is-member-of-tab" tab selected
44
45 When I search for "ftp" in the members table
46 Then I should see "ftp" entry in the data table
47
48 When I search for "notthere" in the members table
49 Then I should not see "notthere" entry in the data table
50 And I should not see "ftp" entry in the data table
51
52 @cleanup
53 Scenario: Delete a HBAC service group
54 Given I delete service group member "ftp" from service "crond"
55
56 @seed
57 Scenario: Add a HBAC service group
58 Given I add service group member "ftp" to service "crond"
59
60 @test
61 Scenario: Delete a member from the HBAC service group
62 Given I am logged in as admin
63 And I am on "hbac-services/crond" page
64
65 When I click on the "hbac-service-is-member-of-tab" tab
66 Then I should see "hbac-service-is-member-of-tab" tab selected
67
68 When I search for "ftp" in the members table
69 Then I should see "ftp" entry in the data table
70
71 When I select entry "ftp" in the members table
72 And I click on the "member-of-button-delete" button
73 Then I should see "member-of-delete-modal" modal
74 And I should see "ftp" entry in the data table
75
76 When I click on the "modal-button-delete" button
77 Then I should not see "member-of-delete-modal" modal
78 And I should see "remove-hbac-services-success" alert
79 And I should not see "ftp" entry in the data table
80