Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrationtests are failing #49

Open
ThomasJunk opened this issue Apr 26, 2024 · 0 comments
Open

Integrationtests are failing #49

ThomasJunk opened this issue Apr 26, 2024 · 0 comments
Assignees

Comments

@ThomasJunk
Copy link
Contributor

Currently (Commit 51c6e75) the integrationtests are failing.

And they do so for no obvious reason. I opened the application in the browser and the application does well. There are no hidden console errors or an indicator of what is happening.

I watched the recent changes - namely the contribution of @bernhard-herzog which the errors could not be attributed to.

Using npx playwright test --ui I took a look at the first failing test.

test("general collapsible content Revision history", async ({ page }) => {
  await page.goto("/");
  await page.locator('input[type="file"]').click();
  await page.locator('input[type="file"]').setInputFiles("./docs/bsi-2022-0001.json");

  await expect(page.getByRole("heading", { name: " Revision history" })).toBeVisible();
})

Translated to plain english there is nothing more going on than:

  • open page
  • load file
  • look for "Revision history" to appear.

And the result in the headless browser looks like
integrationtest

So the file seems to have been loaded but no rendering of a revision history nor general information took place.

The behavior in the browser looks correct.

integration2

For now I am at my wit's end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants