Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Jul 10, 2024

Small refactor:

Not all our e2e tests require a startCommand as we sometimes directly invoke an application from within tests. For example in our AWS lambda e2e tests. This PR makes the startCommand option optional so that we can avoid a larger override of the entire webServer playwright config object.


// Fix urls not resolving to localhost on Node v17+
// See: https://github.com/axios/axios/issues/3821#issuecomment-1413727575
import { setDefaultResultOrder } from 'dns';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can also get rid of these lines here!


// Fix urls not resolving to localhost on Node v17+
// See: https://github.com/axios/axios/issues/3821#issuecomment-1413727575
import { setDefaultResultOrder } from 'dns';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can get rid of this too!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even better!

@Lms24 Lms24 enabled auto-merge (squash) July 10, 2024 09:37
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser 22.29 KB (-0.05% 🔽)
@sentry/browser (incl. Tracing) 33.44 KB (-0.68% 🔽)
@sentry/browser (incl. Tracing, Replay) 69.19 KB (-0.38% 🔽)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.52 KB (-0.42% 🔽)
@sentry/browser (incl. Tracing, Replay with Canvas) 73.25 KB (-0.35% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback) 85.88 KB (-0.32% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.74 KB (-0.31% 🔽)
@sentry/browser (incl. metrics) 26.58 KB (-0.03% 🔽)
@sentry/browser (incl. Feedback) 38.97 KB (-0.03% 🔽)
@sentry/browser (incl. sendFeedback) 26.92 KB (-0.04% 🔽)
@sentry/browser (incl. FeedbackAsync) 31.53 KB (-0.03% 🔽)
@sentry/react 25.04 KB (-0.13% 🔽)
@sentry/react (incl. Tracing) 36.48 KB (-0.71% 🔽)
@sentry/vue 26.4 KB (-0.05% 🔽)
@sentry/vue (incl. Tracing) 35.3 KB (-0.69% 🔽)
@sentry/svelte 22.43 KB (-0.05% 🔽)
CDN Bundle 23.51 KB (-0.03% 🔽)
CDN Bundle (incl. Tracing) 35.2 KB (-0.68% 🔽)
CDN Bundle (incl. Tracing, Replay) 69.31 KB (-0.36% 🔽)
CDN Bundle (incl. Tracing, Replay, Feedback) 74.5 KB (-0.33% 🔽)
CDN Bundle - uncompressed 69 KB (-0.01% 🔽)
CDN Bundle (incl. Tracing) - uncompressed 104.02 KB (-0.8% 🔽)
CDN Bundle (incl. Tracing, Replay) - uncompressed 214.41 KB (-0.39% 🔽)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 227.12 KB (-0.37% 🔽)
@sentry/nextjs (client) 36.36 KB (-0.66% 🔽)
@sentry/sveltekit (client) 34.09 KB (-0.71% 🔽)
@sentry/node 130.79 KB (-0.01% 🔽)
@sentry/node - without tracing 91.88 KB (-0.01% 🔽)
@sentry/aws-serverless 117.05 KB (-0.01% 🔽)

@Lms24 Lms24 merged commit 9c92ece into develop Jul 12, 2024
@Lms24 Lms24 deleted the lms/ref-e2e-shared-pw-config-startCommand branch July 12, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants