Sitelet https://github.com/UnexpectedSoftware/openMarket/pull/46
Skip to content

Cover the main screens with Playwright - #46

Merged
victuxbb merged 1 commit into
masterfrom
feature/e2e-coverage
Oct 3, 2026
Merged

victuxbb merged 1 commit into
masterfrom
feature/e2e-coverage

Conversation

@victuxbb

@victuxbb victuxbb commented Oct 3, 2026

Copy link
Copy Markdown
Member

Playwright now walks the basic product, category, and order screens. Creating a category is its own test. Products cover create, edit, search, low stock, category, and disable. Scanning a disabled barcode on a new order enables that product again. Orders cover quantity edits, the ticket question, the list, and the read-only detail.

Saving an order with a line quantity of 0 is rejected. The line stays so it can be corrected. The order-saved toast and the low-stock toast use different ids, so both stay on screen when a sale crosses the minimum.

Version: patch

An order line whose quantity is not above zero is rejected, and the save confirmation keeps its own toast when stock runs low. The UI suite creates and edits products, filters and disables them, sells with the ticket question, and opens an order from the list.

Co-authored-by: grok-by-xai[bot] <261865991+grok-by-xai[bot]@users.noreply.github.com>
@victuxbb
victuxbb merged commit 360edff into master Oct 3, 2026
10 checks passed
@victuxbb
victuxbb deleted the feature/e2e-coverage branch October 3, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant