Skip to main content

Products

  • Module: masters
  • Type: form
  • Route: /masters/products
  • Source URL: https://www.petroleu.com/masters/products

Walkthrough Media

Products walkthrough

Workflow Goal

  • Open product list, demonstrate create form fields, and show save flow.

Actions Performed

  1. done - wait_for_selector: selector table, form
  2. done - spotlight: spotlight button:has-text('Add'), button:has-text('New')
  3. done - click: clicked button:has-text('Add'), button:has-text('New')
  4. done - fill: filled input[name='name'], input[placeholder*='Name'] with "Demo Product"
  5. done - fill: filled input[name='code'], input[placeholder*='Code'] with "DP001"
  6. done - select: selected select[name='type'], label:has-text('Type') + select = Fuel
  7. done - click: clicked label:has-text('Diesel'), input[type='radio'][value='Diesel'], input[type='radio'][value='diesel'], input[name='main_fuel_type'][value='Diesel'], input[name='main_fuel_type'][value='diesel']
  8. done - fill: filled input[name='current_purchase_rate'], input[name='purchase_rate'], input[placeholder*='Purchase Rate'] with "282.00"
  9. done - fill: filled input[name='current_sale_rate'], input[name='sale_rate'], input[placeholder*='Sale Rate'] with "289.50"
  10. done - click: clicked button:has-text('Save'), button:has-text('Create')
  11. done - wait_for_selector: selector button[title*='Edit'], button[aria-label*='Edit'], button:has-text('Edit')
  12. done - spotlight: spotlight button[title*='Edit'], button[aria-label*='Edit'], button:has-text('Edit')
  13. done - click: clicked button[title*='Edit'], button[aria-label*='Edit'], button:has-text('Edit')
  14. done - fill: filled input[name='name'], input[placeholder*='Name'] with "Demo Product Updated"
  15. done - click: clicked button:has-text('Save'), button:has-text('Update')
  16. done - wait_for_selector: selector button[title*='Delete'], button[aria-label*='Delete'], button:has-text('Delete')
  17. done - spotlight: spotlight button[title*='Delete'], button[aria-label*='Delete'], button:has-text('Delete')
  18. done - click: clicked button[title*='Delete'], button[aria-label*='Delete'], button:has-text('Delete')
  19. done - click: clicked button:has-text('Confirm'), button:has-text('Yes'), button:has-text('Delete'), button:has-text('OK')
  20. skipped - hover: optional action failed: locator.waitFor: Timeout 10000ms exceeded.
  21. done - wait_ms: wait 700ms

Generated by docs-bot walkthrough automation.