Skip to content

Latest commit

 

History

History
942 lines (515 loc) · 54.1 KB

CHANGELOG.md

File metadata and controls

942 lines (515 loc) · 54.1 KB

Changelog

1.9.1 (2024-12-27)

Bug Fixes

  • Only warn on coverage errors (7ff08c4)

1.9.0 (2024-12-16)

Bug Fixes

  • Allow disabling the currents fixtures (8ed39d3)
  • Fixture config load spam (0192808)

1.9.0-beta.0 (2024-12-06)

Bug Fixes

  • Output discovery errors in orchestration (52cc209)

Features

  • Add a git info fixture that can be used in rules matching (c186f54)
  • Standardize rules annotations (a6c93de)
  • Rename Rules to Actions (#298) (a5778ba)

1.8.0 (2024-11-25)

Bug Fixes

  • collect coverage when coverage.projects is an empty array (c7066c2)

Features

1.7.1 (2024-11-21)

Bug Fixes

  • Move msw back to being a dev package (25ef14d)
  • Use proper skip in quarantine so retires skip (4980282)

1.7.0 (2024-11-19)

Bug Fixes

  • adding dependabot (5a7210f)
  • use RULE_ANY_SYMBOL and RULE_NONE_SYMBOL (41a5918)

Features

  • Add support for automation rules (dfdf8e8)
  • Add support for coverage

1.6.2 (2024-10-19)

Bug Fixes

1.6.1 (2024-10-15)

Bug Fixes

Features

  • send previousCiBuildId on run creation, if set (48bfcd0)
  • show inline test url (abb336f)

1.6.0 (2024-09-20)

Bug Fixes

Features

  • report orchestration status via onFinish (c427461)
  • use configuration from a config file (cc29107)

1.5.12 (2024-10-07)

Bug Fixes

1.5.11 (2024-09-09)

Bug Fixes

  • added support for only changed flag (005347c)
  • moved cli only changed parsing to pwc-scanner (3ba387a)

1.5.10 (2024-09-02)

Bug Fixes

1.5.9 (2024-08-28)

Bug Fixes

  • add --pwc-skip-reporter-injection (31edb4d)

1.5.8 (2024-08-27)

Bug Fixes

  • Report flaky skipped tests rather than listing them as failed (9d18b29)

1.5.7 (2024-08-26)

Bug Fixes

  • compress requests gt 1MB (#184) (e5acd9d)
  • limit error message and stack to 2048 chars (#185) (4055a1d)
  • retry network requests on ENOTFOUND and EAI_AGAIN (#186) (87a4df2)

1.5.6 (2024-08-12)

Bug Fixes

  • add creation time for create requests (5f440a2)
  • allow empty config (56889fb)

1.5.5 (2024-08-09)

Bug Fixes

  • clean up package.json before publishing (dbb77df)

1.5.4 (2024-08-09)

Bug Fixes

  • change author filed to object (1ddca8f)

1.5.3 (2024-08-08)

Bug Fixes

  • added script to update changelog (a08dc02)
  • addressed feedback (1272a5d)
  • run changelog update on release and publish scripts (f1ef130)

1.5.2 (2024-08-01)

Bug Fixes

  • fix: retry failed request if path is /runs/v1 (#177) (c6b334bd)
  • fix: include apigw-requestid in error messages (#177) (c6b334bd)

1.5.1 (2024-08-01)

Bug Fixes

1.5.0 (2024-07-31)

Bug Fixes

  • Support the last-failed flag (988c27a)

Features

  • detect cancellation in or8n createTask (644d8cf)

1.4.6 (2024-07-26)

Bug Fixes

  • show correct count of failed flaky tests (2f26bd2)

1.4.5 (2024-07-10)

Bug Fixes

  • add CURRENTS_PWCP_DRY_RUN (c2b6777)

1.4.4 (2024-06-25)

Misc

  • pwc: Auto generate ciBuildId when not detected

1.4.3 (2024-06-25)

Bug Fixes

Misc

  • update dependencies to patch vulnerabilities

1.4.3-beta.1 (2024-06-24)

Bug Fixes

1.4.3-beta.0 (2024-06-24)

Bug Fixes

1.4.2 (2024-06-21)

Bug Fixes

  • Arg parsing side-effect that was duplicating tests CSR-1276 (#170) (05cfd4b)

1.4.1 (2024-06-18)

Bug Fixes

  • move to config function and set in onBegin (60bbe2a)
  • remove warning from discovery reporter and add it to orchestration reporter (18a9030)

1.4.0 (2024-06-10)

Features

  • Enable passing additional reporters on the cli (#164) (07e9bee)

Bug Fixes

  • Allow pwc-p to read config from the environment (#160) (47effc3)
  • drop sourcemaps-support register for reporters (#165) (70174bf)

1.3.3 (2024-06-03)

Bug Fixes

  • fullConfig finding failed in playwright v1.32 and below (d09e946)

1.3.2 (2024-05-29)

Bug Fixes

  • filter playwright options from undesired arguments (e6e412d)

1.3.1 (2024-05-17)

Bug Fixes

  • pwc-p - don't allow task groupId to be overridden by cli args (e727f5b)
  • use -- to separate the playwright command cli options and arguments (8ea7078)

1.3.0 (2024-05-16)

Bug Fixes

  • add --repeat-each to scanner args (2ad9d16)

Features

  • Support --pwc-reset-signal for resetting machine specs [CSR-1152] (#153) (ab38e51), closes #157

1.2.0 (2024-05-03)

1.2.0-beta.0 (2024-05-03)

Features

  • add --pwc-output-file for JSON output [CSR-1157] (#151) (f3626d0)

1.1.9 (2024-04-30)

1.1.9-alpha.0 (2024-04-30)

Bug Fixes

  • add lodash as a dep for scanner [skip ci] (c7ec06b)

1.1.8 (2024-04-26)

Bug Fixes

1.1.7 (2024-04-18)

Bug Fixes

  • Use the correct spec file location (9dbefcb)

1.1.6 (2024-04-09)

Bug Fixes

  • use [email protected] [skip ci] (1918036)
  • generate name for projects with an empty name or undefined name
  • forbid orchestration for unnamed projects

1.1.5 (2024-04-05)

Bug Fixes

  • don't throw when there is missing instanceId (767eb45)

1.1.4 (2024-04-03)

1.1.3 (2024-04-03)

Bug Fixes

  • fix widnows paths for fullTestSuite (9d3e56e)

1.1.2 (2024-04-01)

Bug Fixes

1.1.1 (2024-04-01)

Bug Fixes

  • fix a bug with explicit projects for the same ci-build-id (92cb0db)
  • fix a bug with ignoring --grep-invert for discovering full testing suite, add context for debug (1766c01)
  • consider .only for discovering full testing suite (1ac74fe)

1.1.0 (2024-03-27)

Features

1.0.1 (2024-03-26)

Features

This is a major revamp of the reporter. There are no breaking changes in terms of API and configuration, but there are significant changes in the underlying reporting mechanism and the produced output.

  • Full parallel mode support: set fullyParallel: true to enable running individual tests from the same spec file on different workers. Playwright supports multiple levels of concurrency - a test suite can be split between different machines using sharding, and on each individual machine Playwright will spawn parallel workers (according to CPU performance or explicit configuration). The workers will run in parallel, executing the tests (or more precisely, test attempts). By default, Playwright runs the tests of the same spec file serially one after another, but, if the tests are isolated, enabling fullyParallel: true will allow running tests from the same spec file in parallel on different workers (or sometimes even on different shards / machines). The most recent version of the reporter is compatible with full parallel mode and will collect the results of concurrent parallel executions.

  • Step-level reporting: playwright organizes tests executions according to the following hierarchy: Run > Project > Spec File > Test > Attempt > Step. Traditionally, reporters send the results after Run completion (sometimes after Spec File completion). It works well in most cases, but.... imagine running a spec file with 10 tests on a CI machine. 9 tests can be completed successfully, but the last test can cause a crash. If we report after spec completion, no results will be reported at all, even for 9 completed test. Currents reporter sends the results for each individual step (with some batching applied for better performance). That allows capturing as much information as possible as soon as it's ready. It is super-valuable for debugging failed CI executions, which are often unique and are not easy to reproduce locally.

  • Reporter output and results: we have refactored the look and the feel of the reporter's console output for more precise and accurate presentation of the execution workflow. A test execution consists of one or more attempts, each attempt can have its own status, errors, stdout and stderr output. Determining a test's "status" and flakiness requires considering the outcome of all the attempts, the expected status and the execution mode (e.g. "serial" mode can generate extra attempts). The new format makes it easier to track the logic behind determining test status, displays individual attempts errors. Additionally, we split the captured output, that can have mixed items from concurrent parallel workers and assign them to the corresponding spec files.

  • Playwright orchestration: the new CLI tool pwc-p improves Playwright CI executions by automatically balancing spec files between CI machines. The balancing uses the data from the previously recorded executions to optimally assign spec files between machines, which allows up to 40% decrease in CI E2E Playwright tests. Please refer to our documentation for more details and instructions.

0.12.2 (2024-03-06)

Bug Fixes

  • handle teamcity git params (56ad8fc)

0.12.1 (2024-02-05)

Bug Fixes

  • use proper debug fn for cancellation (a5cc5c1)

0.12.0 (2024-01-30)

Features

  • Collect GitHub Actions PR information (7229ac)

Features

  • add scanner package, wip (3195de4)

0.11.5 (2023-12-17)

Bug Fixes

  • report non-run tests and attempts as skipped (dc22305)

0.11.4 (2023-12-11)

0.11.3 (2023-12-11)

Bug Fixes

0.11.2 (2023-12-05)

Bug Fixes

  • exit with zero when no tests detected (459af9e)

0.11.1 (2023-12-01)

Bug Fixes

0.11.0 (2023-12-01)

Bug Fixes

  • handle cloud error messages (c978e9f)
  • reporter to return run actual status (3727167)

Features

  • implement cancelAfterFailures and disableTitleTags (452e666)

0.10.9 (2023-11-23)

Bug Fixes

0.10.8 (2023-11-22)

Bug Fixes

  • set status and flaks based on pw outcome (2bcec5e)

  • handle serial mode (9499528)

0.10.7 (2023-11-20)

Bug Fixes

  • add commander as a dependency (f00191b)

0.10.6 (2023-11-07)

Bug Fixes

  • use @currents/commit-info (b737211)

0.10.5 (2023-11-07)

Bug Fixes

  • remove _pwc-parallel because of pnpm error (6f9c785)

0.10.4 (2023-11-04)

Bug Fixes

0.10.3 (2023-11-04)

Bug Fixes

  • make reporterOptions optional (b497249)

0.10.2 (2023-11-02)

Bug Fixes

  • report tests for single project (de6448e)

0.10.1 (2023-10-31)

Bug Fixes

0.10.0 (2023-10-31)

Bug Fixes

  • make non-mandatory config optional (f6b8dcd)

  • detect build id in CI (efcf50d)

Features

  • add --pwc-remove-title-tags (e842bdb)
  • refactor CLI processing (c5f4977)
  • support tags in project metadata (b11ee9c)

0.9.0 (2023-10-20)

Features

  • implement cancellations (f9bcad0)

Bug Fixes

  • check cancellation for existing runs (f9bcad0)
  • remove useless try...catch block (46c4403)

0.8.1 (2023-09-07)

Bug Fixes

  • redact attachments body (cf6c757)

0.8.0 (2023-09-07)

Features

0.7.2 (2023-08-23)

Bug Fixes

0.7.1 (2023-08-16)

0.7.0 (2023-08-16)

Features

0.6.4 (2023-08-09)

Bug Fixes

0.6.4-beta.0 (2023-07-29)

Bug Fixes

0.6.3 (2023-07-12)

Bug Fixes

  • report errors for hooks and internal steps (1ce1d89)

0.6.2 (2023-06-30)

Bug Fixes

  • set pw version (89468b2)
  • specify content-type and disposition (d9ba3e3)
  • support multiple videos (10d10f9)

0.6.1 (2023-06-30)

Bug Fixes

  • set pw version (89468b2)
  • specify content-type and disposition (d9ba3e3)
  • support multiple videos (10d10f9)

0.6.0 (2023-06-15)

Bug Fixes

Features

  • send workerIndex and parallelIndex (c392a41)

0.5.0 (2023-06-11)

0.5.0-beta.2 (2023-06-08)

Bug Fixes

  • remove playwright from peer deps (755148e)

0.5.0-beta.1 (2023-06-08)

0.5.0-beta.0 (2023-06-08)

Features

  • support image buffers
  • upload console output directly to remote storage
  • better error messages (f87a5a9)

Bug Fixes

0.4.2 (2023-05-12)

Bug Fixes

0.4.1 (2023-05-09)

Bug Fixes

  • fallback to _id for testCase (923e7e9)

0.4.0 (2023-05-05)

Bug Fixes

  • allow debugging extensions (17b5a5f)
  • send ciBuildId when creating a run (d47a2c1)
  • show upload warnings at the end of execution (63c91f3)
  • upload stdout and artifacts in parallel (10a0d2d)
  • use debug extensions (0512596)

Features

  • refactor + stabilize network uploads (1f945b6)
  • refactor + stabilize network uploads (1b1cbe9)

0.3.8-beta.0 (2023-04-20)

Bug Fixes

  • use network retries, enhance debugging (f996250)

0.3.7 (2023-04-11)

Bug Fixes

  • send raw results for troubleshooting (712cf7e)

0.3.6 (2023-04-10)

Bug Fixes

  • handle expected vs actual tests status (6d3c5cb)

0.3.5 (2023-03-31)

Bug Fixes

  • use execa to support windows (b20b746)

0.3.4 (2023-02-20)

Bug Fixes

  • wait for flaky test to complete (95fffef)

0.3.3 (2023-02-08)

0.3.2 (2023-02-08)

Bug Fixes

0.3.1 (2023-02-06)

Bug Fixes

  • remove requiring pw+pwc version (9481736)

0.3.0 (2023-02-06)

Bug Fixes

  • exist with pw's exit status (983bb0c)
  • handle expired run case (5d008cf)
  • use claimedCount > 1 (ee40f1e)
  • use dedicated pw stdout endpoint (62f4a48)
  • use PR ref for clear message (3c7e6a6)

Features

  • upload results and stdout in parallel (4e7e165)
  • upload results in 1 requests (93053d1)

0.2.2 (2023-01-31)

Bug Fixes

  • skip uploading results for errors (dd0d3a8)

0.2.0 (2023-01-31)

Bug Fixes

  • fix counting repeated tests and their status (f24694a)

Features

  • add http errors handlers (044a93f)
  • create instances in advance (830064b)
  • upload results in parallel (b6f3179)

0.1.1 (2023-01-26)

0.1.0 (2023-01-26)

Bug Fixes

  • "skipped" > "pending". Closes #28 (96611fe)
  • various fixes from local testing (ace1782)

Features

  • add basic Playwright reporter (f50c00c)
  • create run on onBegin (a30c33c)
  • get git info in test reporter (845c83d)
  • make initial setup call from Playwright (ac5083b)
  • sent version headers with network requests (3ad1896)

0.4.0 (2023-05-05)

Bug Fixes

  • allow debugging extensions (17b5a5f)
  • send ciBuildId when creating a run (d47a2c1)
  • show upload warnings at the end of execution (63c91f3)
  • upload stdout and artifacts in parallel (10a0d2d)
  • use debug extensions (0512596)

Features

  • refactor + stabilize network uploads (1f945b6)
  • refactor + stabilize network uploads (1b1cbe9)

0.3.8-beta.0 (2023-04-20)

Bug Fixes

  • use network retries, enhance debugging (f996250)

0.3.7 (2023-04-11)

Bug Fixes

  • send raw results for troubleshooting (712cf7e)

0.3.6 (2023-04-10)

Bug Fixes

  • handle expected vs actual tests status (6d3c5cb)

0.3.5 (2023-03-31)

Bug Fixes

  • use execa to support windows (b20b746)

0.3.4 (2023-02-20)

Bug Fixes

  • wait for flaky test to complete (95fffef)

0.3.3 (2023-02-08)

0.3.2 (2023-02-08)

Bug Fixes

0.3.1 (2023-02-06)

Bug Fixes

  • remove requiring pw+pwc version (9481736)

0.3.0 (2023-02-06)

Bug Fixes

  • exist with pw's exit status (983bb0c)
  • handle expired run case (5d008cf)
  • use claimedCount > 1 (ee40f1e)
  • use dedicated pw stdout endpoint (62f4a48)
  • use PR ref for clear message (3c7e6a6)

Features

  • upload results and stdout in parallel (4e7e165)
  • upload results in 1 requests (93053d1)

0.2.2 (2023-01-31)

Bug Fixes

  • skip uploading results for errors (dd0d3a8)

0.2.0 (2023-01-31)

Bug Fixes

  • fix counting repeated tests and their status (f24694a)

Features

  • add http errors handlers (044a93f)
  • create instances in advance (830064b)
  • upload results in parallel (b6f3179)

0.1.1 (2023-01-26)

0.1.0 (2023-01-26)

Bug Fixes

  • "skipped" > "pending". Closes #28 (96611fe)
  • various fixes from local testing (ace1782)

Features

  • add basic Playwright reporter (f50c00c)
  • create run on onBegin (a30c33c)
  • get git info in test reporter (845c83d)
  • make initial setup call from Playwright (ac5083b)
  • sent version headers with network requests (3ad1896)

0.4.0 (2023-05-05)

Bug Fixes

  • allow debugging extensions (17b5a5f)
  • send ciBuildId when creating a run (d47a2c1)
  • show upload warnings at the end of execution (63c91f3)
  • upload stdout and artifacts in parallel (10a0d2d)
  • use debug extensions (0512596)

Features

  • refactor + stabilize network uploads (1f945b6)
  • refactor + stabilize network uploads (1b1cbe9)

0.3.8-beta.0 (2023-04-20)

Bug Fixes

  • use network retries, enhance debugging (f996250)

0.3.7 (2023-04-11)

Bug Fixes

  • send raw results for troubleshooting (712cf7e)

0.3.6 (2023-04-10)

Bug Fixes

  • handle expected vs actual tests status (6d3c5cb)

0.3.5 (2023-03-31)

Bug Fixes

  • use execa to support windows (b20b746)

0.3.4 (2023-02-20)

Bug Fixes

0.3.3 (2023-02-08)

0.3.2 (2023-02-08)

Bug Fixes

0.3.1 (2023-02-06)

Bug Fixes

  • remove requiring pw+pwc version (9481736)

0.3.0 (2023-02-06)

Bug Fixes

  • exit with pw's exit status (983bb0c)
  • handle expired run case (5d008cf)
  • use claimedCount > 1 (ee40f1e)
  • use dedicated pw stdout endpoint (62f4a48)
  • use PR ref for clear message (3c7e6a6)

Features

  • upload results and stdout in parallel (4e7e165)
  • upload results in 1 requests (93053d1)

0.2.2 (2023-01-31)

Bug Fixes

  • skip uploading results for errors (dd0d3a8)

0.2.1 (2023-01-31)

0.2.0 (2023-01-31)

Bug Fixes

  • fix counting repeated tests and their status (f24694a)

Features

  • add http errors handlers (044a93f)
  • create instances in advance (830064b)
  • upload results in parallel (b6f3179)

0.1.1 (2023-01-26)

0.1.0 (2023-01-26)

Bug Fixes

  • "skipped" > "pending". Closes #28 (96611fe)
  • various fixes from local testing (ace1782)

Features

  • add basic Playwright reporter (f50c00c)
  • create run on onBegin (a30c33c)
  • get git info in test reporter (845c83d)
  • make initial setup call from Playwright (ac5083b)
  • sent version headers with network requests (3ad1896)