Skip to content

Commit

Permalink
chore: new release candidate (#41)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 4, 2024
1 parent ccc39fc commit 529059a
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 63 deletions.
29 changes: 0 additions & 29 deletions .changeset/ninety-pants-speak.md

This file was deleted.

28 changes: 0 additions & 28 deletions .changeset/stale-avocados-mix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-guests-press.md

This file was deleted.

57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
### Changelog

## 0.14.0

### Minor Changes

- [#40](https://github.com/SebastianSedzik/playwright-decorators/pull/40) [`a50e25b`](https://github.com/SebastianSedzik/playwright-decorators/commit/a50e25b1d5abf8c10b1fde965767cb6f0770751b) Thanks [@SebastianSedzik](https://github.com/SebastianSedzik)! - Add `@debug` decorator

Runs a `@test`(s) or `@suite`(s) in debug mode.
Tests or suites without the `@debug` decorator will not be excluded.
Learn more about debug mode: https://playwright.dev/docs/debug

```ts
import { suite, test, debug, TestArgs } from 'playwright-decorators'

// Debug selected test suite(s)
@debug() // <-- Decorate suite with @debug()
@suite()
class DebugTestSuite {}

// Or debug selected test(s)
@suite()
class TestSuite {
@debug() // <-- Decorate test with @debug()
@test()
async test({ page }: TestArgs) {
// ...
}
}
```

- [#42](https://github.com/SebastianSedzik/playwright-decorators/pull/42) [`a2e7892`](https://github.com/SebastianSedzik/playwright-decorators/commit/a2e7892221878a69282cd16107ce28481faba629) Thanks [@SebastianSedzik](https://github.com/SebastianSedzik)! - Add `@preview` decorator

Runs a `@test`(s) or `@suite`(s) in preview (headed browser) mode, simulating user interaction (slowing down each operation by 1000ms).
Tests or suites without the `@preview` decorator will not be excluded.

```ts
import { suite, test, preview, TestArgs } from 'playwright-decorators'

// Preview selected test suite(s)
@preview() // <-- Decorate suite with @preview()
@suite()
class PreviewTestSuite {}

// Or preview selected test(s)
@suite()
class TestSuite {
@preview() // <-- Decorate test with @preview()
@test()
async test({ page }: TestArgs) {
// ...
}
}
```

### Patch Changes

- [#43](https://github.com/SebastianSedzik/playwright-decorators/pull/43) [`ccc39fc`](https://github.com/SebastianSedzik/playwright-decorators/commit/ccc39fc17d72059c9b034a1adff4f4949258b29c) Thanks [@SebastianSedzik](https://github.com/SebastianSedzik)! - Restructure readme file

## 0.13.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "playwright-decorators",
"version": "0.13.0",
"version": "0.14.0",
"description": "Decorators for writing Playwright based tests.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit 529059a

Please sign in to comment.