Closed Bug 2034434 Opened 28 days ago Closed 27 days ago

Remove browser/components/enterprisepolicies/tests/live test suite

Categories

(Firefox Enterprise :: Client, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: janika, Assigned: janika)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [size=1])

Attachments

(1 file)

The tests in browser/components/enterprisepolicies/tests/ test each policy and whether it is applied correctly. Hereby it doesn't add value to test each policy once applied via a local JSON file, and a second time by fetching policies remotely. Especially as the time it gets applied - which is at startup - doesn't change.

What can add value is to test whether each policy is still applied correctly when applied after startup. This is a bigger effort and needs to be spec-ed out first. So for now we can remove the live test suite.

(In reply to Janika Neuberger [:janika] from comment #0)

The tests in browser/components/enterprisepolicies/tests/ test each policy and whether it is applied correctly. Hereby it doesn't add value to test each policy once applied via a local JSON file, and a second time by fetching policies remotely. Especially as the time it gets applied - which is at startup - doesn't change.

What can add value is to test whether each policy is still applied correctly when applied after startup. This is a bigger effort and needs to be spec-ed out first. So for now we can remove the live test suite.

/me is crying, but the argument holds

Status: NEW → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Blocks: 2019315
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: