Skip to content

Commit

Permalink
fix: update functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Dec 20, 2024
1 parent 2988eb9 commit c81796b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/tests/utils/page-detail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class PageDetail extends BasePage {
if (this.form.fields.get(key)?.type === FormFieldType.CHECKBOX) {
await expect
.soft(this.page.getByTestId(key.replaceAll('_', '-') + '-field-value'))
.toHaveText(values[key] ? 'true' : 'false');
.toHaveText(values[key] ? '' : '');
} else if (this.form.fields.get(key)?.type === FormFieldType.DATE) {
const displayedValue = await this.page
.getByTestId(key.replaceAll('_', '-') + '-field-value')
Expand Down

0 comments on commit c81796b

Please sign in to comment.