Uh oh!
There was an error while loading. Please reload this page.
test(remix): Run tsc before Remix E2E tests - #16345
Conversation
| test('Sends form data with action span', async ({ page }) => { | ||
| const formdataActionTransaction = waitForTransaction('create-remix-app-express', transactionEvent => { | ||
| return transactionEvent?.spans?.some(span => span.data && span.data['code.function'] === 'action'); | ||
| return transactionEvent?.spans?.some(span => span.data && span.data['code.function'] === 'action') || false; |
There was a problem hiding this comment.
q: What does adding || false do here?
There was a problem hiding this comment.
waitForTransaction expects a function returning a boolean, after adding optional chaining, it became boolean | undefined. So, making it false in such cases
Uh oh!
There was an error while loading. Please reload this page.
onurtemizkan
commented
May 20, 2025
@andreiborza - this branch should fail on CI actually. And it does fail on my local. Looks like CI is letting |
ab4b1ac to
8fb25f1Compareonurtemizkan
commented
May 20, 2025
Update: I was not able to make this fail on CI (with |
Following up: #16336