SQA #3243
open
SQA #3238: [SQA] Automation Testing with Playwright(JavaScript)
[SQA] Automation Testing with Playwright(JavaScript)
Added by Aman Bhuiyan 7 months ago.
Updated 5 months ago.
Description
##Today's updates include:
- Adjusted viewport sizes for better responsiveness.
- Added functionality checks for header buttons.
- Created test cases for the submit tool page.
##Ref Github Commit
- % Done changed from 10 to 20
Summary¶
- Add tests for Add Tool page (sign-in, navbar, profile nav, basic form)
- Automate critical E2E checks on the Add Tool page: sign-in flow, navbar visibility, user profile navigation, and basic information form validation.
- Set up Playwright MCP Server
Env / Preconditions¶
- WebApp: https://aiaxio.com
- Routes: /signin/, /tools/add
- Test IDs available (email-input, password-input, submit-button, navbar links, user-profile-link, profile-dropdown-, tool- inputs).
Test Cases (high level)¶
-
TC-AT-001 Sign-in happy path → authenticated landing.
-
TC-AT-002 Navbar visibility + labels after sign-in.
-
TC-AT-003 Profile menu opens (click; hover fallback) + all links navigate.
-
TC-AT-004 Open Add Tool; Basic Info section renders.
-
TC-AT-005 Required fields: submit empty → field errors.
-
TC-AT-006 URL validation: bad formats → error; valid https URL → ok.
-
TC-AT-007 Name length boundaries (min/max) → proper errors.
-
TC-AT-008 Duplicate tool name → “already exists” (server-side).
Implementation Notes¶
- Prefer
getByTestId; avoid networkidle. Use waitForURL + toBeVisible.
- Reopen profile menu before each click (no
goBack() loops).
- CI: retries on fail, trace/video/screenshots enabled.
Subtasks (Child issues)¶
- AT-1: Sign-in + Navbar (TC-AT-001…002)
- AT-2: Profile navigation (TC-AT-003)
- AT-3: Basic form validations (TC-AT-004…008)
Done¶
2025-09-17¶
Summary:¶
- Updated some testcases
- Resolved conflicts in GitLab and GitHub repositories.
- Merged the latest code updates from the Aman-sp12 branch into the UAT branch.
- Made necessary adjustments and modifications to the automation scripts.
Ref:¶
Gitlab Commit
- Priority changed from High to Medium
- % Done changed from 20 to 50
18-09-2025¶
Summary¶
- Implement tests for user sign-in and navigation to the All Tools page.
- Verify visibility of navigation bar elements.
- Randomly select a tool card and validate its details.
- Test bookmarking functionality, including toggling bookmarks and verifying count changes.
- Ensure robust handling of UI elements and network states
Reference¶
Gitlab Commit
- % Done changed from 50 to 70
Summary:¶
Updated some test cases and rewrite some authentication flows on playwright.
Ref¶
Commit
Also available in: Atom
PDF