# Integration tests for monitoring
#
"X-Pack loaded":
    - skip:
        reason: "contains is a newly added assertion"
        features: contains
    - do:
        cluster.state: {}

    # Get master node id
    - set: { master_node: master }

    - do:
        nodes.info: {}

    - contains:  { nodes.$master.modules: { name: x-pack-ccr } }
    - contains:  { nodes.$master.modules: { name: x-pack-core } }
    - contains:  { nodes.$master.modules: { name: x-pack-deprecation } }
    - contains:  { nodes.$master.modules: { name: x-pack-enrich } }
    - contains:  { nodes.$master.modules: { name: x-pack-graph } }
    - contains:  { nodes.$master.modules: { name: x-pack-ilm } }
    - contains:  { nodes.$master.modules: { name: x-pack-logstash } }
    - contains:  { nodes.$master.modules: { name: x-pack-ml } }
    - contains:  { nodes.$master.modules: { name: x-pack-monitoring } }
    - contains:  { nodes.$master.modules: { name: x-pack-rollup } }
    - contains:  { nodes.$master.modules: { name: x-pack-security } }
    - contains:  { nodes.$master.modules: { name: x-pack-sql } }
    - contains:  { nodes.$master.modules: { name: x-pack-watcher } }
