Skip to content

Commit a279ddd

Browse files
committed
test(org): walk routes concurrently and keep the report through a timeout
1 parent 4e5757a commit a279ddd

4 files changed

Lines changed: 250 additions & 160 deletions

File tree

‎.github/scripts/http-e2e.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ case "$group" in
305305
export CONFLUENCE_CLIENT_ID=org-redesign-confluence-client CONFLUENCE_CLIENT_SECRET=org-redesign-confluence-secret
306306
export STRIPE_SECRET_KEY=sk_test_org_redesign STRIPE_WEBHOOK_SECRET=whsec_org_redesign
307307
export DB_TX_TRIPWIRE=throw
308+
export BROWSER_EXTENSION_IDS=abcdefghijklmnopabcdefghijklmnop
308309
bun --no-env-file scripts/org-redesign-seed.ts
309310
start_browser_install org-redesign --only-shell chromium
310311
bun --no-env-file scripts/org-redesign-e2e/scripted-agent.ts 3031 \

‎apps/sim/scripts/org-redesign-seed.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ await db.transaction(async (tx) => {
248248
name: 'Standard Access',
249249
config: STANDARD_GROUP_CONFIG,
250250
createdBy: OWNER.userId,
251-
isDefault: true,
251+
membershipMode: 'explicit',
252252
},
253253
{
254254
id: NARROW_GROUP_ID,
@@ -430,6 +430,7 @@ await db.transaction(async (tx) => {
430430
authorizationAppId: policy.authorizationAppId,
431431
encryptedOauthTokenSet: await encryptManagedOAuthTokenSet({
432432
accessToken: `org-redesign-token-${option}`,
433+
refreshToken: `org-redesign-refresh-${option}`,
433434
}),
434435
accessTokenExpiresAt: new Date(now.getTime() + 3_600_000),
435436
grantedAt: now,

‎apps/sim/scripts/test-browser-extension-e2e.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,6 +2117,7 @@ try {
21172117
.toBe(`/extension/o/${organizationId}`)
21182118
await expect(frame().getByRole('textbox', { name: 'Ask Sim', exact: true })).toBeVisible()
21192119
await expect(frame().getByRole('button', { name: 'Voice input', exact: true })).toBeVisible()
2120+
await expect(frame().locator('[data-platform-ui]')).toHaveCount(0)
21202121
await screenshot('organization-new-chat')
21212122
await setPanelViewport(320, 844)
21222123
await screenshot('organization-microphone-320')

0 commit comments

Comments
 (0)