Skip to content

Fix for testStudyProtocolDesigner()#7871

Open
DariaBod wants to merge 6 commits into
developfrom
fb_fixForStudyProtocolDesignerTest
Open

Fix for testStudyProtocolDesigner()#7871
DariaBod wants to merge 6 commits into
developfrom
fb_fixForStudyProtocolDesignerTest

Conversation

@DariaBod

@DariaBod DariaBod commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Rationale

I added tricky characters to visit labels, but it broke this test. Reverted my changes and removed some hardcoded values.

Related Pull Requests

Changes

@DariaBod
DariaBod requested a review from labkey-tchad July 22, 2026 21:20
Comment on lines +99 to +100
new BaseManageVaccineDesignVisitPage.Visit(TestDataGenerator.randomName("NewVisit1", 3, 3, TRICKY_CHARACTERS, "\\").name(), 6.0, 7.0),
new BaseManageVaccineDesignVisitPage.Visit(TestDataGenerator.randomName("NewVisit2", 3, 3, TRICKY_CHARACTERS, "\\").name(), 8.0, 8.0)

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.

Any characters excluded from fuzzing should include an explanation in the code.
That being said, I ran this locally with a backslash intentionally added and it seems like there's a product defect. When we hit something like this in the tests, we should open an issue; that's the whole point of adding this fuzzing coverage.
Also, we should fuzz with TestDataGenerator.CHARSET_STRING. It contains a wider variety of characters that might cause problems.

@DariaBod
DariaBod requested a review from labkey-tchad July 24, 2026 18:55
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