commit 245b9eb378e0b5041242b522056a3b169e7fa90f
parent eea3df6f186d43b75226e3cfe9a76dc828463eeb
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date: Wed, 26 Nov 2025 23:06:58 +0000
Bug 1953730 - remove our FastClick webcompat intervention for jobs.jobvite.com; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D274089
Diffstat:
2 files changed, 0 insertions(+), 48 deletions(-)
diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json
@@ -880,10 +880,6 @@
"1818818": {
"issue": "broken-interactive-elements",
"matches": ["*://*.wellcare.com/*"]
- },
- "1953730": {
- "issue": "broken-interactive-elements",
- "matches": ["*://jobs.jobvite.com/*"]
}
},
"interventions": [
diff --git a/testing/webcompat/interventions/tests/test_1953730_jobs_jobvite_com.py b/testing/webcompat/interventions/tests/test_1953730_jobs_jobvite_com.py
@@ -1,44 +0,0 @@
-import pytest
-
-URL = "https://jobs.jobvite.com/careers/confluent/jobs"
-CATEGORY_CSS = "a.jv-job-category-link"
-NO_JOBS_TEXT = "currently no open jobs"
-FIRST_JOB_CSS = "a.jv-list-link"
-APPLY_CSS = "a.jv-button-apply"
-SELECT_CSS = "select#jv-country-select"
-
-
-async def is_fastclick_active(client):
- async with client.ensure_fastclick_activates():
- await client.disable_window_alert() # possible "Cannot contact reCAPTCHA" alert
- await client.navigate(URL, wait="none")
- no_jobs, category = client.await_first_element_of(
- [
- client.text(NO_JOBS_TEXT),
- client.css(CATEGORY_CSS),
- ],
- is_displayed=True,
- )
- if no_jobs:
- pytest.skip(
- "Site says there are no jobs, so we can't confirm if the intervention is needed right now."
- )
- return False
- category.click()
- client.await_css(FIRST_JOB_CSS, is_displayed=True).click()
- client.await_css(APPLY_CSS, is_displayed=True).click()
- return client.test_for_fastclick(client.await_css(SELECT_CSS))
-
-
-@pytest.mark.only_platforms("android")
-@pytest.mark.asyncio
-@pytest.mark.with_interventions
-async def test_enabled(client):
- assert not await is_fastclick_active(client)
-
-
-@pytest.mark.only_platforms("android")
-@pytest.mark.asyncio
-@pytest.mark.without_interventions
-async def test_disabled(client):
- assert await is_fastclick_active(client)