@dionlarson/playwright-orchestrator-mysql 1.6.5 → 1.6.7

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.
@@ -312,7 +312,13 @@ export class MySQLAdapter extends Adapter {
312
312
  return testInfoMap;
313
313
  }
314
314
  async updateTestWithResult(status, { runId, test, testResult, config }) {
315
- const testId = this.getTestId({ ...test, ...testResult });
315
+ // Use test.title (from DB) not testResult.title (from reporter)
316
+ const testId = this.getTestId({
317
+ project: test.project,
318
+ file: test.file,
319
+ title: test.title,
320
+ annotations: testResult.annotations,
321
+ });
316
322
  const [[testInfo]] = await this.pool.query({
317
323
  sql: `SELECT
318
324
  id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dionlarson/playwright-orchestrator-mysql",
3
- "version": "1.6.5",
3
+ "version": "1.6.7",
4
4
  "keywords": [],
5
5
  "author": "Rostyslav Kudrevatykh",
6
6
  "license": "Apache-2.0",