test(AboutPage, ConfirmDialog, MapPage): update tests for improved component behavior and UI consistency

This commit is contained in:
2026-01-04 00:07:21 -06:00
parent c7c70a5868
commit 5a995c7304
3 changed files with 22 additions and 9 deletions

View File

@@ -95,12 +95,9 @@ describe("ConfirmDialog.vue", () => {
await wrapper.vm.$nextTick();
const backdrop = wrapper.findAll(".fixed").find((el) => {
const classes = el.classes();
return classes.includes("inset-0") && !classes.includes("z-[200]");
});
const backdrop = wrapper.find(".backdrop-blur-sm");
if (backdrop && backdrop.exists()) {
if (backdrop.exists()) {
await backdrop.trigger("click");
await wrapper.vm.$nextTick();
expect(resolvePromise).toHaveBeenCalledWith(false);