test: update search in test to match template changes (#3814)

Fixes test failure caused by ietf-tools#3803.
This commit is contained in:
Jennifer Richards 2022-04-12 19:30:22 -03:00 committed by GitHub
parent 0944312c20
commit 30d1067082
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -498,7 +498,7 @@ class MeetingTests(BaseMeetingTestCase):
expected_elements.append(anchor)
for btn in q('.buttonlist a.btn').items():
text = btn.text().strip()
if text in ['View personal agenda', 'Download .ics of personal agenda', 'Subscribe to personal agenda']:
if text in ['View personal agenda', 'Download .ics of filtered agenda', 'Subscribe to filtered agenda']:
expected_elements.append(btn)
# Check that all the expected elements have the correct classes