fix: improve lead detail dialog hierarchy
This commit is contained in:
1 parent
67edbe2077
commit
021045e285
3 files changed
+51
-13
No files matched your search
@@ -8,4 +8,15 @@ describe("LeadsPage initial loading", () => {
|
||||
|
||||
expect(source).toMatch(/onMounted\(load\)/);
|
||||
});
|
||||
|
||||
it("keeps the grouped lead detail layout hooks", async () => {
|
||||
const source = await readFile(fileURLToPath(new URL("./LeadsPage.vue", import.meta.url)), "utf8");
|
||||
|
||||
expect(source).toContain('class="lead-detail-card"');
|
||||
expect(source).toContain('class="lead-detail-item"');
|
||||
expect(source).toContain('class="lead-detail-section-title"');
|
||||
expect(source).toContain('class="lead-detail-section lead-detail-note"');
|
||||
expect(source.match(/class="lead-detail-item"/g)).toHaveLength(6);
|
||||
expect(source).toContain("v-permission=\"'admin:leads:update'\"");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user