fix: resolve redundant success messages and next/server resolution errors in tests
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 4s
Build & Deploy / 🧪 QA (push) Successful in 2m2s
Build & Deploy / 🏗️ Build (push) Failing after 25s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 4s
Build & Deploy / 🧪 QA (push) Successful in 2m2s
Build & Deploy / 🏗️ Build (push) Failing after 25s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -96,11 +96,11 @@ describe("Contact Page", () => {
|
||||
);
|
||||
|
||||
expect(
|
||||
await screen.findByText(/Anfrage erfolgreich übermittelt/i),
|
||||
).toBeInTheDocument();
|
||||
(await screen.findAllByText(/Anfrage erfolgreich übermittelt/i)).length,
|
||||
).toBeGreaterThanOrEqual(1);
|
||||
expect(
|
||||
await screen.findByText(/Ihr Anliegen wurde erfasst/i),
|
||||
).toBeInTheDocument();
|
||||
(await screen.findAllByText(/Ihr Anliegen wurde erfasst/i)).length,
|
||||
).toBeGreaterThanOrEqual(1);
|
||||
});
|
||||
|
||||
it("handles submission errors", async () => {
|
||||
|
||||
Reference in New Issue
Block a user