Skip to content

Commit

Permalink
fix: update assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
roar-larsen committed Jan 9, 2024
1 parent 15c1bc1 commit 0596cd2
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,9 @@ test('Model uncontained complex attribute', async ({ page }) => {
await expect(page.getByRole('tab', { name: 'captain' })).toBeVisible()
await expect(page.getByRole('code')).toBeVisible()
await page.getByRole('button', { name: 'Edit' }).nth(1).click()
await expect(page.getByTestId('form-text-widget-name').nth(1)).toHaveValue(
'Barbossa'
)
await expect(page.getByRole('textbox')).toHaveValue('Barbossa')
await expect(
page.getByTestId('form-number-widget-Phone Number (optional)')
page.getByTestId('form-number-widget-Phone Number (Optional)')
).toHaveValue('12345678')
})
})

0 comments on commit 0596cd2

Please sign in to comment.