@playwright/test 1.32.1-beta-1679703607000 → 1.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -108,6 +108,7 @@ class BaseReporter {
108
108
  generateStartingMessage() {
109
109
  const jobs = Math.min(this.config.workers, this.config._internal.maxConcurrentTestGroups);
110
110
  const shardDetails = this.config.shard ? `, shard ${this.config.shard.current} of ${this.config.shard.total}` : '';
111
+ if (!this.totalTestCount) return '';
111
112
  return '\n' + _utilsBundle.colors.dim('Running ') + this.totalTestCount + _utilsBundle.colors.dim(` test${this.totalTestCount !== 1 ? 's' : ''} using `) + jobs + _utilsBundle.colors.dim(` worker${jobs !== 1 ? 's' : ''}${shardDetails}`);
112
113
  }
113
114
  getSlowTests() {
@@ -48,8 +48,11 @@ class ListReporter extends _base.BaseReporter {
48
48
  }
49
49
  onBegin(config, suite) {
50
50
  super.onBegin(config, suite);
51
- console.log(this.generateStartingMessage());
52
- console.log();
51
+ const startingMessage = this.generateStartingMessage();
52
+ if (startingMessage) {
53
+ console.log(startingMessage);
54
+ console.log();
55
+ }
53
56
  }
54
57
  onTestBegin(test, result) {
55
58
  if (this._liveTerminal) this._maybeWriteNewLine();
@@ -12,6 +12,8 @@ var _teleEmitter = require("../reporters/teleEmitter");
12
12
  var _reporters = require("./reporters");
13
13
  var _tasks = require("./tasks");
14
14
  var _utilsBundle = require("../utilsBundle");
15
+ var _list = _interopRequireDefault(require("../reporters/list"));
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
17
  /**
16
18
  * Copyright Microsoft Corporation. All rights reserved.
17
19
  *
@@ -69,7 +71,7 @@ class UIMode {
69
71
  });
70
72
  }
71
73
  async runGlobalSetup() {
72
- const reporter = await (0, _reporters.createReporter)(this._config, 'run');
74
+ const reporter = new _multiplexer.Multiplexer([new _list.default()]);
73
75
  const taskRunner = (0, _tasks.createTaskRunnerForWatchSetup)(this._config, reporter);
74
76
  reporter.onConfigure(this._config);
75
77
  const context = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playwright/test",
3
- "version": "1.32.1-beta-1679703607000",
3
+ "version": "1.32.1",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": "github:Microsoft/playwright",
6
6
  "homepage": "https://playwright.dev",
@@ -34,7 +34,7 @@
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
36
  "@types/node": "*",
37
- "playwright-core": "1.32.1-beta-1679703607000"
37
+ "playwright-core": "1.32.1"
38
38
  },
39
39
  "optionalDependencies": {
40
40
  "fsevents": "2.3.2"