From 7dcefccaa6552d768d8c8f43c890dc40fa78edef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Fern=C3=A1ndez=20de=20la=20Cigo=C3=B1a=20N=C3=B3vo?= =?UTF-8?q?a?= Date: Thu, 8 Sep 2011 13:32:00 +0200 Subject: [PATCH] Include a new function on common_functions.sah FEA: ItEr75S24ResourcesTests --- scripts/functional-tests/common_functions.sah | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/functional-tests/common_functions.sah b/scripts/functional-tests/common_functions.sah index 6fce01d6b..08e84def4 100644 --- a/scripts/functional-tests/common_functions.sah +++ b/scripts/functional-tests/common_functions.sah @@ -176,6 +176,11 @@ _assertExists(_div("The init date cannot be empty")); _assert(_isVisible(_div("The init date cannot be empty"))); } +function commonResourceTryDeleteAssignedValidation(){ + _assertExists(_span("This worker cannot be deleted because it has assignments to projects or imputed hours")); + _assert(_isVisible(_span("This worker cannot be deleted because it has assignments to projects or imputed hours"))); +} + /* * Common functions for Workers */