Skip to content

Latest commit

 

History

History
154 lines (117 loc) · 8.81 KB

CHANGELOG.md

File metadata and controls

154 lines (117 loc) · 8.81 KB

Changelog

6.3.0

  • improvement: set scenario timeout via test.setTimeout instead of anonymous describe (#139)
  • feature: add @slow special tag (#138)
  • improvement: relax rules for guessing fixtures in decorator steps, introduce new config option statefulPoms for more strict checks (#102)

6.2.0

  • feature: add --version cli flag (#134)
  • feature: show step locations in unused export and in duplicate steps error (#113)
  • feature: add $step fixture (#133)
  • feature: add experimental support of steps option (related to #94)

6.1.1

  • fix: support stacktrace for Cucumber 10.4

6.1.0

  • feature: add new special tags (#123, #126)
  • feature: support new Playwright tags (#98)
  • feature: add option --unused-steps to bddgen export (#113)
  • feature: show stdout / stderr in Cucumber reports (#116)
  • feature: call step from step (#110)
  • bug: getting testInfo._runAsStep is not a function after updating to Canary playwright (#119)

6.0.3

  • fix timeouts in Cucumber reporters, #107

6.0.2

  • fix spec generation for feature file with background without scenarios, #104

6.0.1

  • fix Cucumber reporters for non-default language

6.0.0

  • support Cucumber reporters 🎉, #9
  • update minimal Playwright version to 1.34
  • refactor docs navigation, add sidebar groups
  • improve docs per users' feedback, #90, #93
  • make imports in the generated files use / on win, #91

5.8.0

  • support Playwright 1.42, #96

5.7.1

  • support Cucumber 10.2

5.7.0

  • support Cucumber 10.1, #80

5.6.0

  • support component tests, #57
  • generate skipped tests with empty body, #73
  • allow outline scenario name to be used as an examples template, #67
  • fix empty step locations for esm
  • fix duplicate steps error message, #74

5.5.0

  • add support for hooks, #15
  • add support for custom fixtures in cucumber-style steps
  • enrich html-report with keywords, #69
  • fix snippets on win for cucumber@10, #71

5.4.0

  • i18n: Generate scenario outlines correctly #60.
  • Check for duplicate fixture names #52
  • Fix flushing logs for several projects #59
  • Support Playwright 1.39.
  • Docs: add search.

5.3.0

  • Add support for Playwright 1.38.
  • Fix output dir clear on Windows #49).
  • Support feature level @fixture: tags #52).

5.2.0

  • possibly breaking: Introduce featuresRoot option to have more control of generated files structure #44.

    This fix actually reverts simplification of outputDir by common parent (added in v5, see #40).

    ❤️ I need to admit that automatic simplification of outputDir structure was not the right choice. Playwright heavily relies on tests structure for storing screenshots and we should keep it as stable as possible. I don't like such reverting but better to do it now than later. Introduced featuresRoot allows to strictly control output structure in the same way as TypeScript controls it with rootDir.

    If you use screenshots/snapshots you may need to re-save them to new paths after upgrading.

  • Add CLI command bddgen export.

  • New documentation website.

  • Suppress publishQuiet deprecation warning for Cucumber v9.4+, see #47

5.1.1

  • Hotfix for output directory structure with tags filter, see comment

5.1.0

  • Add --tags option to filter scenarios by tags expression #36.
  • Add bddgen env command to display environment info.

5.0.1

There are several breaking changes in this release. Please check carefully after upgrade.

  • breaking: Optimize world initialization, rename World -> BddWorld, WorldOptions -> BddWorldOptions. If you use these classes you may need to rename it as well
  • breaking: Resolve paths relative to Playwright config file, not to process.cwd(). If you use custom Playwright config file you may need to update paths in it
  • breaking: Simplify generated directories structure #40. If you use snapshots you may need to re-save them in new paths
  • Imporve support for several calls of defineBddConfig() #39
  • Add config option quotes = 'single' | 'double' | 'backtick' to control quotes style in generated tests #34

4.0.0

  • Fix running several Playwright projects with shared steps #32
  • Support decorators for defining steps #35 (set minimal Playwright version to 1.33)

3.3.0

  • Fix getting location from stacktrace, #31
  • Use built-in Playwright's loader for TS instead of ts-node, fixes #27

3.2.1

  • Improve snippets

3.2.0

  • Customize test titles for scenario outline #29
  • Generate snippets for undefined steps #17

3.1.0

  • Support Cucumber tags #8

3.0.2

  • Fix slash in the generated import statement on windows #26
  • Fix docs for custom fixtures #25
  • Fix --ui mode #24
  • Support --verbose CLI flag

3.0.1

Version v3 has several major updates based on the feedback.

  • Added support of custom fixtures and playwright-style functions for step definitions #11
  • Use single config file: embed Cucumber config into Playwright config #4
  • Nice reporting: wrap each cucumber step in test.step #22
  • Supported screenshots / snapshots persistance between test runs #23

2.2.0

  • Run only one scenario / skip scenario #14
  • Support "Scenario Template" keyword #20

2.1.0

  • Support Gherkin i18n #13

2.0.0

  • Support "Rule" keyword #7
  • Generate test files close to Gherkin document structure #10

1.3.0

  • Print parsing errors to the console while generating #2

1.2.0

  • Initial public release