Skip to content

Editable Grid Issues Needs Automation#2548

Merged
labkey-tchad merged 25 commits intodevelopfrom
fb_editableGridNeedsAutomation
Jul 11, 2025
Merged

Editable Grid Issues Needs Automation#2548
labkey-tchad merged 25 commits intodevelopfrom
fb_editableGridNeedsAutomation

Conversation

@labkey-tchad
Copy link
Member

@labkey-tchad labkey-tchad commented Jul 9, 2025

Rationale

[Story]

These are some minor test library improvements that facilitated the new editable grid tests.

Related Pull Requests

Changes

  • Update FilterGridModal to accept FieldKey/FieldInfo
  • Add Contract hints to DeferredErrorCollector

…dsAutomation

# Conflicts:
#	src/org/labkey/test/BaseWebDriverTest.java
#	src/org/labkey/test/components/ui/grids/FieldReferenceManager.java
#	src/org/labkey/test/tests/SampleTypeNameExpressionTest.java
#	src/org/labkey/test/util/data/TestDataUtils.java

log("Use a name expression using a field from the named parent, with parent type not encoded.");
nameExpressionBad = String.format("SNP_${genId}_${%s/$s}_${materialInputs/%s/%s}", parentAlias, PARENT_FIELD_CURLY_RIGHT_INT.getExpName(), PARENT_SAMPLE_TYPE, PARENT_FIELD_CURLY_LEFT.getName());
nameExpressionBad = String.format("SNP_${genId}_${%s/%s}_${materialInputs/%s/%s}", parentAlias, PARENT_FIELD_CURLY_RIGHT_INT.getExpName(), PARENT_SAMPLE_TYPE, PARENT_FIELD_CURLY_LEFT.getName());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bugs me, I should have caught this when I was in this code last week. The linter was clearly calling this out but I overlooked it.

@labkey-tchad labkey-tchad merged commit bd3461c into develop Jul 11, 2025
6 checks passed
@labkey-tchad labkey-tchad deleted the fb_editableGridNeedsAutomation branch July 11, 2025 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants