Minor - Fix behat forum tests

pull/3432/head
Julio Montoya 5 years ago
parent 6ff64d6739
commit 157996d274
  1. 2
      public/main/template/default/forum/posts.html.twig
  2. 2
      public/main/template/default/my_space/user_details.html.twig
  3. 2
      public/main/template/default/tracking/tracking_course_log.html.twig
  4. 4
      tests/behat/features/toolForum.feature

@ -20,7 +20,7 @@
<div class="row">
<div class="col-md-2">
<div class="thumbnail">
<img src="{{ post.author | user_avatar }}?w=100&h=100&fit=crop">
<img src="{{ post.author | illustration }}?w=100&h=100&fit=crop">
</div>
{{ post.user_data }}
</div>

@ -16,7 +16,7 @@
<div class="col-md-4">
<div class="user text-center">
<div class="avatar">
<img width="128px" src="{{ user | user_avatar }}" class="img-responsive">
<img width="128px" src="{{ user | illustration }}" class="img-responsive">
</div>
<div class="name">
{# <h3>{{ user.complete_name_link }}</h3>#}

@ -191,7 +191,7 @@ window.onload = function() {
<img
title="{{ student.fullname }}"
alt="{{ student.fullname }}"
src="{{ student.user | user_avatar }}"
src="{{ student.user | illustration }}"
width="40px">
</span>
</div>

@ -7,7 +7,7 @@ Feature: Forum tool
And I am on course "TEMP" homepage
Scenario: Create a forum category
Given I am on "/main/forum/index.php?action=add&content=forumcategory&cid=1"
Given I am on "/main/forum/index.php?action=add_category&cid=1"
When I fill in the following:
| forum_category_title | Forum Category Test |
And I fill in ckeditor field "forum_category_comment" with "This is the first forum category for test"
@ -15,7 +15,7 @@ Feature: Forum tool
Then I should see "The forum category has been added"
Scenario: Create a forum
Given I am on "/main/forum/index.php?action=add&content=forum&cid=1"
Given I am on "/main/forum/index.php?action=add_forum&cid=1"
When I fill in the following:
| forum_title | Forum Test |
And I fill in ckeditor field "forum_comment" with "This is the first forum for test"

Loading…
Cancel
Save