Skip to content

Commit

Permalink
initial work
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenkilbourn committed Sep 29, 2022
1 parent e082cd1 commit 65cac1b
Show file tree
Hide file tree
Showing 14 changed files with 4,662 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
27 changes: 27 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb-base"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": [0
],
"no-empty-pattern": 0,
"no-undef": 0,
"no-use-before-define": 0
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ dist

# TernJS port file
.tern-port
/test-results/
/playwright-report/
/playwright/.cache/
8 changes: 8 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
arrowParens: 'always',
bracketSpacing: true,
printWidth: 80,
singleQuote: true,
tabWidth: 2,
trailingComma: 'all',
};
8 changes: 8 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
arrowParens: 'always',
bracketSpacing: true,
printWidth: 80,
singleQuote: true,
tabWidth: 2,
trailingComma: 'all',
};
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 📜 🎭 Playwright Report Summary 🎭 📜

Small text based custom reporter for Playwright.

## Configuration

Modify your `playwright.config.ts` file to include the reporer:

```typescript
reporter: [
['./src/index.ts', { outputFile: 'summary.txt' }]]
['html'], // other reporters
['dot']
],
```

The default output location will be to your root as `summary.txt` Including the `outputFile` parameter allows you to specify a custom report location.
Loading

0 comments on commit 65cac1b

Please sign in to comment.