Skip to content

19.3 fb issue38940 - #159

Merged
labkey-chrisj merged 5 commits into
release19.3-SNAPSHOTfrom
19.3_fb_issue38940
Nov 14, 2019
Merged

19.3 fb issue38940#159
labkey-chrisj merged 5 commits into
release19.3-SNAPSHOTfrom
19.3_fb_issue38940

Conversation

@labkey-chrisj

Copy link
Copy Markdown
Contributor

restores field-level error and warning validation test coverage in Domain Designer.
adds synchronizing wait-for-error/warning methods to domainFieldRow

@labkey-chrisj
labkey-chrisj changed the base branch from develop to release19.3-SNAPSHOT November 12, 2019 21:33

@labkey-tchad labkey-tchad left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In addition to the specific feedback, these tests should be renamed or broken up such that they test what they claim to be testing.
One method is testing blank field names, then we piggy-back a check for discouraged field names.
Another method is testing reserved names, then tacks on a check for duplicate field names as well as another check for discouraged field names.

Comment thread src/org/labkey/test/tests/DomainDesignerTest.java Outdated
Comment thread src/org/labkey/test/components/domain/DomainFieldRow.java Outdated
Comment thread src/org/labkey/test/components/domain/DomainFieldRow.java Outdated
Comment thread src/org/labkey/test/tests/DomainDesignerTest.java Outdated
Comment thread src/org/labkey/test/tests/DomainDesignerTest.java
Comment thread src/org/labkey/test/tests/DomainDesignerTest.java
Comment thread src/org/labkey/test/tests/DomainDesignerTest.java
@labkey-chrisj

Copy link
Copy Markdown
Contributor Author

Need clarity on why this is being held up

@labkey-tchad labkey-tchad left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry about the holdup. Looks good.

@labkey-chrisj
labkey-chrisj merged commit 6a1f6c6 into release19.3-SNAPSHOT Nov 14, 2019
@labkey-chrisj
labkey-chrisj deleted the 19.3_fb_issue38940 branch November 14, 2019 19:31
cnathe added a commit that referenced this pull request Jul 31, 2026
…ontainer's @scripts dir (#3133)

## Rationale
LabKey/internal-issues#159

Assay transform scripts configured through the designer must now live in
the design's own container `@scripts` directory (writable only by
platform developers), enforced by a new validateScriptLocation() in the
save path, with a site-wide deprecated feature flag as an escape hatch
and a usage metric approximating how many existing designs are
non-compliant. The Selenium page object switches the default
addTransformScript(File) to file-upload mode, deleting any same-named
leftover from `@scripts` first.

## Related Pull Requests
- LabKey/platform#7895
- #3133
- LabKey/limsModules#2369

## Changes
- Selenium test updates to use file upload for addTransformScript
- addTransformScript to check for and remove file from `@scripts` if it
already exists
labkey-tchad pushed a commit that referenced this pull request Jul 31, 2026
…ontainer's @scripts dir (#3133)

## Rationale
LabKey/internal-issues#159

Assay transform scripts configured through the designer must now live in
the design's own container `@scripts` directory (writable only by
platform developers), enforced by a new validateScriptLocation() in the
save path, with a site-wide deprecated feature flag as an escape hatch
and a usage metric approximating how many existing designs are
non-compliant. The Selenium page object switches the default
addTransformScript(File) to file-upload mode, deleting any same-named
leftover from `@scripts` first.

## Related Pull Requests
- LabKey/platform#7895
- #3133
- LabKey/limsModules#2369

## Changes
- Selenium test updates to use file upload for addTransformScript
- addTransformScript to check for and remove file from `@scripts` if it
already exists
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