|
|
@@ -0,0 +1,24 @@
|
|
|
+import Vuetify from 'vuetify'
|
|
|
+
|
|
|
+let vuetify
|
|
|
+beforeEach(() => {
|
|
|
+ vuetify = new Vuetify()
|
|
|
+})
|
|
|
+
|
|
|
+describe('pages/structures_adherentes/index', () => {
|
|
|
+ it('map, filters, and all results shall display by default', async () => {})
|
|
|
+ it('if list view is activated, map shall be hidden', async () => {})
|
|
|
+ it('when list view is activated, displayed results and filters shall stay the same', async () => {})
|
|
|
+ it('results shall be paginated', async () => {})
|
|
|
+ it('pagination shall be updated depending on the number of results', async () => {})
|
|
|
+ it('number of results shall match the current search', async () => {})
|
|
|
+ it('results shall be filtered according to the text filter', async () => {})
|
|
|
+ it('results shall be filtered according to the location filter', async () => {})
|
|
|
+ it('results shall be filtered according to the practice filter', async () => {})
|
|
|
+ it('results shall be filtered according to the department filter', async () => {})
|
|
|
+ it('results shall be filtered according to the federation filter', async () => {})
|
|
|
+ it('results shall be filtered according to the map bounds', async () => {})
|
|
|
+ it('if location is set, results shall be filtered according to the distance filter', async () => {})
|
|
|
+ it('reinitialize shall clear each filter field, display all results, and reset map bounds (in both map and list view)', async () => {})
|
|
|
+ it('the see-more button of a structure card shall lead to the details page of the structure', async () => {})
|
|
|
+})
|