Commit a2a1bef
authored
chore(test): Reduce unneeded
After looking a bit at what the slowest browser-integration-tests are, I
found an easy-to-fix pattern in our tests - we had _a lot_ of tests
there that set some arbitrary `idleTimeout` to the
`browserIntegrationTest`. This massively made these tests slower as it
takes much longer to flush any pageload span. Many test runtimes reduced
from 10-20s to 1-5s due to this change. A few places remain where this
seems to be necessary, but there are way fewer now.
FYI 1000ms is the default, we also had some defining this for some
reason, I also removed those to be more consistent.idleTimeout test config (#20467)1 parent 76b6045 commit a2a1bef
37 files changed
Lines changed: 57 additions & 50 deletions
File tree
- dev-packages/browser-integration-tests/suites
- public-api/diagnoseSdkConnectivity
- tracing
- browserTracingIntegration
- backgroundtab-custom
- http-timings-streamed
- http-timings
- ignoreMeasureSpans
- interactions-streamed
- interactions
- long-animation-frame-disabled-streamed
- long-animation-frame-disabled
- long-animation-frame-enabled-streamed
- long-animation-frame-enabled
- long-animation-frame-non-chromium
- long-tasks-and-animation-frame-enabled-streamed
- long-tasks-and-animation-frame-enabled
- long-tasks-disabled-streamed
- long-tasks-disabled
- long-tasks-enabled-streamed
- long-tasks-enabled
- long-tasks-no-animation-frame
- on-request-span-end
- on-request-span-start
- resource-spans-ignored
- metrics
- connection-rtt
- pageload-measure-spans-domexception-details
- pageload-measure-spans
- web-vitals-cls-standalone-spans
- web-vitals-cls
- web-vitals-inp-late
- web-vitals-inp-parametrized-late
- web-vitals-inp-streamed-spans
- web-vitals-lcp-standalone-spans
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments