Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/web/e2e/log-habit.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ test('log a habit from the Today list', async ({ page }) => {
await expect(submit).toBeEnabled()
await submit.click()

await expect(titleInput).toBeHidden()

const row = page.locator(`[data-habit-title="${title}"]`)
await expect(row).toBeVisible()

Expand Down
4 changes: 2 additions & 2 deletions apps/web/e2e/paywall.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { test, expect } from '@playwright/test'
test('the upgrade paywall renders its checkout CTA', async ({ page }) => {
await page.goto('/upgrade')

await expect(page.getByRole('radiogroup')).toBeVisible()
await expect(page.getByTestId('paywall-checkout')).toBeVisible()
await expect(page.getByRole('radiogroup')).toBeVisible({ timeout: 30_000 })
await expect(page.getByTestId('paywall-checkout')).toBeVisible({ timeout: 30_000 })
})