-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Page shows Formaldaten heading including e2e test
RISDEV-6139
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { test, expect } from '@playwright/test' | ||
|
||
test( | ||
'Visiting the Rubriken step of creating a documentUnit', | ||
{ tag: ['@RISDEV-6043'] }, | ||
async ({ page }) => { | ||
// In the future the new documentUnit needs to be mocked | ||
// As this functionality is not there yet we can simply enter the desired page and finish the process | ||
await page.goto('/documentUnit/KSNR054920707/rubriken') | ||
await expect(page.getByText('Rubriken')).toHaveCount(1) | ||
await expect(page.getByText('Formaldaten')).toHaveCount(2) | ||
}, | ||
) |
10 changes: 8 additions & 2 deletions
10
frontend/src/routes/documentUnit/[documentNumber]/RubrikenPage.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
<script lang="ts" setup></script> | ||
<script lang="ts" setup> | ||
import TitleElement from '@/components/TitleElement.vue' | ||
</script> | ||
|
||
<template> | ||
<div>Hallo Welt</div> | ||
<div class="flex w-full flex-1 grow flex-col p-24"> | ||
<div aria-label="Formaldaten" class="flex flex-col gap-24 bg-white p-24"> | ||
<TitleElement>Formaldaten</TitleElement> | ||
</div> | ||
</div> | ||
</template> |