We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 161d45d commit 672c500Copy full SHA for 672c500
1 file changed
src/org/labkey/test/tests/UserTest.java
@@ -274,9 +274,14 @@ public void testCustomFieldLogin()
274
log("Adding the custom field to core.Users");
275
DomainDesignerPage domainDesignerPage = new DomainDesignerPage(getDriver());
276
DomainFormPanel domainFormPanel = domainDesignerPage.fieldsPanel();
277
- domainFormPanel.addField("UID")
278
- .setType(FieldDefinition.ColumnType.String);
279
- domainDesignerPage.clickSave();
+ if (!domainFormPanel.fieldNames().contains("UID"))
+ {
+ domainFormPanel.addField("UID")
280
+ .setType(FieldDefinition.ColumnType.String);
281
+ domainDesignerPage.clickSave();
282
+ }
283
+ else
284
+ domainDesignerPage.clickCancel();
285
286
log("Adding value to the custom field");
287
navigateToUserDetails(NORMAL_USER);
0 commit comments