From 6eb5d939d7adcc6dbc5cda993f9e95d8bbdcdf4f Mon Sep 17 00:00:00 2001 From: Michael Lam Date: Wed, 20 May 2026 09:33:51 -0700 Subject: [PATCH] test: allow custom provider settings filter --- tests/test_issue1202_oauth_provider_status.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_issue1202_oauth_provider_status.py b/tests/test_issue1202_oauth_provider_status.py index b7b4077a..4b66bdbf 100644 --- a/tests/test_issue1202_oauth_provider_status.py +++ b/tests/test_issue1202_oauth_provider_status.py @@ -291,7 +291,8 @@ class TestProviderListFilter: "Settings → Providers panel. The filter must be 'filter(p=>p.configurable||p.is_oauth)'." ) fixed_filter_idx = self.JS.find("filter(p=>p.configurable||p.is_oauth)") - assert fixed_filter_idx != -1, ( - "The provider filter 'filter(p=>p.configurable||p.is_oauth)' is missing from panels.js. " + extended_filter_idx = self.JS.find("filter(p=>p.configurable||p.is_oauth||p.is_custom)") + assert fixed_filter_idx != -1 or extended_filter_idx != -1, ( + "The provider filter must include p.is_oauth in panels.js. " "OAuth providers will not appear in Settings → Providers." )