@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.
- package/dist/mysql-adapter.js +7 -1
- package/package.json +1 -1
package/dist/mysql-adapter.js
CHANGED
|
@@ -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
|
-
|
|
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,
|