---
title: Content filtering tests
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Cdocs e2e tests > Content filtering tests
---

# Content filtering tests

## Currently selected filters{% #currently-selected-filters %}

{% section displayed-if="Programming Language is Python" %}
This section only applies to users who meet the following criteria: Programming Language is Python

The selected programming language is Python.
{% /section %}

{% section displayed-if="Programming Language is Ruby" %}
This section only applies to users who meet the following criteria: Programming Language is Ruby

The selected programming language is Ruby.
{% /section %}

{% section displayed-if="Programming Language is Go" %}
This section only applies to users who meet the following criteria: Programming Language is Go

The selected programming language is Go.
{% /section %}

{% section displayed-if="Programming Language is JavaScript" %}
This section only applies to users who meet the following criteria: Programming Language is JavaScript

The selected programming language is JavaScript.
{% /section %}

{% section displayed-if="Programming Language is Java" %}
This section only applies to users who meet the following criteria: Programming Language is Java

The selected programming language is Java.
{% /section %}

{% section displayed-if="Database is Postgres" %}
This section only applies to users who meet the following criteria: Database is Postgres

The selected database is Postgres.
{% /section %}

{% section displayed-if="Database is MySQL" %}
This section only applies to users who meet the following criteria: Database is MySQL

The selected database is MySQL.
{% /section %}

{% section displayed-if="Database is MongoDB" %}
This section only applies to users who meet the following criteria: Database is MongoDB

The selected database is MongoDB.
{% /section %}

## Function tests{% #function-tests %}

### `and`

Selecting Go and MySQL should reveal additional content in this section.

{% section
   displayed-if="(Programming Language is Go) and (Database is MySQL)" %}
This section only applies to users who meet the following criteria: (Programming Language is Go) and (Database is MySQL)

The `and` function returned `true`: The selected programming language is Go, and the selected database is MySQL.
{% /section %}

### `or`

Selecting Go, Ruby, or Python should reveal additional content in this section.

{% section
   displayed-if="(Programming Language is Go) or (Programming Language is Ruby) or (Programming Language is Python)" %}
This section only applies to users who meet the following criteria: (Programming Language is Go) or (Programming Language is Ruby) or (Programming Language is Python)

The `or` function returned `true`: The selected programming language is Go, Ruby, or Python.
{% /section %}

### `includes`

Selecting Go, Ruby, or Python should reveal additional content in this section.

{% section
   displayed-if="The selected value for Programming Language is included in the given list: 'Go, Ruby, Python'" %}
This section only applies to users who meet the following criteria: The selected value for Programming Language is included in the given list: 'Go, Ruby, Python'

The `includes` function returned `true`: The selected programming language is Go, Ruby, or Python.
{% /section %}

### `not`

Selecting a language other than Javascript should reveal additional content in this section.

{% section displayed-if="Programming Language is not JavaScript" %}
This section only applies to users who meet the following criteria: Programming Language is not JavaScript

The `not` function returned `true`: The selected programming language is not Javascript.
{% /section %}
