Commits

zurmo  committed 88452bf

Fixes for Notes/CreateCustomAttributte functional tests

  • Participants
  • Parent commits 8816325
  • Branches stabilizingselenium

Comments (0)

Files changed (14)

File app/protected/modules/designer/tests/functional/cases/CreateCurrencyAttribute.html

     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-cur${randomSuffix}Cstm</td>
     <td></td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateDateAttribute.html

     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-dfld${randomSuffix}Cstm</td>
     <td></td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateDateTimeAttribute.html

     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-tfld${randomSuffix}Cstm</td>
     <td></td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateDecimalAttribute.html

     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-dec${randomSuffix}Cstm</td>
     <td></td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateDropDownAttribute.html

     <td>DropDownAttributeForm_isAudited</td>
     <td>on</td>
 </tr>
+<!--tr>
+  <td>setSpeed</td>
+  <td>3000</td>
+  <td></td>
+</tr-->
 <tr>
     <td>clickAndWait</td>
     <td>save</td>
     <td>Create Field:</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div/h1</td>
     <td>Create Field</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1</td>
     <td>Accounts: Custom Fields</td>
 </tr>
     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-ddwn${randomSuffix}Cstm</td>
     <td></td>
 </tr>
+<!--tr>
+  <td>setSpeed</td>
+  <td>1</td>
+  <td></td>
+</tr-->
 <tr>
     <td>waitForPageToLoad</td>
     <td></td>
     <td>Edit Field:</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1</td>
     <td>Accounts: Custom Fields</td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateIntegerAttribute.html

     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-int${randomSuffix}Cstm</td>
     <td></td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateMultiSelectDropDownAttribute.html

     <td>MultiSelectDropDownAttributeForm_isAudited</td>
     <td>on</td>
 </tr>
+<!--tr>
+  <td>setSpeed</td>
+  <td>3000</td>
+  <td></td>
+</tr-->
 <tr>
     <td>clickAndWait</td>
     <td>save</td>
     <td>Create Field:</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div/h1</td>
     <td>Create Field</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1</td>
     <td>Accounts: Custom Fields</td>
 </tr>
     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-mdd${randomSuffix}Cstm</td>
     <td></td>
 </tr>
+<!--tr>
+  <td>setSpeed</td>
+  <td>1</td>
+  <td></td>
+</tr-->
 <tr>
     <td>waitForPageToLoad</td>
     <td></td>
     <td>Edit Field:</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1</td>
     <td>Accounts: Custom Fields</td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreatePhoneAttribute.html

     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-phn${randomSuffix}Cstm</td>
     <td></td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateRadioDropDownAttribute.html

     <td>RadioDropDownAttributeForm_isAudited</td>
     <td>on</td>
 </tr>
+<!--tr>
+  <td>setSpeed</td>
+  <td>3000</td>
+  <td></td>
+</tr-->
 <tr>
     <td>clickAndWait</td>
     <td>save</td>
     <td>Create Field:</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div/h1</td>
     <td>Create Field</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1</td>
     <td>Accounts: Custom Fields</td>
 </tr>
     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-rad${randomSuffix}Cstm</td>
     <td></td>
 </tr>
+<!--tr>
+  <td>setSpeed</td>
+  <td>1</td>
+  <td></td>
+</tr-->
 <tr>
     <td>waitForPageToLoad</td>
     <td></td>
     <td>Edit Field:</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1</td>
     <td>Accounts: Custom Fields</td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateTagCloudAttribute.html

     <td>TagCloudAttributeForm_isAudited</td>
     <td>on</td>
 </tr>
+<!--tr>
+  <td>setSpeed</td>
+  <td>3000</td>
+  <td></td>
+</tr-->
 <tr>
     <td>clickAndWait</td>
     <td>save</td>
     <td>Create Field:</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div/h1</td>
     <td>Create Field</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1</td>
     <td>Accounts: Custom Fields</td>
 </tr>
     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-tag${randomSuffix}Cstm</td>
     <td></td>
-</tr>
+</tr>
+<!--tr>
+  <td>setSpeed</td>
+  <td>1</td>
+  <td></td>
+</tr-->
 <tr>
     <td>waitForPageToLoad</td>
     <td></td>
     <td>Edit Field:</td>
 </tr>
 <tr>
-    <td>assertText</td>
+    <td>waitForText</td>
     <td>//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1</td>
     <td>Accounts: Custom Fields</td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateTextAreaAttribute.html

     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-txta${randomSuffix}Cstm</td>
     <td></td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateTextAttribute.html

     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-txt${randomSuffix}Cstm</td>
     <td></td>
 </tr>

File app/protected/modules/designer/tests/functional/cases/CreateUrlAttribute.html

     <td></td>
 </tr>
 <tr>
-    <td>click</td>
+    <td>clickAndWait</td>
     <td>id=edit-link-url${randomSuffix}Cstm</td>
     <td></td>
 </tr>

File app/protected/modules/notes/tests/functional/cases/CreateNotesWIthAttachmentForAccounts.html

   <td>30000</td>
 </tr>
 <tr>
-  <td>waitForCondition</td>
-  <td>selenium.browserbot.getCurrentWindow().jQuery.active == 0</td>
-  <td>30000</td>
-</tr>
-<tr>
     <td>waitForText</td>
     <td>//div[@id='list-viewAccountLatestActivtiesForPortletView']/table/tbody/tr/td/div/span[3]/ul/li/a</td>
     <td>testNotes.txt</td>