Skip to content

PSP-10923: Adding index to elements, refining automated test cases#5255

Merged
asanchezr merged 12 commits intobcgov:devfrom
stairaku:playwright-branch
Mar 23, 2026
Merged

PSP-10923: Adding index to elements, refining automated test cases#5255
asanchezr merged 12 commits intobcgov:devfrom
stairaku:playwright-branch

Conversation

@stairaku
Copy link
Copy Markdown
Collaborator

No description provided.

@stairaku stairaku self-assigned this Mar 18, 2026
@stairaku stairaku added the test-scripts Tag used for functional test scripts label Mar 18, 2026
Copy link
Copy Markdown

@github-advanced-security github-advanced-security AI left a comment

Choose a reason for hiding this comment

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

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@github-actions
Copy link
Copy Markdown
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5255

Copy link
Copy Markdown
Collaborator

@asanchezr asanchezr left a comment

Choose a reason for hiding this comment

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

Looks good! Only one minor comment

export const PropertyImprovementDetails: React.FunctionComponent<
IPropertyImprovementDetailsProps
> = ({ propertyImprovement }) => {
> = ({ propertyImprovement, propertyImprovementIndex }) => {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Since the propertyImprovementIndex property is marked as nullable, we would need to provide a default value in case we get null/undefined here. This is needed because the value is used in the valueTestId strings below...

Something like:

Suggested change
> = ({ propertyImprovement, propertyImprovementIndex }) => {
> = ({ propertyImprovement, propertyImprovementIndex = 0}) => {

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@github-actions
Copy link
Copy Markdown
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5255

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5255

@asanchezr asanchezr added this pull request to the merge queue Mar 23, 2026
Merged via the queue into bcgov:dev with commit a75dde6 Mar 23, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test-scripts Tag used for functional test scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants