diff --git a/python/plugins/processing/tests/testdata/expected/extract_by_location_intersection.gfs b/python/plugins/processing/tests/testdata/expected/extract_by_location_intersection.gfs
index bceaec3fd76..a4e9dcf215c 100644
--- a/python/plugins/processing/tests/testdata/expected/extract_by_location_intersection.gfs
+++ b/python/plugins/processing/tests/testdata/expected/extract_by_location_intersection.gfs
@@ -12,21 +12,5 @@
-3.00000
3.00000
-
- name
- name
- String
- 5
-
-
- intval
- intval
- Integer
-
-
- floatval
- floatval
- Real
-
diff --git a/python/plugins/processing/tests/testdata/expected/extract_by_location_intersection.gml b/python/plugins/processing/tests/testdata/expected/extract_by_location_intersection.gml
index 4e6c0a83cda..77167aa5e40 100644
--- a/python/plugins/processing/tests/testdata/expected/extract_by_location_intersection.gml
+++ b/python/plugins/processing/tests/testdata/expected/extract_by_location_intersection.gml
@@ -12,26 +12,18 @@
-
+
-1,-1 -1,3 3,3 3,2 2,2 2,-1 -1,-1
- aaaaa
- 33
- 44.123456
-
- 6,1 10,1 10,-3 6,-3 6,17,0 7,-2 9,-2 9,0 7,0
- ASDF
- 0
-
-
-
-
+
3,2 6,1 6,-3 2,-1 2,2 3,2
- elim
- 2
- 3.33
+
+
+
+
+ 6,1 10,1 10,-3 6,-3 6,17,0 7,-2 9,-2 9,0 7,0
diff --git a/python/plugins/processing/tests/testdata/expected/extract_by_location_within.gfs b/python/plugins/processing/tests/testdata/expected/extract_by_location_within.gfs
index 8b6d02ba7aa..bdbea958237 100644
--- a/python/plugins/processing/tests/testdata/expected/extract_by_location_within.gfs
+++ b/python/plugins/processing/tests/testdata/expected/extract_by_location_within.gfs
@@ -12,15 +12,5 @@
1.00000
1.00000
-
- id
- id
- Integer
-
-
- id2
- id2
- Integer
-
diff --git a/python/plugins/processing/tests/testdata/expected/extract_by_location_within.gml b/python/plugins/processing/tests/testdata/expected/extract_by_location_within.gml
index 3e1da5547a8..afc819f4217 100644
--- a/python/plugins/processing/tests/testdata/expected/extract_by_location_within.gml
+++ b/python/plugins/processing/tests/testdata/expected/extract_by_location_within.gml
@@ -12,17 +12,13 @@
-
+
1,1
- 1
- 2
-
+
4,1
- 5
- 1
diff --git a/python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml b/python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml
index 0bcff7fcfa1..ff2a1ddff8f 100644
--- a/python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml
+++ b/python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml
@@ -2970,38 +2970,42 @@ tests:
name: expected/convert_poly_nodes.gml
type: vector
-# # - algorithm: qgis:extractbylocation
-# # name: polygon intersecting points
-# # params:
-# # INPUT:
-# # name: polys.gml
-# # type: vector
-# # INTERSECT:
-# # name: custom/points.shp
-# # type: vector
-# # PRECISION: 0.0
-# # PREDICATE: '[''intersects'']'
-# # results:
-# # OUTPUT:
-# # name: expected/extract_by_location_intersection.gml
-# # type: vector
-# #
-# # - algorithm: qgis:extractbylocation
-# # name: points within polygons
-# # params:
-# # INPUT:
-# # name: custom/points.shp
-# # type: vector
-# # INTERSECT:
-# # name: polys.gml
-# # type: vector
-# # PRECISION: 0.0
-# # PREDICATE: '[''within'']'
-# # results:
-# # OUTPUT:
-# # name: expected/extract_by_location_within.gml
-# # type: vector
-#
+ - algorithm: native:extractbylocation
+ name: polygon intersecting points
+ params:
+ INPUT:
+ name: polys.gml
+ type: vector
+ INTERSECT:
+ name: custom/points.shp
+ type: vector
+ PREDICATE: 0
+ results:
+ OUTPUT:
+ name: expected/extract_by_location_intersection.gml
+ type: vector
+ compare:
+ fields:
+ fid: skip
+
+ - algorithm: native:extractbylocation
+ name: points within polygons
+ params:
+ INPUT:
+ name: custom/points.shp
+ type: vector
+ INTERSECT:
+ name: polys.gml
+ type: vector
+ PREDICATE: 6
+ results:
+ OUTPUT:
+ name: expected/extract_by_location_within.gml
+ type: vector
+ compare:
+ fields:
+ fid: skip
+
- algorithm: qgis:addfieldtoattributestable
name: add float field
params: