You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See here. It looks like this test is checking for every <a> tag containing "Lovell Federal health care - TRICARE" and ensuring it has a href attribute of "lovell-federal-health-care-tricare". But Mr. Schiavone's PR introduces a new <a> tag that does not, which breaks the test.
This is probably just a bug in the test -- where someone wanted to look at a specific link and check its URL.
Reproduction (dev console)
jQuery('a:contains("Lovell Federal health care - TRICARE")') -- should show like 57 links
jQuery('a:contains("Lovell Federal health care - TRICARE"):not([href*="lovell-federal-health-care-tricare"])').show(); -- should show diddly
jQuery('a:contains("Lovell Federal health care - TRICARE")') on Daniel's PR -- should show like 58 links
jQuery('a:contains("Lovell Federal health care - TRICARE"):not([href*="lovell-federal-health-care-tricare"])').show(); -- should show a single benighted anchor link.
Acceptance Criteria
Tests check a specific link, rather than every link matching the criteria.
The text was updated successfully, but these errors were encountered:
Description
See here. It looks like this test is checking for every
<a>
tag containing "Lovell Federal health care - TRICARE" and ensuring it has ahref
attribute of "lovell-federal-health-care-tricare". But Mr. Schiavone's PR introduces a new<a>
tag that does not, which breaks the test.This is probably just a bug in the test -- where someone wanted to look at a specific link and check its URL.
Reproduction (dev console)
jQuery('a:contains("Lovell Federal health care - TRICARE")')
-- should show like 57 linksjQuery('a:contains("Lovell Federal health care - TRICARE"):not([href*="lovell-federal-health-care-tricare"])').show();
-- should show diddlyjQuery('a:contains("Lovell Federal health care - TRICARE")')
on Daniel's PR -- should show like 58 linksjQuery('a:contains("Lovell Federal health care - TRICARE"):not([href*="lovell-federal-health-care-tricare"])').show();
-- should show a single benighted anchor link.Acceptance Criteria
The text was updated successfully, but these errors were encountered: