Skip to content

Bug: URL exclude list is ignored if an include list is set #335

@RobertAvemarg

Description

@RobertAvemarg

Quick Description

The URL exclude list is ignored if the include list is set.
E.g. when including a domain, but exluding a specific sub domain, the test can access the excluded sub domain without throwing an error.

Actual Behaviour

Excluded URL don't throw an error when the test reaches one of them.

Expected Behaviour

When both lists are defined and an excluded URL is opend the test should still fail immediately.

Steps to reproduce

  1. define an include and exclude list in the config like:
neodymium.url.includeList = https://posters.xceptance.io:8443
neodymium.url.excludeList = https://posters.xceptance.io:8443.*Dining
  1. open an included URL (just to make sure the it works)
Selenide.open("https://posters.xceptance.io:8443/");
  1. open an excluded URL
Selenide.open("https://posters.xceptance.io:8443.*Dining");

Metadata

Metadata

Assignees

Labels

bugcodeDoneThe issue is rechecked for development branch

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions