HEX
Server: LiteSpeed
System: Linux server.zepintelhosting.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: enamadmin (1026)
PHP: 8.2.30
Disabled: exec,system,passthru,shell_exec,proc_open,popen,apache_child_terminate
Upload Files
File: /home/enamadmin/public_html/aaelearningb/theme/boost/tests/behat/welcome_to_moodle.feature
@javascript @theme_boost
Feature: Welcome message on boost
  To be welcome in moodle
  As a User
  I need to see a welcome message on the first page

  Scenario: Login and be welcomed on the homepage
    Given the following config values are set as admin:
      | defaulthomepage | 0 |
    When I log in as "admin"
    Then I should not see "Acceptance test site" in the "page-header" "region"
    And I should see "Welcome, Admin!" in the "page-header" "region"
    And I reload the page
    And I should not see "Welcome, Admin!" in the "page-header" "region"
    And I should see "Acceptance test site" in the "page-header" "region"

  Scenario: Login and be welcomed on the dashboard
    Given the following config values are set as admin:
      | defaulthomepage | 1 |
    When I log in as "admin"
    Then I should not see "Dashboard" in the "page-header" "region"
    And I should see "Welcome, Admin!" in the "page-header" "region"
    And I reload the page
    And I should not see "Welcome, Admin!" in the "page-header" "region"
    And I should see "Dashboard" in the "page-header" "region"

  Scenario: Login and be welcomed on the my courses page
    Given the following config values are set as admin:
      | defaulthomepage | 3 |
    When I log in as "admin"
    Then I should not see "My courses" in the "page-header" "region"
    And I should see "Welcome, Admin!" in the "page-header" "region"
    And I reload the page
    And I should not see "Welcome, Admin!" in the "page-header" "region"
    And I should see "My courses" in the "page-header" "region"