Fix benchmark CI misattribution & flake

This commit is contained in:
trevor-signal
2025-09-08 11:35:18 -04:00
committed by GitHub
parent f3237eec13
commit a3b7f7d044
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
contactCount: 500
discardCount: 2
- metric: convoOpen
script: ts/test-mock/benchmarks/group_send_bench.js
script: ts/test-mock/benchmarks/convo_open_bench.js
runCount: 100
- metric: callHistorySearch
script: ts/test-mock/benchmarks/call_history_search_bench.js
+2 -2
View File
@@ -140,12 +140,12 @@ Bootstrap.benchmark(async (bootstrap: Bootstrap): Promise<void> => {
{
const leftPane = window.locator('#LeftPane');
// Left pane should show either the message preview or
// "You were added to the group".
// Wait for group state to be fetched
await leftPane
.locator(
`.module-conversation-list__item--contact-or-conversation[data-testid="${group.id}"]`
)
.getByText(GROUP_NAME)
.waitFor();
}