FN-6099: fix mobile workflow selector CSS contract
Update the WorkflowNodeEditor CSS contract test to match the standalone mobile panel override selector. - narrow the mobile selector contract assertion to the select and manage controls - stop expecting the collapsed button in the standalone override rule Files changed: packages/dashboard/app/components/__tests__/WorkflowNodeEditor.css.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Fusion-Task-Id: FN-6099 Fusion-Task-Lineage: 0e698ef2-c532-4a7d-9450-17b04f93be37
This commit is contained in:
@@ -244,7 +244,7 @@ describe("WorkflowNodeEditor mobile CSS contract", () => {
|
||||
|
||||
const manageRule = findRule(
|
||||
selectorMobile,
|
||||
/\.workflow-selector select,\s*\.workflow-selector-manage,\s*\.workflow-selector-collapsed-button\s*\{[^}]*\}/,
|
||||
/\.workflow-selector select,\s*\.workflow-selector-manage\s*\{[^}]*\}/,
|
||||
);
|
||||
expect(manageRule).toMatch(/width\s*:\s*100%\s*;/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user