Skip to content

Commit

Permalink
RISDEV-6147 Add file numbers (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-deazevedo authored Jan 17, 2025
1 parent 663fc3b commit d52c0bd
Show file tree
Hide file tree
Showing 8 changed files with 8,158 additions and 5,616 deletions.
1 change: 1 addition & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ allowed_patterns:
- "key === 'Escape'"
- "key: 'value'"
- "key: 'other-value'"
- "with arrow keys"
# patterns that trigger talisman otherwise
- "{ label: 'passive item', route: { name: 'not-matching' }"
- "cross-origin-isolated=(),"
Expand Down
14 changes: 9 additions & 5 deletions frontend/e2e/RubrikenPage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@ test(
ausserkrafttretedatumElement.fill('03.03.1970')
await expect(ausserkrafttretedatumElement).toHaveValue('03.03.1970')

// const aktenzeichenElement = page.getByText('Aktenzeichen')
// await expect(aktenzeichenElement).toHaveCount(1)
// aktenzeichenElement.fill('Az1')
// aktenzeichenElement.fill('Az2')
// await expect(aktenzeichenElement).toHaveValues(['Az1', 'Az2'])
const aktenzeichenElement = page.getByText('Aktenzeichen')
await expect(aktenzeichenElement).toHaveCount(1)
await aktenzeichenElement.fill('Az1')
await aktenzeichenElement.press("Enter")
await aktenzeichenElement.fill('Az2')
await aktenzeichenElement.press("Enter")
// Created elements are list elements (<li>) so we need to select them explicitly
await expect(page.getByText('Az1')).toHaveCount(1)
await expect(page.getByText('Az2')).toHaveCount(1)

// const keinAktenzeichenElement = page.getByText('Kein Aktenzeichen')
// await expect(keinAktenzeichenElement).toHaveCount(1)
Expand Down
Loading

0 comments on commit d52c0bd

Please sign in to comment.