Refactor BrickEditFormulaTest.testClickOnBrickItemEditFormula