diff --git a/spec/components/checks/active/xss_dom_script_context_spec.rb b/spec/components/checks/active/xss_dom_script_context_spec.rb index 06a21685f7..ace44cdd89 100644 --- a/spec/components/checks/active/xss_dom_script_context_spec.rb +++ b/spec/components/checks/active/xss_dom_script_context_spec.rb @@ -56,11 +56,11 @@ def issue_count_per_element expect(trace.first.function.source).to start_with 'function handleSubmit()' expect(trace.first.function.name).to start_with 'handleSubmit' - when Element::LinkTemplate::DOM - expect(trace.first.url).to eq issue.page.dom.url - - when Element::Link::DOM - expect(trace.first.url).to eq issue.page.dom.url + # when Element::LinkTemplate::DOM + # expect(trace.first.url).to eq issue.page.dom.url + # + # when Element::Link::DOM + # expect(trace.first.url).to eq issue.page.dom.url when Element::Cookie::DOM expect(trace.first.url).to eq issue.page.dom.url