file-upload

Tests single file, multiple files, drag-and-drop, and upload progress.

Content Preview
# File Upload Template

Tests single file, multiple files, drag-and-drop, and upload progress.

## Prerequisites
- Authenticated session via `{{authStorageStatePath}}`
- Test files available: `{{testFilePath}}`, `{{largeFilePath}}`
- Accepted types: `{{acceptedMimeTypes}}` (e.g. image/jpeg, application/pdf)
- Max file size: `{{maxFileSizeMb}}` MB

---

## TypeScript

```typescript
import { test, expect } from '@playwright/test';
import path from 'path';

const testFile  = path.resolve('{{testFil
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/file-upload.md \
  https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/engineering-team/playwright-pro/templates/forms/file-upload.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/alirezarezvani/claude-skills

Then reference at engineering-team/playwright-pro/templates/forms/file-upload.md

Related Skills