diff --git a/surfsense_backend/tests/unit/platforms/amazon/__init__.py b/surfsense_backend/tests/unit/platforms/amazon/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/surfsense_backend/tests/unit/platforms/amazon/fixtures/bestsellers.html b/surfsense_backend/tests/unit/platforms/amazon/fixtures/bestsellers.html new file mode 100644 index 000000000..d6323e9c2 --- /dev/null +++ b/surfsense_backend/tests/unit/platforms/amazon/fixtures/bestsellers.html @@ -0,0 +1,17 @@ + + + +
+ #1 + Example Wireless Headphones + $49.99 + 4.6 out of 5 stars + Example Wireless Headphones +
+
+ #2 + Example Earbuds + $29.99 +
+ + diff --git a/surfsense_backend/tests/unit/platforms/amazon/fixtures/blocked.html b/surfsense_backend/tests/unit/platforms/amazon/fixtures/blocked.html new file mode 100644 index 000000000..3d4517b61 --- /dev/null +++ b/surfsense_backend/tests/unit/platforms/amazon/fixtures/blocked.html @@ -0,0 +1,9 @@ + + + Robot Check + +
+

Enter the characters you see below

+
+ + diff --git a/surfsense_backend/tests/unit/platforms/amazon/fixtures/offers.html b/surfsense_backend/tests/unit/platforms/amazon/fixtures/offers.html new file mode 100644 index 000000000..d3ff57ccc --- /dev/null +++ b/surfsense_backend/tests/unit/platforms/amazon/fixtures/offers.html @@ -0,0 +1,17 @@ + + + +
+
+
New
+ $47.50 +
Example Retailer
+
FREE delivery tomorrow
+
+
+
Used - Very Good
+ $39.00 +
Second Seller
+
+ + diff --git a/surfsense_backend/tests/unit/platforms/amazon/fixtures/product.html b/surfsense_backend/tests/unit/platforms/amazon/fixtures/product.html new file mode 100644 index 000000000..450cda040 --- /dev/null +++ b/surfsense_backend/tests/unit/platforms/amazon/fixtures/product.html @@ -0,0 +1,51 @@ + + + +
+ Example Wireless Headphones + Visit the Example Store + Example Retailer +
+ $49.99 + $79.99 +
+
+ 4.6 out of 5 stars + 1,234 ratings + Reviews +
+ + + +
5 star80%
4 star12%
+
In Stock
+
2K+ bought in past month
+
+
Detailed product description.
+ Example Wireless Headphones +

Premium materials and comfort.

Premium materials and comfort
+
Designed for everyday listening.
+
+
ModelWH-100
+
ColorBlack
+
Amazon's Choice
+ +
+ Alex + Excellent sound + 5.0 out of 5 stars + Reviewed on July 1, 2026 + Clear and comfortable. + Verified Purchase + 12 people found this helpful +
+ + diff --git a/surfsense_backend/tests/unit/platforms/amazon/fixtures/search.html b/surfsense_backend/tests/unit/platforms/amazon/fixtures/search.html new file mode 100644 index 000000000..f565b95c6 --- /dev/null +++ b/surfsense_backend/tests/unit/platforms/amazon/fixtures/search.html @@ -0,0 +1,19 @@ + + + +
+

Example Wireless Headphones

+ $49.99 + 4.6 out of 5 stars + 1,234 + Example Wireless Headphones + Best Seller +
+
+ Sponsored +

Example Earbuds

+ $29.99 + 4.2 out of 5 stars +
+ + diff --git a/surfsense_backend/tests/unit/platforms/amazon/fixtures/seller.html b/surfsense_backend/tests/unit/platforms/amazon/fixtures/seller.html new file mode 100644 index 000000000..c679d1803 --- /dev/null +++ b/surfsense_backend/tests/unit/platforms/amazon/fixtures/seller.html @@ -0,0 +1,11 @@ + + + +

Example Retailer

+
1,875 ratings
+ + + +
4.8 out of 5 stars
1,875 ratings
+ +