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.69.6.122
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 /
mod /
forum /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
add_forum.feature
1.91
KB
-rw-r--r--
add_forum_inline.feature
1.45
KB
-rw-r--r--
advanced_search.feature
5.65
KB
-rw-r--r--
behat_mod_forum.php
20.8
KB
-rw-r--r--
completion_condition_number_di...
2.19
KB
-rw-r--r--
discussion_display.feature
5.29
KB
-rw-r--r--
discussion_lock.feature
3.82
KB
-rw-r--r--
discussion_navigation.feature
6.91
KB
-rw-r--r--
discussion_subscriptions.featu...
21.03
KB
-rw-r--r--
edit_post_student.feature
2.28
KB
-rw-r--r--
edit_post_teacher.feature
2.86
KB
-rw-r--r--
edit_tags.feature
3.18
KB
-rw-r--r--
favourite_discussion.feature
2.3
KB
-rw-r--r--
forum_export.feature
2.78
KB
-rw-r--r--
forum_subscriptions.feature
4.45
KB
-rw-r--r--
forum_subscriptions_availabili...
5.99
KB
-rw-r--r--
forum_subscriptions_default.fe...
5.73
KB
-rw-r--r--
forum_subscriptions_management...
2.07
KB
-rw-r--r--
forum_subscriptions_mode_behav...
1.81
KB
-rw-r--r--
grade_forum.feature
7.77
KB
-rw-r--r--
grade_view_discussion.feature
2.78
KB
-rw-r--r--
groups_in_course_no_groups_in_...
2.43
KB
-rw-r--r--
inpage_reply.feature
2.14
KB
-rw-r--r--
move_discussion.feature
1.65
KB
-rw-r--r--
my_forum_posts.feature
1.55
KB
-rw-r--r--
no_groups_in_course.feature
3.79
KB
-rw-r--r--
portfolio_export.feature
1.92
KB
-rw-r--r--
post_to_multiple_groups.featur...
5.16
KB
-rw-r--r--
posts_ordering_blog.feature
3.3
KB
-rw-r--r--
posts_ordering_general.feature
3.47
KB
-rw-r--r--
private_replies.feature
2.84
KB
-rw-r--r--
recent_activity.feature
7.17
KB
-rw-r--r--
separate_group_discussions.fea...
12.67
KB
-rw-r--r--
separate_group_grade_forum.fea...
2.63
KB
-rw-r--r--
separate_group_single_group_di...
3.75
KB
-rw-r--r--
single_forum_discussion.featur...
1.78
KB
-rw-r--r--
split_forum_discussion.feature
2.89
KB
-rw-r--r--
timed_discussions.feature
2.13
KB
-rw-r--r--
track_read_posts.feature
7
KB
-rw-r--r--
visible_group_discussions.feat...
10.85
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : posts_ordering_blog.feature
@mod @mod_forum Feature: Blog posts are always displayed in reverse chronological order In order to use forum as a blog As a user I need to see most recent blog posts first Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | | student1 | Student | 1 | student1@example.com | And the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | student1 | C1 | student | And the following "activity" exists: | course | C1 | | activity | forum | | name | Course blog forum | | type | blog | # # We need javascript/wait to prevent creation of the posts in the same second. The threads # would then ignore each other in the prev/next navigation as the Forum is unable to compute # the correct order. # @javascript Scenario: Replying to a blog post or editing it does not affect its display order Given I am on the "Course blog forum" "forum activity" page logged in as student1 # # Add three posts into the blog. # When I add a new topic to "Course blog forum" forum with: | Subject | Blog post 1 | | Message | This is the first post | And I add a new topic to "Course blog forum" forum with: | Subject | Blog post 2 | | Message | This is the second post | And I add a new topic to "Course blog forum" forum with: | Subject | Blog post 3 | | Message | This is the third post | # # Edit one of the blog posts. # And I click on "Edit" "link" in the "//div[@aria-label='Blog post 2 by Student 1']" "xpath_element" And I set the following fields to these values: | Subject | Edited blog post 2 | And I press "Save changes" And I wait to be redirected And I log out # # Reply to another blog post. # And I am on the "Course blog forum" "forum activity" page logged in as teacher1 And I click on "Discuss this topic" "link" in the "//div[@aria-label='Blog post 1 by Student 1']" "xpath_element" And I reply "Blog post 1" post from "Course blog forum" forum with: | Message | Reply to the first post | And I am on the "Course blog forum" "forum activity" page # # Make sure the order of the blog posts is still reverse chronological. # Then I should see "This is the third post" in the "//article[position()=1]" "xpath_element" And I should see "This is the second post" in the "//article[position()=2]" "xpath_element" And I should see "This is the first post" in the "//article[position()=3]" "xpath_element" # # Make sure the next/prev navigation uses the same order of the posts. # And I click on "Discuss this topic" "link" in the "//div[@aria-label='Edited blog post 2 by Student 1']" "xpath_element" And "//a[@aria-label='Next discussion: Blog post 3']" "xpath_element" should exist And "//a[@aria-label='Previous discussion: Blog post 1']" "xpath_element" should exist
Close