Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RobertAvemarg opened this issue Jan 23, 2025 · 0 comments
Open

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

RobertAvemarg opened this issue Jan 23, 2025 · 0 comments
Labels
bug codeImplementationNeeded This issue requires a change in the code of Neodymium

Comments

@RobertAvemarg
Copy link
Contributor

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");
@wurzelkuchen wurzelkuchen added the codeImplementationNeeded This issue requires a change in the code of Neodymium label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug codeImplementationNeeded This issue requires a change in the code of Neodymium
Projects
None yet
Development

No branches or pull requests

2 participants