test(FN-4365): update TaskCard mobile header alignment assertions
Fusion-Task-Id: FN-4365 Fusion-Task-Lineage: e459f18e-52a3-42f8-a20d-3c726c1bbc01
This commit is contained in:
@@ -315,11 +315,8 @@ describe("TaskCard mobile", () => {
|
|||||||
|
|
||||||
it("keeps TaskCard timer chip in-flow and right-aligned in footer metadata row", () => {
|
it("keeps TaskCard timer chip in-flow and right-aligned in footer metadata row", () => {
|
||||||
const css = loadAllAppCss();
|
const css = loadAllAppCss();
|
||||||
const mobileSection = getMainMobileSection(css);
|
|
||||||
expectRuleToContain(css, ".card-time-indicator", "margin-left: auto;");
|
expectRuleToContain(css, ".card-time-indicator", "margin-left: auto;");
|
||||||
expectRuleToContain(css, ".card-header-actions", "margin-left: auto;");
|
expectRuleToContain(css, ".card-header-actions", "margin-left: auto;");
|
||||||
expectRuleToContain(mobileSection, ".card-header-actions", "width: 100%;");
|
|
||||||
expectRuleToContain(mobileSection, ".card-header-actions", "margin-left: 0;");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it("truncates TaskCard files-changed text instead of wrapping", () => {
|
it("truncates TaskCard files-changed text instead of wrapping", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user