Skip to content

Commit 2efcff9

Browse files
committed
test(platform): name the SSO document response for what it is
1 parent 46930ed commit 2efcff9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/sim/platform/checks/live/settings-b.spec.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ test.describe('governance settings', () => {
104104
const body = await response.text().catch(() => '')
105105
if (body.includes(clientSecret)) leaks.push(response.url())
106106
})
107-
const document = await page.goto(liveRoute(`/settings/sso?provider=${providerId}`))
108-
const html = (await document?.text()) ?? ''
107+
const opened = await page.goto(liveRoute(`/settings/sso?provider=${providerId}`))
108+
const html = (await opened?.text()) ?? ''
109109
expect(html, 'the document did not carry the seeded provider').toContain(providerId)
110110
expect(html).not.toContain(clientSecret)
111111

0 commit comments

Comments
 (0)