Skip to content
Merged

Dev #2152

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
7a6b71d
initial commit
Mar 5, 2026
b04db3e
Dynamic submission id
Mar 6, 2026
e21c930
Merge branch 'dev' into feature/AB#32212-RegressionTestsApprovalFlow
Mar 11, 2026
27fb63f
Merge branch 'dev' into feature/AB#32212-RegressionTestsApprovalFlow
Mar 12, 2026
f25da77
fixing the attachment
Mar 12, 2026
da2d449
Added the setting from maskMoney's library of "allowZero" to the inpu…
DavidBrightBcGov Mar 13, 2026
4c1d89c
fixing copilot reviews
Mar 13, 2026
4376a3d
AB#32338 support pptx attachment text extraction
jacobwillsmith Mar 16, 2026
80137cb
AB#32338 fix pptx extraction nullable warning
jacobwillsmith Mar 16, 2026
c21ab3e
AB#32339 align AI scoring flow and review actions
jacobwillsmith Mar 16, 2026
6d61eea
AB#32339 align AI auth and prompt capture controls
jacobwillsmith Mar 16, 2026
cd96d53
AB#32339 normalize AI prompt posture and guardrails
jacobwillsmith Mar 16, 2026
bc8e3c8
AB#32339 fix prompt capture permission checker wiring
jacobwillsmith Mar 16, 2026
4140b12
AB#32338 simplify bounded pdf and docx extraction loops
jacobwillsmith Mar 16, 2026
02bf6af
AB#32339 fix assessment scores widget test wiring
jacobwillsmith Mar 16, 2026
ab1ff1f
AB#32339 simplify AI gate flags on grant details page
jacobwillsmith Mar 16, 2026
40513d1
feature/AB#28656-ProjectDates
JamesPasta Mar 16, 2026
83fd4d6
AB#32339 simplify review list button group arrays
jacobwillsmith Mar 16, 2026
74a15e8
Merge pull request #2131 from bcgov/feature/AB#32338-pptx-attachment-…
JamesPasta Mar 16, 2026
6ae69cd
Merge pull request #2130 from bcgov/feature/AB#32339-align-ai-scoring…
JamesPasta Mar 16, 2026
7049f22
Merge pull request #2132 from bcgov/feature/AB#28656-ProjectDates
JamesPasta Mar 16, 2026
e6564df
feature/AB#28656-ProjectDates-sonar issues
JamesPasta Mar 16, 2026
8bd08d1
Merge pull request #2133 from bcgov/feature/AB#28656-ProjectDates
JamesPasta Mar 16, 2026
2d586c6
feature/AB#32037-AddInAgents
JamesPasta Mar 16, 2026
4ed340e
Merge pull request #2134 from bcgov/feature/AB#32037-AddInAgents
JamesPasta Mar 16, 2026
18a29ff
AB#32006 Add generic AI retry and output shape validation
jacobwillsmith Mar 16, 2026
4a843e0
AB#32006 Fix scoresheet retry validation for section object payload s…
jacobwillsmith Mar 7, 2026
82e3d83
AB#32006 Address Sonar loop/value and HashSet parameter suggestions
jacobwillsmith Mar 7, 2026
ee8db04
AB#32006 Refactor scoresheet value-kind validation to LINQ predicate
jacobwillsmith Mar 7, 2026
7705947
AB#32006 extract AI response validation helpers
jacobwillsmith Mar 16, 2026
19e1be9
AB#32006 remove unused validator import
jacobwillsmith Mar 12, 2026
3a6a750
AB#32006 refactor AI retry flow to typed outcomes
jacobwillsmith Mar 16, 2026
33c666b
AB#32006 make AI token limit parameter configurable
jacobwillsmith Mar 16, 2026
6198c05
AB#32006 capture AI provider responses and operation defaults
jacobwillsmith Mar 16, 2026
fa997fc
AB#32006 standardize reviewer-facing AI prompt wording
jacobwillsmith Mar 16, 2026
ad3176d
AB#32006 simplify prompt capture output and legacy config fallback
jacobwillsmith Mar 17, 2026
b96eab7
AB#32006 tighten prompt capture output formatting
jacobwillsmith Mar 17, 2026
c40f727
AB#32006 update development AI config template
jacobwillsmith Mar 17, 2026
a115502
AB#32006 clean up AI profile and URL resolution
jacobwillsmith Mar 17, 2026
d0e30a4
AB#32006 finalize AI config and reviewer prompt rules
jacobwillsmith Mar 17, 2026
b34ea96
AB#31482: Merge Duplicate Applicants Initial Draft
aurelio-aot Mar 17, 2026
00eee63
AB#31482: Flag IsDuplicated Applicant in Merge Modal Dialog Box
aurelio-aot Mar 17, 2026
ca4ac8f
Merge pull request #2121 from bcgov/feature/AB#32006-AIRetryAndOutput…
JamesPasta Mar 17, 2026
ed57e81
AB#31482: Summary Badge for Not/Partial/100% Matched Names
aurelio-aot Mar 17, 2026
34cd8ef
AB#31482: Fix sonarqube issue
aurelio-aot Mar 17, 2026
b089922
AB#29602
DavidBrightBcGov Mar 17, 2026
c801c39
Merge pull request #2140 from bcgov/bugfix/AB#32103-cannot-set-approv…
DavidBrightBcGov Mar 17, 2026
39b74c0
AB#31482: Fix sonarqube issues
aurelio-aot Mar 17, 2026
165a67f
AB#29602
DavidBrightBcGov Mar 17, 2026
6bf13fd
Merge pull request #2141 from bcgov/bugfix/AB#29602-currency-formatti…
DavidBrightBcGov Mar 17, 2026
32b1247
feature/AB#32325-BackgroundJobAuditing
JamesPasta Mar 18, 2026
724621c
Merge pull request #2138 from bcgov/feature/AB#31482-Applicant-Dedupl…
JamesPasta Mar 18, 2026
6f2bacb
AB#29259
DavidBrightBcGov Mar 18, 2026
265e171
Merge branch 'dev' into feature/AB#32212-RegressionTestsApprovalFlow
Mar 18, 2026
dccef3d
fixing the bugs
Mar 18, 2026
211f317
feature/AB#32325-BackgroundJobAuditing
JamesPasta Mar 18, 2026
a053ada
AB#29259
DavidBrightBcGov Mar 18, 2026
f25015a
comment details
Mar 18, 2026
d2e7089
Merge pull request #2142 from bcgov/feature/AB#32325-AddInBacgroundJo…
JamesPasta Mar 18, 2026
eee5b4b
Merge branch 'dev' into bugfix/AB#29259-declining-requiring-amount
DavidBrightBcGov Mar 18, 2026
ef21219
feature/AB#32325-BackgroundJobAuditing-Sonar
JamesPasta Mar 18, 2026
3fbd725
Merge pull request #2144 from bcgov/feature/AB#32325-AddInBacgroundJo…
JamesPasta Mar 18, 2026
54eabfa
feature/AB#32325-BackgroundJobAuditing-FixUsers
JamesPasta Mar 19, 2026
22cd108
Merge pull request #2146 from bcgov/feature/AB#32325-AddInBacgroundJo…
JamesPasta Mar 19, 2026
4d40b5a
AB#28800 update payment number mapping
AndreGAot Mar 19, 2026
7e0a1c8
AB#28800 fix unit tests for updated mapping
AndreGAot Mar 19, 2026
fbaeaf4
AB#28800 codeQL suggestion
AndreGAot Mar 19, 2026
709dbd2
Merge pull request #2148 from bcgov/feature/AB#28800-portal-payments
AndreGAot Mar 19, 2026
59432a5
Adding conditional for PROD not to run approval flow
Mar 19, 2026
6251996
AB#31482: Make IsDuplicated of Applicant Non-Nullable
aurelio-aot Mar 19, 2026
4b7320a
AB#29602
DavidBrightBcGov Mar 19, 2026
39af4ac
AB#29602
DavidBrightBcGov Mar 19, 2026
4eaa0f0
Reloading value fix to adjust decimal issue
DavidBrightBcGov Mar 19, 2026
46b70a4
feature/AB#32212 - A fix for the CHEFS api call
Stephan-McColm Mar 19, 2026
8020bba
Applied sonarqube requirements
DavidBrightBcGov Mar 19, 2026
e472fa5
Merge pull request #2127 from bcgov/feature/AB#32212-RegressionTestsA…
DarylTodosichuk Mar 19, 2026
d3e6972
Merge pull request #2150 from bcgov/bugfix/AB#29602-payment-threshold…
DavidBrightBcGov Mar 20, 2026
ec45f07
AB#24672: Add Email Attachments Initial Draft
aurelio-aot Mar 20, 2026
6f34176
AB#24672: Cleanup code
aurelio-aot Mar 20, 2026
d2a9c7e
feature/AB#32325-BackgroundJobAuditing-FixUsers
JamesPasta Mar 20, 2026
3d2c2dd
Merge pull request #2153 from bcgov/feature/AB#32325-AddInBacgroundJo…
JamesPasta Mar 20, 2026
0d04c1e
AB#24672: Fix sonarqube issues
aurelio-aot Mar 20, 2026
1bd3354
AB#24672: Scrollbar for email attachments table
aurelio-aot Mar 20, 2026
28a1a32
feature/AB#31226-LinkingSearch
JamesPasta Mar 20, 2026
0f5ac53
AB#24672: Potential fix for code scanning alert no. 84: Exposure of …
aurelio-aot Mar 20, 2026
9d2f6e6
AB#24672: Potential fix for code scanning alert no. 85: Exposure of p…
aurelio-aot Mar 20, 2026
91bbbba
AB#30910 dynamic edit dg
AndreGAot Mar 23, 2026
bf26168
AB#30910 update for textarea and static field indicator
AndreGAot Mar 23, 2026
0038934
AB#30910 sonarQ cleanup
AndreGAot Mar 23, 2026
49c00ef
AB#30910 - more sq cleanup
AndreGAot Mar 23, 2026
06eae6d
AB#30910 codeQL feedback
AndreGAot Mar 23, 2026
3812541
AB#30910 sonarqube fix
AndreGAot Mar 24, 2026
f747c34
Merge pull request #2156 from bcgov/feature/AB#31226-LinkingSearch
JamesPasta Mar 24, 2026
dad6211
Merge pull request #2151 from bcgov/feature/AB#24672-add-email-attach…
JamesPasta Mar 24, 2026
727e99d
Merge pull request #2149 from bcgov/feature/AB#31482-Make-IsDuplicate…
JamesPasta Mar 24, 2026
353fbbf
Merge pull request #2143 from bcgov/bugfix/AB#29259-declining-requiri…
JamesPasta Mar 24, 2026
af6be00
AB#30910 sonarQube fix
AndreGAot Mar 24, 2026
7a4e929
AB#31482: Transfer All Submissions to Principal Applicant Upon Merging
aurelio-aot Mar 24, 2026
450c406
Merge pull request #2155 from bcgov/feature/AB#30910-edit-dynamic-dg-…
JamesPasta Mar 24, 2026
52a7980
Merge pull request #2158 from bcgov/feature/AB#31482-Transfer-Submiss…
JamesPasta Mar 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 65 additions & 15 deletions applications/Unity.AutoUI/cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,72 @@
import { defineConfig } from 'cypress';
import { defineConfig } from "cypress";
import FormData from "form-data";
import fs from "fs";
import path from "path";

// https://docs.cypress.io/guides/references/configuration
export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
setupNodeEvents(on) {
on("task", {
async uploadChefsFile({
baseURL,
authToken,
filePath,
}: {
baseURL: string;
authToken: string;
filePath: string;
}) {
const fileBuffer = fs.readFileSync(filePath);
const fileName = path.basename(filePath);

const form = new FormData();
form.append("files", fileBuffer, {
filename: fileName,
contentType: "text/plain",
});

// Use getBuffer() so fetch receives a complete binary buffer
// rather than a piped stream (which causes "Unexpected end of form")
const formBuffer = form.getBuffer();
const formHeaders = form.getHeaders();

const response = await fetch(`${baseURL}/app/api/v1/files`, {
method: "POST",
headers: {
Authorization: `Bearer ${authToken}`,
...formHeaders,
},
body: formBuffer as unknown as BodyInit,
});

if (!response.ok) {
throw new Error(
`File upload failed: ${response.status} ${await response.text()}`,
);
}

return response.json();
},
});
},
baseUrl: 'https://developer.gov.bc.ca/',
specPattern: [
"cypress/e2e/**/*.cy.{js,jsx,ts,tsx}",
"cypress/scripts/**/*.cy.{js,jsx,ts,tsx}",
"cypress/regression/**/*.cy.{js,jsx,ts,tsx}",
],
baseUrl: "https://dev-unity.apps.silver.devops.gov.bc.ca/",
defaultCommandTimeout: 20000, // Time, in milliseconds, to wait until most DOM based commands are considered timed out.
viewportWidth: 1440, // Default width in pixels.
viewportHeight: 900, // Default height in pixels.
viewportWidth: 1440, // Default width in pixels.
viewportHeight: 900, // Default height in pixels.
chromeWebSecurity: false, // Chromium-based browser's Web Security for same-origin policy and insecure mixed content.
testIsolation: false, // Set true to ensure a clean browser context between test cases.
retries: // The number of times to retry a failing test.
{
"runMode": 3,
"openMode": 0
},
testIsolation: false, // Set true to ensure a clean browser context between test cases.
// The number of times to retry a failing test.
retries: {
runMode: 3,
openMode: 0,
},
experimentalMemoryManagement: true,
numTestsKeptInMemory: 3
}
});
numTestsKeptInMemory: 3,
},
});
15 changes: 9 additions & 6 deletions applications/Unity.AutoUI/cypress/e2e/basicEmail.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,20 +306,23 @@ describe("Send an email", () => {
});

it("Select Email Template", () => {
cy.intercept("GET", "/api/app/template/*/template-by-id").as(
"loadTemplate",
);

cy.get("#template", { timeout: STANDARD_TIMEOUT })
.should("exist")
.should("be.visible")
.select(TEMPLATE_NAME);

cy.wait("@loadTemplate", { timeout: STANDARD_TIMEOUT });

cy.get("#template")
.find("option:selected")
.should("have.text", TEMPLATE_NAME);

// #EmailBody is a hidden textarea backing the rich-text editor.
// Template selection populates the visible RTE but does not auto-sync
// the backing field — trigger the change manually if still empty.
cy.get("#EmailBody", { timeout: STANDARD_TIMEOUT }).then(($el) => {
if (($el.val() as string).trim() === "") {
cy.wrap($el).invoke("val", "Test email body").trigger("change");
}
});
});

it("Set Email To address", () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Maple Ridge Community Resource Development Initiative
Test Attachment - Automated Regression Submission
Generated by Cypress automation script.
Loading
Loading