mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Fix benchmark CI misattribution & flake
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user