Skip to content
Merged

Test #2402

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
797a9f3
feature/AB#32632-Worksheets
JamesPasta Apr 14, 2026
48fc2a8
feature/AB#32632-Worksheets dont allow edit on archived
JamesPasta Apr 14, 2026
1420ca4
feature/AB#32632-Worksheets sonar and placeholder
JamesPasta Apr 14, 2026
08f4b50
feature/AB#32632-Worksheets don't allow drag for archived
JamesPasta Apr 15, 2026
243665d
feature/AB#32632-Worksheets add placeholder move buttons
JamesPasta Apr 15, 2026
afa5b82
feature/AB#32632-Worksheets add delete to the unarchive
JamesPasta Apr 15, 2026
a2c3c7c
feature/AB#32632-Worksheets hooked into sonar cloud
JamesPasta Apr 15, 2026
583d2fe
feature/AB#32632-Worksheets hooked into sonar cloud
JamesPasta Apr 15, 2026
b3d2498
feature/AB#32632-Worksheets show message for no worksheets
JamesPasta Apr 15, 2026
7bb50ce
feature/AB#32632-Worksheets hooked into sonar cloud
JamesPasta Apr 16, 2026
d57c0c8
AB#32694 update applicant profile contact handling
AndreGAot Apr 17, 2026
44c3f26
Merge branch 'dev' into feature/AB#32694-applicant-profile-portal-con…
AndreGAot Apr 17, 2026
326d078
feature/AB#32634-Enhance email scheduling
JamesPasta Apr 17, 2026
61620d0
Merge branch 'dev' into feature/AB#32694-applicant-profile-portal-con…
AndreGAot Apr 17, 2026
838a544
AB#32704 - Fixed Scoring Generate button.
hasanpour Apr 18, 2026
f3eb53d
AB#32704 - Added spinner
hasanpour Apr 18, 2026
01321bc
[AB#31682] Adjust minimum height for DataTable scroll body
plavoie-BC Apr 20, 2026
dce545b
AB#31194 improvements and bugfixes for reporting configuration
AndreGAot Apr 20, 2026
333172f
AB#32705 - Removed dead AI queue methods and background jobs.
hasanpour Apr 20, 2026
85c299b
AB#31194 copilot feedback
AndreGAot Apr 20, 2026
6d5ecf3
Merge pull request #2321 from bcgov/feature/AB#31194-worksheets-dynam…
AndreGAot Apr 20, 2026
f644f3f
Merge branch 'dev' into feature/AB#32694-applicant-profile-portal-con…
AndreGAot Apr 20, 2026
c70ddb1
AB#32709: Bugfix - Download All Is Not Working
aurelio-aot Apr 20, 2026
9ec452f
Merge pull request #2322 from bcgov/bugfix/AB#32709-Download-All-Not-…
AndreGAot Apr 20, 2026
a8abfb6
AB#32301 - Fixed auth error in AI pipeline job via ForPipeline intern…
hasanpour Apr 20, 2026
cefdcf4
AB#32583 refine chefs toolbar layout
jacobwillsmith Apr 21, 2026
b79ed0a
AB#32583 keep chefs toolbar on one line
jacobwillsmith Apr 21, 2026
8addd74
AB#32299 use standard OpenAI env var keys
jacobwillsmith Apr 21, 2026
ccb8689
AB#32465 simplify OpenAI config resolution
jacobwillsmith Apr 21, 2026
5fe35ad
AB#32613 missing sonar.projectVersion
DarylTodosichuk Apr 22, 2026
9fa324b
Merge pull request #2327 from bcgov/feature/AB#32613-sonarcloud-githu…
DarylTodosichuk Apr 22, 2026
add43b9
Merge pull request #2326 from bcgov/feature/AB#32299-split-openaiserv…
JamesPasta Apr 22, 2026
4821740
Merge pull request #2325 from bcgov/bugfix/AB#32583-chefs-double-line…
JamesPasta Apr 22, 2026
a87d08c
Merge pull request #2324 from bcgov/bugfix/AB#32704-Manual-Generate-S…
JamesPasta Apr 22, 2026
8ab638f
Merge pull request #2320 from bcgov/bugfix/AB#31682-table-whitespace
JamesPasta Apr 22, 2026
9eefd78
Merge pull request #2331 from bcgov/dev
JamesPasta Apr 22, 2026
f2ac90d
Rebuild of branch changes from previous PR
DavidBrightBcGov Apr 22, 2026
7b62d06
Merge branch 'dev' into feature/AB#28192-tenant-configuration-managem…
DavidBrightBcGov Apr 22, 2026
26df114
Updating so the submitter column is using the 'createdBy' data from C…
DavidBrightBcGov Apr 22, 2026
5e76f9e
Merge pull request #2334 from bcgov/bugfix/AB#32736-reconciliation-su…
DavidBrightBcGov Apr 22, 2026
030dd9f
AB#32465 update OpenAI endpoint config
jacobwillsmith Apr 22, 2026
b6c4692
Max token update
jacobwillsmith Apr 22, 2026
8998f1e
Merge pull request #2335 from bcgov/feature/AB#32465-model-endpoint-c…
JamesPasta Apr 22, 2026
206de93
Merge pull request #2336 from bcgov/dev
JamesPasta Apr 22, 2026
aceee6d
Merge pull request #2333 from bcgov/feature/AB#28192-tenant-configura…
JamesPasta Apr 22, 2026
5c7950b
Implement consistent disabling of save buttons during async save to p…
DavidBrightBcGov Apr 22, 2026
fdec9f7
Merge pull request #2337 from bcgov/feature/AB#30003-Save-Button-Lockout
DavidBrightBcGov Apr 22, 2026
77e148a
AB#32465 update OpenAI endpoint resolution config
jacobwillsmith Apr 23, 2026
0c9a3e3
AB#32694 applicant profile contacts alignment and refactor
AndreGAot Apr 23, 2026
368894c
AB#32694 removed test
AndreGAot Apr 23, 2026
303d465
Merge pull request #2338 from bcgov/feature/AB#32465-model-endpoint-c…
JamesPasta Apr 23, 2026
397f0b6
Merge pull request #2339 from bcgov/dev
JamesPasta Apr 23, 2026
df5b2e7
AB#32694 update permissions
AndreGAot Apr 23, 2026
498ef96
Merge remote-tracking branch 'origin/dev' into feature/AB#32694-appli…
AndreGAot Apr 23, 2026
d214d1c
AB#32694 sonar cleanup
AndreGAot Apr 23, 2026
54fbf1c
AB#32654 Tenant install extension EntityFrameworkCore.Migrations
DarylTodosichuk Apr 23, 2026
adce6bf
Merge pull request #2341 from bcgov/feature/AB#32654-install-FuzzyMat…
DarylTodosichuk Apr 23, 2026
e5e62a1
AB#32451 add AI generation tracking and polling
jacobwillsmith Apr 15, 2026
887fda3
AB#32451 add AI generation polling UI tests
jacobwillsmith Apr 15, 2026
9b3bb39
AB#32451 add AI request polling to generation flows
jacobwillsmith Apr 17, 2026
c16d63e
AB#32451 cover AI queue dedupe paths
jacobwillsmith Apr 17, 2026
a0535dd
AB#32451 fix ai queue status predicate
jacobwillsmith Apr 17, 2026
f112b2f
AB#32451 move AI requests into AI schema
jacobwillsmith Apr 17, 2026
a30df8f
AB#32451 scaffold AI request migration
jacobwillsmith Apr 17, 2026
798cfc9
AB#32451 consolidate AI queue entrypoints
jacobwillsmith Apr 17, 2026
7cf6279
AB#32451 tighten AI generation flow
jacobwillsmith Apr 18, 2026
e33032f
AB#32451 refine ai generation ui
jacobwillsmith Apr 18, 2026
0577082
AB#32451 tighten AI generation flow
jacobwillsmith Apr 18, 2026
4d7edf0
AB#32451 make chefs download all rows
jacobwillsmith Apr 21, 2026
2cf73ba
AB#32451 tighten AI generation flow
jacobwillsmith Apr 22, 2026
0f6feb2
AB#32451 tighten AI generation flow
jacobwillsmith Apr 22, 2026
3fa5552
AB#32451 tighten AI generation flow
jacobwillsmith Apr 22, 2026
efdcf99
AB#32451 restore pipeline job and align queued scoring with dev
jacobwillsmith Apr 22, 2026
8e38bfe
AB#32451 preserve manual scoring AI assessment creation
jacobwillsmith Apr 22, 2026
38473cb
AB#32770: Move Default SiteId from Applicants to Applications - Initi…
aurelio-aot Apr 24, 2026
83bdbbc
AB#32770: Include L3Pending When Getting Pending Payments
aurelio-aot Apr 24, 2026
968492b
AB#32770: Update Unit Test for L3 Pending Payments
aurelio-aot Apr 24, 2026
bdc901a
Merge branch 'feature/AB#32632-WorksheetMergeDev' into feature/AB#326…
JamesPasta Apr 24, 2026
c5cd893
Merge pull request #2343 from bcgov/feature/AB#32632-Worksheets
JamesPasta Apr 24, 2026
fa4985e
AB#32770: Prevent Applicant-Supplier Relationships Confusion By Remov…
aurelio-aot Apr 25, 2026
895f8e6
[AB#32699] Enable ordering for portal status table
plavoie-BC Apr 27, 2026
6c9bd32
[AB#31755] Remove jspdf dependency and related scripts
plavoie-BC Apr 27, 2026
d089704
Merge pull request #2344 from bcgov/bugfix/AB#32699-applicant-portal-…
JamesPasta Apr 27, 2026
dc4f4e8
Merge pull request #2342 from bcgov/feature/AB#32770-Move-DefaultSite…
JamesPasta Apr 27, 2026
26b35bf
[AB#31755] Update npm dependencies
plavoie-BC Apr 27, 2026
815dfef
[AB#31755] Update formiojs and choices.js dependencies
plavoie-BC Apr 27, 2026
0be4479
[AB#31755] Remove html2canvas dependency and scripts
plavoie-BC Apr 27, 2026
4b69f12
[AB#31755] Remove html2canvas from yarn lockfile
plavoie-BC Apr 27, 2026
cff8943
Merge remote-tracking branch 'origin/dev' into feature/AB#31755-npm-u…
plavoie-BC Apr 27, 2026
1e0cbf8
AB#32451 simplify ai polling ui and normalize ai request migration
jacobwillsmith Apr 27, 2026
d54f053
feature/AB#32632-WorksheetMerge
JamesPasta Apr 27, 2026
7eb689e
feature/AB#32632-WorksheetMerge-Duplicates
JamesPasta Apr 27, 2026
2583945
feature/AB#32632-WorksheetMerge-CoPilotSuggestions
JamesPasta Apr 27, 2026
ba8691a
Merge pull request #2345 from bcgov/feature/AB#32632-WorksheetMergeDev
JamesPasta Apr 27, 2026
fa34ade
Merge pull request #2347 from bcgov/feature/AB#31755-npm-updates-jspd…
JamesPasta Apr 27, 2026
5500686
AB#32451 clean up chefs attachments polling helpers
jacobwillsmith Apr 27, 2026
d128c42
feature/AB#32632-WorksheetMerge-CoPilotSuggestions
JamesPasta Apr 27, 2026
f8c3c14
Merge pull request #2348 from bcgov/feature/AB#32632-WorksheetMergeDev
JamesPasta Apr 27, 2026
f8a6b7c
AB#32451 apply Copilot AI queue fixes
jacobwillsmith Apr 27, 2026
aaef5b7
Merge branch 'dev' into feature/AB#32451-ai-generation-polling-dedupe…
jacobwillsmith Apr 27, 2026
2f2433d
AB#32451 fix AI permissions namespace import
jacobwillsmith Apr 27, 2026
397c290
Merge remote-tracking branch 'origin/dev' into feature/AB#32694-appli…
AndreGAot Apr 27, 2026
28c7df8
Merge pull request #2349 from bcgov/dev
JamesPasta Apr 27, 2026
7e520c7
AB#32451 fix AI queue tests for logger and queryable helper
jacobwillsmith Apr 27, 2026
7108393
AB#32694 copilot feedback
AndreGAot Apr 27, 2026
aa7dcd3
Merge pull request #2340 from bcgov/feature/AB#32694-applicant-profil…
AndreGAot Apr 27, 2026
d68bb68
AB#32451 fix Details.cshtml script section merge
jacobwillsmith Apr 27, 2026
5024967
AB#32694 - sonarqube fixes
AndreGAot Apr 27, 2026
ba783b2
Merge pull request #2350 from bcgov/feature/AB#32694-applicant-profil…
AndreGAot Apr 27, 2026
a651b8b
feature/AB#32632-WorksheetMerge-FixdragDropquestionInSections
JamesPasta Apr 28, 2026
1722df2
AB#31305: Supplier Handling on Applicant Merge - Initial Draft
aurelio-aot Apr 28, 2026
bf713fc
Merge branch 'dev' into feature/AB#31305-Supplier-On-Applicant-Merge
aurelio-aot Apr 28, 2026
786feda
AB#31305: Fix sonarqube issues
aurelio-aot Apr 28, 2026
89a1c65
Merge pull request #2351 from bcgov/feature/AB#32632-WorksheetMergeDev
JamesPasta Apr 28, 2026
34299fe
AB#31305: Bugfix: Merging on same applicant, Deleted Supplier Showing
aurelio-aot Apr 28, 2026
ef6c7d3
Merge pull request #2346 from bcgov/feature/AB#32451-ai-generation-po…
JamesPasta Apr 28, 2026
ece924f
feature/AB#32801-Matomo
JamesPasta Apr 28, 2026
c74be0c
Merge pull request #2353 from bcgov/feature/AB#32801-Matomo
JamesPasta Apr 28, 2026
e716d4b
Added pg_stat_statements to both Host and Tenant
DavidBrightBcGov Apr 28, 2026
ab5866b
feature/AB#32801-Matomo-SonarCleanup
JamesPasta Apr 28, 2026
9d1d092
feature/AB#32801-Matomo-SonarCleanup
JamesPasta Apr 28, 2026
fec43a0
AB#32451 fix ExecuteAsync argument name warning
jacobwillsmith Apr 28, 2026
d43394b
Merge pull request #2356 from bcgov/feature/AB#32451-ai-generation-po…
JamesPasta Apr 28, 2026
0d730ae
Merge pull request #2357 from bcgov/feature/AB#32801-Matomo
JamesPasta Apr 28, 2026
aa9891f
Merge pull request #2352 from bcgov/feature/AB#31305-Supplier-On-Appl…
JamesPasta Apr 28, 2026
930d8d8
feature/AB#32801-Matomo-SonarCleanup
JamesPasta Apr 29, 2026
bb8f5f5
Merge pull request #2358 from bcgov/feature/AB#32801-Matomo
JamesPasta Apr 29, 2026
3c5e2f8
Remove drop option for the tenant extension
DavidBrightBcGov Apr 29, 2026
e373d7b
Potential fix for pull request finding
DavidBrightBcGov Apr 29, 2026
8377c89
Merge pull request #2355 from bcgov/feature/#32805-pg-stat-statement-…
DavidBrightBcGov Apr 29, 2026
0a8bb22
Merge branch 'dev' into hotfix/AB#32799-FixCookiesMinimal
JamesPasta Apr 29, 2026
583e177
hotfix/AB#32799-FixCookies
JamesPasta Apr 29, 2026
9ef0fa2
Merge pull request #2362 from bcgov/hotfix/AB#32799-FixCookiesMinimal
JamesPasta Apr 29, 2026
2ad2a35
feature/AB#32815-FixBuildWarnings
JamesPasta Apr 29, 2026
c44627b
Merge pull request #2363 from bcgov/feature/AB#32815-FixBuildWarnings
JamesPasta Apr 29, 2026
9953417
Merge pull request #2354 from bcgov/dev
JamesPasta Apr 29, 2026
53346e5
feature/AB#32815-FixBuildWarnings
JamesPasta Apr 30, 2026
3fe373e
Merge pull request #2367 from bcgov/feature/AB#32815-FixBuildWarnings
JamesPasta Apr 30, 2026
9a2225d
Revert "feature/AB#32815-FixBuildWarnings"
JamesPasta Apr 30, 2026
b4243cb
Merge pull request #2368 from bcgov/revert-2367-feature/AB#32815-FixB…
JamesPasta Apr 30, 2026
327c6da
feature/AB#32815-FixBuildWarnings
JamesPasta Apr 30, 2026
26404da
Merge pull request #2371 from bcgov/feature/AB#32815-FixBuildWarnings
JamesPasta Apr 30, 2026
1c5def2
bugfix/AB#32825-SupplierAddress
JamesPasta Apr 30, 2026
031f9e6
Merge pull request #2372 from bcgov/bugfix/AB#32825-SupplierAddress
JamesPasta Apr 30, 2026
00598c4
feature/AB#32815-FixBuildWarnings
JamesPasta Apr 30, 2026
8cfe9d9
Merge pull request #2373 from bcgov/feature/AB#32815-FixBuildWarnings
JamesPasta Apr 30, 2026
ce00ef0
feature/AB#32815-FixBuildWarnings
JamesPasta Apr 30, 2026
7ff88f7
Merge pull request #2374 from bcgov/dev
JamesPasta Apr 30, 2026
6383df5
feature/AB#32815-FixBuildWarnings
JamesPasta Apr 30, 2026
dca9890
Merge pull request #2375 from bcgov/feature/AB#32815-FixBuildWarnings
JamesPasta Apr 30, 2026
9e68745
AB#32812 - Grouped the AI Analysis features
hasanpour Apr 30, 2026
5c28fbe
AB#32820 - Guarded AI Analysis parent
hasanpour Apr 30, 2026
47d9342
Merge pull request #2376 from bcgov/dev
JamesPasta Apr 30, 2026
a3897e5
AB#32812 - Made Unity.AI.Analysis = true for tenants that currently h…
hasanpour Apr 30, 2026
25e4693
AB#32812 - Added provider name and null check to DB UP script
hasanpour Apr 30, 2026
430166c
bugfix/AB#32214-FixTenantDataTables
JamesPasta Apr 30, 2026
05b3332
Merge pull request #2377 from bcgov/feature/AB#32812-Group-the-AI-ana…
JamesPasta Apr 30, 2026
286e9c8
AB#32302 stream attachment summaries for lower memory
jacobwillsmith Apr 30, 2026
ee56025
AB#32543 integrate AI reporting page
jacobwillsmith Apr 30, 2026
83f276a
Merge pull request #2378 from bcgov/bugfix/AB#32214-FixTenantDataTabl…
JamesPasta May 1, 2026
c2f8b04
bugfix/AB#32214-FixTenantDataTables-Sonar
JamesPasta May 1, 2026
2cb59ba
bugfix/AB#32214-FixTenantDataTables-Sonar
JamesPasta May 1, 2026
610655b
Merge pull request #2380 from bcgov/bugfix/AB#32214-FixTenantDataTabl…
JamesPasta May 1, 2026
77d65d5
Merge pull request #2379 from bcgov/dev
JamesPasta May 1, 2026
0b7a7c6
AB#32452 refine prompt tools layout and access
jacobwillsmith May 1, 2026
774b56e
AB#32543 clean up AI reporting state naming
jacobwillsmith May 1, 2026
79eb45a
AB#32451 no-op branch checkpoint
jacobwillsmith May 1, 2026
33f1778
Revert "AB#32451 fix ExecuteAsync argument name warning"
JamesPasta May 1, 2026
acdaaaf
Merge pull request #2382 from bcgov/revert-2356-feature/AB#32451-ai-g…
JamesPasta May 1, 2026
0ee6cba
bugfix/AB#32451-FixReviewlistJS
JamesPasta May 1, 2026
5fb7473
Merge pull request #2384 from bcgov/feature/AB#32451-ReviewListFix
JamesPasta May 1, 2026
97c75fe
bugfix/AB#32451-FixReviewlistJS
JamesPasta May 1, 2026
750cd70
Merge pull request #2385 from bcgov/feature/AB#32451-ReviewListFix
JamesPasta May 1, 2026
73ea87f
AB#32451 remove stale PDF script references
jacobwillsmith May 1, 2026
7ac6484
Merge pull request #2386 from bcgov/feature/AB#32451-ai-generation-po…
JamesPasta May 1, 2026
35ccdc6
Merge pull request #2387 from bcgov/dev
JamesPasta May 1, 2026
65d53b0
AB#32543 simplify AI reporting page setup
jacobwillsmith May 1, 2026
f417b09
AB#32436: Applicant Profile - Reports History in History Tab
aurelio-aot May 2, 2026
a06d8a5
AB#32436: Fix sonarqube issues
aurelio-aot May 2, 2026
d6e809f
AB#32451 add UOW to AI generation jobs
jacobwillsmith May 5, 2026
7ee8f00
AB#32451 keep AI generation UOW scopes short
jacobwillsmith May 5, 2026
19abbc7
AB#32581: Fix Blocking I/O Calls
aurelio-aot May 5, 2026
6614743
Merge pull request #2392 from bcgov/feature/AB#32451-ai-generation-po…
JamesPasta May 5, 2026
963034c
feature/AB#32839-AddCancelledToInvoiceStatusExclusions
JamesPasta May 5, 2026
5397017
Merge pull request #2395 from bcgov/feature/AB#32839-PaymentCancelled
JamesPasta May 5, 2026
e1ff6b4
Merge pull request #2394 from bcgov/dev
JamesPasta May 5, 2026
bb81f2d
Merge pull request #2389 from bcgov/feature/AB#32436-ApplicantProfile…
JamesPasta May 5, 2026
8c2641f
Merge pull request #2393 from bcgov/bugfix/AB#32581-Use-AwaitAsync-Fo…
JamesPasta May 5, 2026
63e6299
Merge pull request #2396 from bcgov/dev
JamesPasta May 5, 2026
efdc14d
AB#32842: Setup User-Friendly Error Page on UAT and PROD Only
aurelio-aot May 6, 2026
5d182f9
Removed unneeded file
aurelio-aot May 6, 2026
bfbcc11
feat(cypress): improve approval flow test reliability and seeder
May 6, 2026
981acf1
AB#32452 address prompt tools review feedback
jacobwillsmith May 6, 2026
6051a44
AB#32543 address AI reporting review feedback
jacobwillsmith May 6, 2026
7cbaa15
AB#32452 address prompt tools sonar feedback
jacobwillsmith May 6, 2026
e12d3e4
AB#32302 keep attachment streams internal
jacobwillsmith May 6, 2026
c48f7eb
AB#32452 clean up prompt tools rename leftovers
jacobwillsmith May 6, 2026
5c37242
AB#32543 move AI reporting access check to page model
jacobwillsmith May 6, 2026
37ca58e
Merge pull request #2397 from bcgov/bugfix/AB#32842-ErrorPage-for-UAT…
JamesPasta May 6, 2026
f661f27
Merge pull request #2388 from bcgov/feature/AB#32543-integrate-ai-rep…
JamesPasta May 6, 2026
c3d6d93
Merge pull request #2381 from bcgov/feature/AB#32452-ai-dev-panel-ito…
JamesPasta May 6, 2026
52198ce
Merge pull request #2400 from bcgov/dev
JamesPasta May 6, 2026
2219097
AB#32873 - Flatten AI permissions at features level
hasanpour May 6, 2026
c75fc8d
Merge pull request #2398 from bcgov/feature/AB#32302-stream-attachmen…
JamesPasta May 6, 2026
ed4be03
Merge pull request #2401 from bcgov/dev
JamesPasta May 6, 2026
26a7f2b
AB#32873 - Flatten AI permissions at user level.
hasanpour May 6, 2026
4d5c94b
AB#32873 - Host EF migration to clean up DB
hasanpour May 6, 2026
9b03559
Merge pull request #2403 from bcgov/feature/AB#32873-Flatten-AI-Analy…
hasanpour May 6, 2026
09823cf
feature/AB#32874-FixBaseUrl
JamesPasta May 6, 2026
a0f3fff
Merge pull request #2405 from bcgov/feature/AB#32874-FixBaseUrl
JamesPasta May 6, 2026
e577259
Merge pull request #2404 from bcgov/dev
JamesPasta May 6, 2026
23a56fe
feature/AB#32874-FixBaseUrl
JamesPasta May 6, 2026
6f42601
Merge pull request #2407 from bcgov/feature/AB#32874-FixBaseUrl
JamesPasta May 6, 2026
6a84003
Merge pull request #2408 from bcgov/dev
JamesPasta May 6, 2026
4208a74
fixed few issues
May 6, 2026
1e14529
Merge pull request #2411 from bcgov/feature/AB#32508_approval_flow_cy…
velang01 May 6, 2026
53ae2fc
Merge pull request #2412 from bcgov/dev
JamesPasta May 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 13 additions & 4 deletions .github/workflows/sonarsource-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,15 @@ jobs:
run: |
VERSION="${{ vars.UGM_BUILD_VERSION }}"
echo "Debug: UGM_BUILD_VERSION variable value: '$VERSION'"
if [ -z "$VERSION" ]; then
echo "BUILD_VERSION=1.0.0-dev" >> $GITHUB_ENV
echo "Using fallback version: 1.0.0-dev (UGM_BUILD_VERSION variable not set)"
else
if [ -n "$VERSION" ]; then
echo "BUILD_VERSION=$VERSION" >> $GITHUB_ENV
echo "Using project version: $VERSION"
# Replace ${BUILD_VERSION} with actual value
sed -i "s/\${BUILD_VERSION}/$VERSION/g" applications/Unity.GrantManager/sonar-project.properties
else
echo "UGM_BUILD_VERSION variable not set - removing sonar.projectVersion property"
# Remove the projectVersion line entirely if no version is available
sed -i "/sonar.projectVersion=/d" applications/Unity.GrantManager/sonar-project.properties
fi

- name: Restore dependencies
Expand All @@ -78,6 +81,12 @@ jobs:
working-directory: ./applications/Unity.GrantManager
run: dotnet build Unity.GrantManager.sln --no-restore

- name: SonarCloud sonar.projectVersion
run: |
echo "BUILD_VERSION environment variable: $BUILD_VERSION"
echo "Updated sonar-project.properties:"
cat applications/Unity.GrantManager/sonar-project.properties | grep "sonar.projectVersion" || echo "No projectVersion set"

- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v7
with:
Expand Down
31 changes: 26 additions & 5 deletions applications/Unity.AutoUI/cypress/pages/ApplicationDetailsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export class ApplicationDetailsPage extends BasePage {
.clear({ force: true })
.type(supplierNumber, { force: true })
.trigger("change")
.blur();
.blur({ force: true });
return this;
}

Expand All @@ -344,11 +344,32 @@ export class ApplicationDetailsPage extends BasePage {
* Click Payment Info Save button
*/
clickPaymentInfoSave(): this {
cy.get("#nav-payment-info", { timeout: 20000 })
.contains("button", "Save")
cy.get("#savePaymentInfoBtn", { timeout: 20000 })
.should("be.visible")
.and("not.be.disabled")
.click({ force: true });
// Wait for the button to become disabled (saving in-progress) or re-enabled (save complete).
// A cy.reload() always follows immediately, so we just need the click to register.
cy.wait(1500);
return this;
}

/**
* Click the Refresh Site List button and dismiss the "Action Complete" confirmation modal.
* Must be on the Payment Info tab before calling.
*/
clickRefreshSiteList(): this {
cy.contains("Refresh Site List", { timeout: 20000 })
.should("be.visible")
.click({ force: true });

// Dismiss the "Action Complete" modal that always appears after refresh
cy.contains("button", "Ok", { timeout: 20000 })
.should("be.visible")
.click({ force: true });
// Wait briefly for save to process
cy.wait(1000);

// Wait for the modal to be gone before checking the table
cy.contains("Action Complete").should("not.exist");
return this;
}

Expand Down
117 changes: 69 additions & 48 deletions applications/Unity.AutoUI/cypress/regression/ApprovalFlow.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const APPLICATIONS_PATH = "GrantApplications";
dismissBlockingModalIfPresent();

listPage
.selectQuickDateRange("alltime")
.selectQuickDateRange("last7days")
.waitForTableRefresh()
.searchForSubmission(submissionId);

Expand Down Expand Up @@ -143,44 +143,22 @@ const APPLICATIONS_PATH = "GrantApplications";
});
}

function ensureSiteInfoReady(
attempt = 1,
maxAttempts = 4,
): Cypress.Chainable<void> {
function ensureSiteInfoReady(): void {
// Reload so the DataTable re-initializes with the SupplierId that was saved
// in "Configure payment info". Without this reload the DataTable was seeded
// with an empty SupplierId (from the earlier cy.reload() before save).
cy.reload();
listPage.waitForNoBlockingOverlay();

detailsPage.dismissErrorModalIfPresent();
detailsPage.goToPaymentInfoTab();
cy.wait(1000);

return cy.get("body").then(($body) => {
const hasTokenError =
$body.text().includes("GetAuthTokenAsync") ||
$body.text().includes("Error retrieving Token");
const rows = $body.find("#SiteInfoTable tbody tr");
const firstRowText = rows.first().text().replace(/\s+/g, " ").trim();
const hasData =
rows.length > 0 && !/no data available/i.test(firstRowText);

if (!hasTokenError && hasData) {
cy.log(`Site info ready on attempt ${attempt}`);
return;
}

if (attempt >= maxAttempts) {
throw new Error(
`Site info was not ready after ${maxAttempts} attempts`,
);
}
cy.get("#nav-payment-info-tab").should("have.class", "active");
detailsPage.dismissErrorModalIfPresent();

cy.log(
`Site info not ready yet. Re-activating payment info content (attempt ${attempt} of ${maxAttempts})`,
);
detailsPage.dismissErrorModalIfPresent();
detailsPage.goToFundingAgreementTab();
cy.wait(1000);
detailsPage.goToPaymentInfoTab();
cy.wait(3000);
return ensureSiteInfoReady(attempt + 1, maxAttempts);
});
// Intercept the Refresh Site List API call and wait for it to complete
cy.intercept("GET", "**/api/app/supplier/sites-by-supplier-number**").as("siteRefresh");
detailsPage.clickRefreshSiteList();
cy.wait("@siteRefresh");
}

function waitForBlockingUiToClear(): void {
Expand Down Expand Up @@ -274,6 +252,17 @@ const APPLICATIONS_PATH = "GrantApplications";
}

if ($body.find(".modal.show").length > 0) {
// Actively close the modal — a leftover from a retry can keep it open indefinitely.
// Try the modal's own close button first; fall back to Escape so Bootstrap
// can run its hide animation before we assert the element is gone.
const $closeBtn = $body.find(
".modal.show .btn-close, .modal.show [data-bs-dismiss='modal'], .modal.show button.close",
);
if ($closeBtn.length > 0) {
cy.wrap($closeBtn.first()).click({ force: true });
} else {
cy.get("body").type("{esc}", { force: true });
}
cy.get(".modal.show", { timeout: 20000 }).should("not.exist");
cy.get(".modal-backdrop", { timeout: 20000 }).should("not.exist");
}
Expand Down Expand Up @@ -353,7 +342,7 @@ const APPLICATIONS_PATH = "GrantApplications";

listPage
.waitForNoBlockingOverlay()
.selectQuickDateRange("alltime")
.selectQuickDateRange("last7days")
.waitForTableRefresh()
.searchForSubmission(submissionId)
.selectRowByText(submissionId);
Expand Down Expand Up @@ -512,7 +501,7 @@ const APPLICATIONS_PATH = "GrantApplications";
it("Search for submission", () => {
expect(submissionId, "Submission ID should be set").to.exist;
listPage
.selectQuickDateRange("alltime")
.selectQuickDateRange("last7days")
.waitForTableRefresh()
.searchForSubmission(submissionId);
});
Expand All @@ -531,7 +520,7 @@ const APPLICATIONS_PATH = "GrantApplications";
cy.log("Already on details page after assignment");
} else {
listPage
.selectQuickDateRange("alltime")
.selectQuickDateRange("last7days")
.waitForTableRefresh()
.searchForSubmission(submissionId)
.selectRowByText(submissionId)
Expand Down Expand Up @@ -608,15 +597,47 @@ const APPLICATIONS_PATH = "GrantApplications";
.clickPaymentInfoSave();
});

it("Validate and edit site info", () => {
// Must use function() (not arrow) so this.skip() is accessible
it("Validate and edit site info", function () {
ensureSiteInfoReady();
detailsPage
.verifySiteInfoTablePopulated()
.verifySiteInfoTableHasData()
.clickSiteInfoEdit()
.waitForEditSiteModal()
.selectPaymentGroup(TEST_CONFIG.paymentGroup)
.clickSaveChanges();

// Scroll #main-left (the left pane) to bring SiteInfoTable into view before
// any row checks — the pane has its own scrollbar independent of the viewport
cy.get("#SiteInfoTable", { timeout: 10000 }).should("exist");
cy.get("#SiteInfoTable").then(($table) => {
cy.get("#main-left").then(($pane) => {
const paneTop = $pane[0].getBoundingClientRect().top;
const tableTop = $table[0].getBoundingClientRect().top;
$pane[0].scrollTop += tableTop - paneTop - 100;
});
});

// Skip gracefully if the supplier has no site data in this environment
cy.get("body").then(($body) => {
const rows = $body.find("#SiteInfoTable tbody tr");
const firstRowText = rows.first().text().replace(/\s+/g, " ").trim();
const hasTokenError =
$body.text().includes("GetAuthTokenAsync") ||
$body.text().includes("Error retrieving Token");
const hasData =
rows.length > 0 && !/no data available/i.test(firstRowText);

if (!hasData || hasTokenError) {
cy.log(
"No site data available for this supplier in this environment — skipping site info validation",
);
this.skip();
return;
}

detailsPage
.verifySiteInfoTablePopulated()
.verifySiteInfoTableHasData()
.clickSiteInfoEdit()
.waitForEditSiteModal()
.selectPaymentGroup(TEST_CONFIG.paymentGroup)
.clickSaveChanges();
});
});

// ============ Comments & Attachments ============
Expand Down Expand Up @@ -692,7 +713,7 @@ const APPLICATIONS_PATH = "GrantApplications";
it("Verify application status is Approved", () => {
expect(submissionId, "Submission ID should be set").to.exist;
listPage
.selectQuickDateRange("alltime")
.selectQuickDateRange("last7days")
.waitForTableRefresh()
.searchForSubmission(submissionId);

Expand Down
Loading
Loading