Arag / tests /bdd /features /platform_presence.feature
AuthorBot
Make platform presence binary: listed or not listed only.
3d452f2
Raw
History Blame Contribute Delete
958 Bytes
Feature: Platform Presence Scan
API-first discovery across 10 public book platforms.
Scenario: Kindle-only Amazon book finds Amazon and Goodreads
Given a sample book "amazon_kindle"
When platform presence is scanned
Then "amazon" should be verified with a product URL
And "goodreads" should be verified with a product URL
And no platform should be verified using only a search page URL
Scenario: ISBN book finds most retailers
Given a sample book "isbn_hardcover"
When platform presence is scanned
Then "amazon" should be verified with a product URL
And "open_library" should be verified with a product URL
And at least 5 platforms should be listed
Scenario: Platform list matches the 10 supported retailers
When I load the scored platform list
Then there should be exactly 10 platforms
And the platform list should include "google_books"
And the platform list should include "open_library"