Skip to content

Test Case Register — Web Portal, Manage Advertisements (WPAD)

Coverage Summary

Total TCs Automated Manual Pending Coverage %
18 0 0 18 0%
Critical High Medium Low
9 8 1 0

Test Case Table

1. Ad Type Field

TC ID Test Scenario AC Jira Priority Coverage Cucumber Tag Preconditions Test Data High-level Steps Expected Result Status Note
TC-WPAD-001 Ad type dropdown offers exactly Advertisement and Banner AC-WPAD-01 RC-115 🔴 Critical 🔵 Pending @TC-WPAD-001 Admin is on Manage Advertisements and selects Add New — 1. Open Add New
2. Open the Ad type dropdown
Exactly two options are listed: Advertisement, Banner ⬜ Not Run UI ref: 01_Features/wp_advertisement/screens/Screenshot 2026-08-11 at 16.28.31.png
TC-WPAD-002 Selecting Ad type Advertisement shows Kind, Time duration, Displayable AC-WPAD-02 RC-115 🔴 Critical 🔵 Pending @TC-WPAD-002 Add New form is open Ad type: Advertisement 1. Select Advertisement as Ad type
2. Observe the remaining fields
Form shows Kind (Banner/Video), Time duration, and Displayable ⬜ Not Run
TC-WPAD-003 Selecting Ad type Banner reveals the Target Pages field AC-WPAD-03 RC-115 🔴 Critical 🔵 Pending @TC-WPAD-003 Add New form is open Ad type: Banner 1. Select Banner as Ad type
2. Observe the form
A Target Pages multi-select field becomes available ⬜ Not Run UI ref: 01_Features/wp_advertisement/screens/Screenshot 2026-08-11 at 16.28.43.png
TC-WPAD-004 Time duration is not shown when Ad type is Banner AC-WPAD-04 / BR-WPAD-01 RC-115 🟠 High 🔵 Pending @TC-WPAD-004 Add New form is open Ad type: Banner 1. Select Banner as Ad type
2. Scan the form for a Time duration field
Time duration is not shown/applicable on the form ⬜ Not Run Confirmed by stakeholder (chat, 2026-08-11)

2. Target Pages

TC ID Test Scenario AC Jira Priority Coverage Cucumber Tag Preconditions Test Data High-level Steps Expected Result Status Note
TC-WPAD-005 Admin assigns a single banner to multiple pages at once AC-WPAD-05 RC-115 🔴 Critical 🔵 Pending @TC-WPAD-005 Ad type is Banner; a valid image is ready to upload Target Pages: Home Page, My Vehicles; Name: QA Multi-page Banner 1. Select Banner, upload an image
2. Select Home Page and My Vehicles in Target Pages
3. Save
Record saves with both pages assigned; the banner appears on both the Home Page and My Vehicles page ⬜ Not Run
TC-WPAD-006 Target Pages lists exactly the 8 defined page options AC-WPAD-06 RC-115 🟠 High 🔵 Pending @TC-WPAD-006 Ad type is Banner — 1. Open the Target Pages dropdown Exactly 8 options are listed: Home Page, My Vehicles, My Accidents, Notifications, Saved Vouchers, Lawyers, Expert, Report Accident ⬜ Not Run UI ref: 01_Features/wp_advertisement/screens/Screenshot 2026-08-11 at 16.28.43.png; ticket text says "Find an Expert" — UI label is "Expert" (confirmed same page, chat 2026-08-11)
TC-WPAD-007 Assigning a new banner to a page replaces the currently displayed banner AC-WPAD-07 / BR-WPAD-04 RC-115 🟠 High 🔵 Pending @TC-WPAD-007 A page (e.g. My Vehicles) already has an active, Displayable banner (record Id 12, "QA 4") New banner: QA Replacement Banner, Target Pages: My Vehicles 1. Add/assign a new Displayable banner to My Vehicles
2. Save
3. View the My Vehicles page
New banner displays on My Vehicles; the previous banner ("QA 4") no longer displays there ⬜ Not Run Baseline record Id 12 from 01_Features/wp_advertisement/screens/Screenshot 2026-08-11 at 16.28.18.png

3. Media Upload

TC ID Test Scenario AC Jira Priority Coverage Cucumber Tag Preconditions Test Data High-level Steps Expected Result Status Note
TC-WPAD-008 Admin uploads a file in each supported format AC-WPAD-08 / BR-WPAD-02 RC-115 🔴 Critical 🔵 Pending @TC-WPAD-008 Add/Edit media upload field is open Files: ad.png, ad.jpeg, ad.jpg, ad.gif, ad.mp4, ad.heic, ad.heif 1. For each of the 7 supported extensions, upload the file and save Every file is accepted and attached to the record — no format is rejected ⬜ Not Run Data-driven: one representative valid file per supported extension (EP)
TC-WPAD-009 Uploading an unsupported file type is rejected AC-WPAD-09 / BR-WPAD-02 RC-115 🟠 High 🔵 Pending @TC-WPAD-009 Media upload field is open File: ad.pdf (also test ad.docx) 1. Attempt to upload ad.pdf
2. Observe the result
Upload is rejected before saving; an error message states the accepted formats ⬜ Not Run
TC-WPAD-010 An uploaded HEIC/HEIF file renders as a visible photo AC-WPAD-10 RC-115 🟠 High 🔵 Pending @TC-WPAD-010 Media upload field is open File: ad.heic (also test ad.heif) 1. Upload the .heic file
2. Observe the upload preview
3. Save and re-open the record
Photo renders correctly in both the upload preview and the saved record — not blank/broken ⬜ Not Run Regresses reported bug: "Heic/heif don't show photo" (comment, Ann, 2026-07-23)
TC-WPAD-011 Admin uploads a video for a Banner-type ad AC-WPAD-18 / BR-WPAD-05 RC-115 🔴 Critical 🔵 Pending @TC-WPAD-011 Ad type: Banner, Kind: Video; a Target Page is selected File: banner_promo.mp4; Target Pages: Home Page 1. Select Ad type Banner, Kind Video
2. Upload banner_promo.mp4
3. Save
4. View the Home Page
Video is accepted and saved; the video plays on the Home Page ⬜ Not Run Confirms stakeholder correction (chat, 2026-08-11) — supersedes ticket note that Banner+Video was not yet supported

4. Displayable / Visibility

TC ID Test Scenario AC Jira Priority Coverage Cucumber Tag Preconditions Test Data High-level Steps Expected Result Status Note
TC-WPAD-012 Unchecking Displayable hides an Advertisement-type ad from the Damage page AC-WPAD-11 / BR-WPAD-03 RC-115 🔴 Critical 🔵 Pending @TC-WPAD-012 An Advertisement-type ad exists and is currently Displayable Ad: existing Advertisement record 1. Edit the ad, uncheck Displayable, save
2. View the Damage page on the web app
The ad does not display on the Damage page ⬜ Not Run Regresses reported bug: "Uncheck 'Displayable' but the ad still displays" (QA Bug Report, Issue 3, 2026-08-03)
TC-WPAD-013 Checking Displayable shows the ad/banner on its target surface AC-WPAD-12 / BR-WPAD-06 RC-115 🔴 Critical 🔵 Pending @TC-WPAD-013 An Advertisement-type ad and a Banner-type ad each exist, not yet Displayable Advertisement ad: ad.png; Banner ad: Target Pages Lawyers 1. Check Displayable on the Advertisement ad, save; view the Damage page
2. Check Displayable on the Banner ad, save; view the Lawyers page
Advertisement ad displays on the Damage page; Banner ad displays on the Lawyers page ⬜ Not Run Regresses reported bug: "not Display advertisement on web app" (comment, Ann, 2026-07-23)

5. Banner Rendering

TC ID Test Scenario AC Jira Priority Coverage Cucumber Tag Preconditions Test Data High-level Steps Expected Result Status Note
TC-WPAD-014 A Banner-type image displays in full on its assigned page AC-WPAD-13 RC-115 🟠 High 🔵 Pending @TC-WPAD-014 A Banner-type ad with an image is assigned to a page and Displayable Banner image: wide_banner.png, Target Pages: My Vehicles 1. Assign and save the banner
2. View the My Vehicles page
3. Inspect the rendered banner image
The full banner image is shown — not cropped or partially cut off ⬜ Not Run Regresses reported bug: "Photo doesn't show in full" (QA Bug Report, Issue 4, 2026-08-03)
TC-WPAD-015 Banner-type media (photo or video) is positioned at the end of its assigned page AC-WPAD-14 / BR-WPAD-08 RC-115 🟡 Medium 🔵 Pending @TC-WPAD-015 A Banner-type ad exists per media kind: one photo banner and one video banner, both Displayable Photo banner + video banner, each assigned to My Accidents 1. View the My Accidents page for the photo banner
2. Repeat for the video banner
Both the photo and the video banner are positioned at the end of the page's content, not interleaved elsewhere ⬜ Not Run Regresses reported bug: "photo isn't placed at the end of the page" (QA Bug Report, Issue 4, 2026-08-03); extended to video per stakeholder confirmation (chat, 2026-08-11)

6. Add / Edit

TC ID Test Scenario AC Jira Priority Coverage Cucumber Tag Preconditions Test Data High-level Steps Expected Result Status Note
TC-WPAD-016 Admin successfully adds a new advertisement/banner AC-WPAD-15 / BR-WPAD-07 RC-115 🔴 Critical 🔵 Pending @TC-WPAD-016 Admin is on Manage Advertisements Name: QA New Ad; Ad type: Advertisement; Kind: Banner; image: ad.png 1. Select Add New
2. Fill required fields for the chosen Ad type and upload media
3. Save
A new record is created and appears in the Manage Advertisements list with the entered data ⬜ Not Run Regresses reported bug: "Can't add new advertisements/banners" (comment, Ann, 2026-07-16)
TC-WPAD-017 Opening Edit pre-fills the record's current saved data AC-WPAD-16 RC-115 🟠 High 🔵 Pending @TC-WPAD-017 Record Id 12 ("QA 4") exists: Ad type Banner, Target Pages my_vehicles, Time duration 5, Displayable true Record Id: 12 1. Open Manage Advertisements
2. Select Edit for record 12
Edit panel opens pre-filled with the record's saved Name, Ad type Banner, Target Pages My Vehicles, Displayable true, and its saved media — no field blank or stale ⬜ Not Run UI ref: 01_Features/wp_advertisement/screens/Screenshot 2026-08-11 at 16.28.18.png
TC-WPAD-018 Saving an edit updates the record and takes effect immediately AC-WPAD-17 RC-115 🟠 High 🔵 Pending @TC-WPAD-018 Edit panel is open for an existing record New Name: QA 4 Updated 1. Change the Name field
2. Select Save
3. Observe the Manage Advertisements list and the record's target page
Record is updated; the list and the record's effect on the web app reflect the new value ⬜ Not Run

Gherkin Mapping (Automated TCs only)

No TCs are automated yet — this section will be populated as automation is implemented.

Note Tag Reference

Tag Meaning
[FLAKY] Unstable — fails intermittently on CI. Check logs before rerunning
[BUG] Blocked by open bug — include ticket ID
[DEP] Depends on specific env, mock service, fixture, or config
[SKIP] Temporarily skipped — include reason and owner
[DATA] Requires complex or manual data setup