Skip to content
Evgeniy Vasilev edited this page Apr 14, 2015 · 6 revisions

Fyndiq module testing plan

TC0 General

  • TC0.1 Localization works
  • TC0.2 Trying to access the service URL without being logged admin user, returns HTTP error

TC1 Installation

  • TC1.1 Installation manual is present;
  • TC1.2 Module installs without errors;
  • TC1.3 Module is accessible through the admin interface;

TC2 Uninstallation

  • TC2.1 Module can be uninstalled;
  • TC2.2 All module specific information is removed;
  • TC2.3 Module can be re-installed after uninstallation;

TC3 Startup

  • TC3.1 If the module was not set up, user must be shown the setup page or a page leading him to the setup page;
  • TC3.2 Error must be shown if the user enters invalid Username/API Token;
  • TC3.3 If the Username/API Token are correct, either show notification or redirect the user back to the module;

TC4 Settings

  • TC4.1 Settings page opens;
  • TC4.2 Settings are saved for the current context;
  • TC4.3 When settings are saved feed and notification URL-s are sent to Fyndiq;
  • TC4.4 Feed URL is correct for the current context;
  • TC4.5 Notification URL is correct for the current context;
  • TC4.6 Disconnect button removes all settings for the current context;

TC5 Products

  • TC5.1 Products page opens
  • TC5.2 Root categories for the current context are listed in the categories list
  • TC5.3 Category names are in the language, selected for the current context;
  • TC5.4 Clicking a root category, opens list of immediate subcategories for the clicked root;
  • TC5.5 Clicking on root category collapses all other root categories' subcategories;
  • TC5.6 Clicking a category loads a list of products which are attached to this category;
  • TC5.7 Category is empty text is shown if there are no products in the clicked category;
  • TC5.8 Product list pagination shows if there are more than the set up number (10) of products in the category;
  • TC5.9 Changing product pages works;
  • TC5.10 Clicking the Check all checkbox select all products' checkboxes on the page;
  • TC5.11 Checking product's checkbox enables the Remove from Fyndiq button;
  • TC5.12 Product list title changes when category is changed;
  • TC5.13 Products without images don't have checkbox;
  • TC5.14 Product name is visible and in the correct language for the current context;
  • TC5.15 Product SKU is visible;
  • TC5.16 Product price is visible and correct.
  • TC5.17 Product price currency is visible and correct;
  • TC5.18 Default discount (set in setup) is prefilled in the Fyndiq Discount field;
  • TC5.19 The Fyndiq Discount field is read only if the product is not set for Fyndiq and not checked;
  • TC5.20 If the product is not in the feed, checking its checkbox enables the Fyndiq Discount field;
  • TC5.21 If the product is not in the field but checked, setting discount, won't auto send it to the server;
  • TC5.22 If no product is checked and Send to Fyndiq button is pressed, a notification is shown, stating that no product is selected;
  • TC5.23 If product is selected and Send to Fyndiq is pressed, the product must be added to the feed and in Pending state;
  • TC5.24 If product is in Pending or On Fyndiq status, selecting it and pressing the Remove from Fyndiq button, removes it from the feed and changes the status to Not on Fyndiq;
  • TC5.25 Product quantity is visible and correct;
  • TC5.26 Update status changes the status to On Fyndiq for all products, which are approved from Fyndiq;

TC6 Imported orders

  • TC6.1 Imported orders page opens;
  • TC6.2 Import orders button imports all orders since the time they were last imported;
  • TC6.3 Clicking the Check all checkbox checks all orders' checkboxes and vice versa;
  • TC6.4 Clicking the Order id opens the corresponding order in the store;
  • TC6.5 Newly imported orders have status as set in the Settings' Import state select;
  • TC6.7 Selecting an order's checkbox and pressing Mark as done changes it state from Settings' Import state to Settings' Done state;
  • TC6.8 Selecting one or more orders' checkboxes and pressing Get Delivery Notes must open Save file dialog with PDF file containing all the selected orders' delivery notes;
  • TC6.9 Pressing Get Delivery Notes without selecting any orders must show notice stating that at least one order must be selected;
  • TC6.10 Latest import date is changed when successful update is made;
  • TC6.11 Import orders shows error message if order's product SKU is not found;

TC7 Feed

  • TC7.1 Feed file is generated;
  • TC7.2 Feed file contains only selected products and their combinations;
  • TC7.3 Feed file passes import (has uniform number of columns, is valid CSV according to the definition etc.)
  • TC7.4 Feed file is updated when products are added/removed;

TC8 Notifications

  • TC8.1 Notification URL is public and returns reasonable response;
  • TC8.2 When notification for new order is sent, the order is downloaded;

TC9 Multi store (optional)

  • TC9.1 User is able to switch context from within the extension pages;
  • TC9.2 User is able to save different settings for different contexts;
  • TC9.3 Separate feed file is generated for each context;