Skip to content

QATasksAI/k-digital-qa-task

Repository files navigation

🚀 K.. Digital QA Task

UI Tests API Tests

✨ Features

Manual test cases

🤖 E2E Automation

📊 HTML Report in GH Actions

🧰 Getting Started

▶️ Run locally:

  • $ npm install to install dependencies
  • $ npm run test:open to open Playwright Test Runner (UI mode)
  • $ npm run test:headless to run all tests in headless mode
  • $ npm run test:ui to run only UI tests
  • $ npm run test:api to run only API tests
  • $ npm run report to view the HTML report after tests
  • $ npm run lint to lint and auto-fix code
  • $ npm run format to auto-format code

📁 Project Structure

├─ sql/                      # Database Query challenge (#3)
│   ├─ schema.sql            # Table definitions: Sellers, Items, Categories
│   ├─ seed.sql              # Sample data for the tables
│   └─ query.sql             # SQL query for the challenge
├─ testing/
│   ├─ api/                  # API test specs
│   │   └─ register-api.spec.ts  # Registration API tests
│   └─ e2e/                  # UI test specs
│       ├─ fixtures/         # Shared test data (e.g., fake users)
│       ├─ pages/            # Page Object Model files
│       ├─ tests/            # Playwright E2E test specs
│       └─ util/             # Utility functions (e.g., strongPassword)
├─ .github/workflows/        # GitHub Actions workflows
│   ├─ playwright.yml        # UI tests workflow
│   └─ api-tests.yml         # API tests workflow
├─ playwright.config.ts      # Playwright configuration
├─ package.json              # Project dependencies and scripts
├─ tsconfig.json             # TypeScript configuration
├─ README.md                 # Project documentation
├─ eslint.config.cjs         # ESLint configuration
└─ test-results/             # Playwright test results and artifacts

  • All tasks are in one repository as required.
  • No personal account data or API keys are stored in the project.
  • See the sql/ folder for the database challenge and solution.
  • See testing/e2e/tests/ for Playwright E2E tests.
  • See README.md for usage instructions and project structure.

About

About QA automation project with UI, API tests (with Manual, SQL, Performance docs)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published