Add tests to check all views #2323

Closed
opened 2025-12-29 17:24:50 +01:00 by adam · 2 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 30, 2019).

Proposed Changes

We should add a set of tests under each app to check that each view renders successfully. Nothing too involved, just a normal GET request, maybe invoking a filter where applicable.

Justification

This should be pretty simple to do, and would catch bugs like #2824.

Originally created by @jeremystretch on GitHub (Jan 30, 2019). ### Proposed Changes We should add a set of tests under each app to check that each view renders successfully. Nothing too involved, just a normal GET request, maybe invoking a filter where applicable. ### Justification This should be pretty simple to do, and would catch bugs like #2824.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 17:24:50 +01:00
adam closed this issue 2025-12-29 17:24:50 +01:00
Author
Owner

@candlerb commented on GitHub (Feb 15, 2019):

Ideally it would also click on all active elements in the page, like column sort headers. This would have caught #2901.

@candlerb commented on GitHub (Feb 15, 2019): Ideally it would also click on all active elements in the page, like column sort headers. This would have caught #2901.
Author
Owner

@jeremystretch commented on GitHub (Feb 15, 2019):

I've started work on this in the 2827-view-tests branch.

@jeremystretch commented on GitHub (Feb 15, 2019): I've started work on this in the [2827-view-tests](https://github.com/digitalocean/netbox/tree/2827-view-tests) branch.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2323