hide-if-contains

Check that the hide-if-contains snippet is working as expected.

Static usage

Test that basic usage of the snippet works as expected against a static target.

Example Content

hic-basic-static
Failed. Element is not hidden.

Steps

Filters

Dynamic usage

Test that basic usage of the snippet works as expected against a dynamic target.

Example Content
Waiting 500ms to trigger snippet...

Steps

Filters

Search usage

Test that usage of the snippet with the search parameter works as expected.

Example Content
Waiting 500ms to trigger snippet...
hic-search
Should not be hidden
Example Content
Waiting 500ms to trigger snippet...

Steps

Filters

Regex usage

Test that usage of the snippet with regex works as expected.

Example Content

hic-regex-1
Should not be hidden

hic-regex-1
Should not be hidden

hic-regex-2
Failed. Element is not hidden.

hic-regex-3
Failed. Element is not hidden.

Steps

Filters

Frame usage

Test that usage of the snippet in a frame works as expected.

Example Content

Steps

Filters