Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Dev into Test #5484

Merged
merged 202 commits into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
a9b0df1
EES-5663 Remove minor versions from public API versioning
ntsim Nov 15, 2024
5c64ab6
EES-5663 Remove `version` path parameters from OpenAPI documents
ntsim Nov 15, 2024
6c0e642
EES-5663 Prefix OpenAPI document version paths with `v`
ntsim Nov 15, 2024
0c204af
EES-5663 Remove `/api` prefix from public API routes
ntsim Nov 18, 2024
fffc5a6
EES-5660 - using special "draft" folder to hold the latest draft vers…
duncan-at-hiveit Nov 15, 2024
34db1b3
EES-5560 - added custom migration to update draft DataSetVersion fold…
duncan-at-hiveit Nov 18, 2024
b01b1f1
EES-5660 - tidy-up prior to raising PR
duncan-at-hiveit Nov 18, 2024
c5c4b05
EES-5660 - making infrastructure changes to allow the Publisher to ac…
duncan-at-hiveit Nov 19, 2024
fb0426b
EES-5660 - supressing the running of custom migrations during startup…
duncan-at-hiveit Nov 19, 2024
d311cb3
Merge pull request #5404 from dfe-analytical-services/dev
N-moh Nov 20, 2024
d65224b
chore(tests): update test snapshots
dfe-sdt Nov 21, 2024
b0d1123
Merge pull request #5406 from dfe-analytical-services/chore/update-te…
N-moh Nov 21, 2024
8846d99
EES-5672 5673 fix ui tests
amyb-hiveit Nov 21, 2024
0d73718
Merge pull request #5407 from dfe-analytical-services/EES-5672-5673
duncan-at-hiveit Nov 21, 2024
6641041
Merge pull request #5396 from dfe-analytical-services/ees-5663
ntsim Nov 22, 2024
444bda5
EES-5664 Update API docs to use correct host URL
ntsim Nov 12, 2024
df6920c
EES-5664 Add `.env` to API docs for local development
ntsim Nov 12, 2024
395d021
EES-5664 Add configurable API URL option to public API docs
ntsim Nov 13, 2024
c545ea9
EES-5664 Update generated OpenAPI docs to use relative server URL
ntsim Nov 17, 2024
f63b640
EES-5664 Fix example for `DataSetLatestVersionViewModel.GeographicLev…
ntsim Nov 17, 2024
2950242
EES-5664 Rework public API docs to handle multiple versioned OpenAPI …
ntsim Nov 16, 2024
d1935df
Merge pull request #5397 from dfe-analytical-services/ees-5664
ntsim Nov 22, 2024
99101cd
EES-5535 Remove Test data file with no observations
N-moh Nov 25, 2024
33b1251
EES-5682: Replace privacy policy with external URL.
Nov 25, 2024
eb30f14
Merge pull request #5410 from dfe-analytical-services/EES-5535
N-moh Nov 25, 2024
d538755
EES-5541 - Boundary level per dataset form changes (#5308)
bennettstuart Nov 26, 2024
622b1c0
Delete non-cancelled release versions first and cancelled (soft delet…
benoutram Nov 19, 2024
826c142
EES-5625 Add new Release attributes and copy values from ReleaseVersion
benoutram Nov 19, 2024
da9b2df
EES-5625 Add required validation on Type field in ReleaseCreateReques…
benoutram Nov 22, 2024
6ba37f1
EES-5625 No need to edit release type and year in the summary of the …
benoutram Nov 25, 2024
1b2185d
Merge pull request #5409 from dfe-analytical-services/EES-5625
benoutram Nov 26, 2024
68c4402
EES-5625 Exclude soft deleted release versions in the inner query for…
benoutram Nov 26, 2024
f4a0b5f
Merge pull request #5414 from dfe-analytical-services/bugfix/EES-5625
benoutram Nov 26, 2024
309f22b
Merge pull request #5412 from dfe-analytical-services/EES-5682
tomjonesdev Nov 26, 2024
e47d736
EES 5632 - Return the Release redirects from the `api/redirects` endp…
jack-hive Nov 26, 2024
095cdde
EES-5149 remove check to hide hidden filter groups and fix tests appr…
Nov 27, 2024
d6848e5
EES-5541 tiny test fixes
bennettstuart Nov 27, 2024
91d0792
Merge pull request #5418 from dfe-analytical-services/EES-5541
bennettstuart Nov 27, 2024
28ea550
chore(tests): update test snapshots
dfe-sdt Nov 28, 2024
7b30fd3
remove .only from test
Nov 28, 2024
31b2d4c
Merge pull request #5420 from dfe-analytical-services/chore/update-te…
N-moh Nov 28, 2024
d90d6f3
EES-5694 - updated order of operations in changing ReleaseStatus valu…
duncan-at-hiveit Nov 27, 2024
3e12cd0
chore(tests): update test snapshots
dfe-sdt Nov 28, 2024
3a9f450
EES-5695 Update schools homepage link
Nov 28, 2024
80bd0c2
Merge pull request #5421 from dfe-analytical-services/chore/update-te…
N-moh Nov 28, 2024
cebd825
Merge pull request #5417 from dfe-analytical-services/EES-5694-approv…
duncan-at-hiveit Nov 29, 2024
db0f04f
EES-5695 run format
Dec 2, 2024
dfcecf2
Merge pull request #5422 from dfe-analytical-services/EES-5695-update…
rianski Dec 2, 2024
8bc8e59
Merge pull request #5424 from dfe-analytical-services/dev
N-moh Dec 2, 2024
ccbf93f
EES-5564 - added error handling when fetching data set details of cha…
duncan-at-hiveit Nov 25, 2024
549a296
EES-5564 - responding to PR comments. Replacing error flag usage with…
duncan-at-hiveit Dec 2, 2024
14e9289
Merge pull request #5413 from dfe-analytical-services/EES-5564-add-er…
duncan-at-hiveit Dec 2, 2024
3fcdf91
EES-5558 - got "Data and files" link to close modal and navigate to t…
duncan-at-hiveit Nov 25, 2024
029fc49
EES-5558 - responding to PR comments. Removing navigation check from …
duncan-at-hiveit Dec 2, 2024
48ee898
Merge pull request #5411 from dfe-analytical-services/EES-5558-data-a…
duncan-at-hiveit Dec 2, 2024
963d6e5
EES-5660 - responding to PR comments. Replacing explicit Tuple instan…
duncan-at-hiveit Dec 2, 2024
1710bee
EES-5711-Fixing a UI test failure in general_public suite
N-moh Dec 3, 2024
444e3ed
Merge pull request #5428 from dfe-analytical-services/EES-5711
N-moh Dec 3, 2024
4c5bea1
Merge pull request #5403 from dfe-analytical-services/EES-5660-replac…
duncan-at-hiveit Dec 3, 2024
8a8163b
EES-5660 - replaced contraction of "Fileshare" with separate "File sh…
duncan-at-hiveit Dec 2, 2024
9a50106
Merge pull request #5427 from dfe-analytical-services/EES-5660-rename…
duncan-at-hiveit Dec 3, 2024
61cb8ca
Various tidy up and clarifications across FE style guide
ntsim Dec 3, 2024
fa9199f
Add section on using logic + loops in tests to FE style guide
ntsim Dec 3, 2024
6a37c29
EES-5656 Remove ReleaseVersionRepository method ListLatestReleaseVers…
benoutram Dec 2, 2024
aa86adf
Merge pull request #5426 from dfe-analytical-services/EES-5656_User_M…
benoutram Dec 4, 2024
90d635c
Merge pull request #5416 from dfe-analytical-services/EES-5149-hidden…
rianski Dec 4, 2024
24b97a1
chore(tests): update test snapshots
dfe-sdt Dec 5, 2024
40fd56e
Merge pull request #5430 from dfe-analytical-services/chore/update-te…
N-moh Dec 5, 2024
e1975b0
EES-5685 - added many additional details to alerts being sent through…
duncan-at-hiveit Dec 6, 2024
935b161
EES-5717 set number of decimal places on chart minor axis
amyb-hiveit Dec 5, 2024
7f4a0c3
Merge pull request #5433 from dfe-analytical-services/EES-5717-master
tomjonesdev Dec 6, 2024
cbf6304
Merge pull request #5434 from dfe-analytical-services/master
tomjonesdev Dec 6, 2024
700441c
EES-5705 - calculating final test failure count from final run attemp…
duncan-at-hiveit Dec 6, 2024
6c34884
EES-5705 - broke UI test suite jobs into yml template for easier main…
duncan-at-hiveit Dec 6, 2024
1c7aa98
EES-5705 - removed SKIP merging behaviour in CheckForAtLeastOnePassin…
duncan-at-hiveit Dec 6, 2024
4c023b6
EES-5705 - raising run_tests.py script failure if any suites are fail…
duncan-at-hiveit Dec 6, 2024
a8a40f7
EES-5724 - failing fast when a deploy fails to be published
duncan-at-hiveit Dec 6, 2024
8ec68fa
EES-5724 - failing fast when a deploy fails to be published
duncan-at-hiveit Dec 6, 2024
f387ffe
EES-5685 - added sample set of availability and health alerts for Pub…
duncan-at-hiveit Dec 3, 2024
a60b2dd
EES-5685 - reworked some conventions of existing alert code and alert…
duncan-at-hiveit Dec 4, 2024
8d3cb5e
EES-5685 - added health alerts for Container Apps and PSQL Flexible S…
duncan-at-hiveit Dec 4, 2024
6818915
EES-5685 - added availability alerts for fileServices
duncan-at-hiveit Dec 4, 2024
2de2fd2
EES-5685 - tidy-up before raising PR
duncan-at-hiveit Dec 6, 2024
eac866a
EES-5685 - responding to PR comments. Updating timeAggregation on som…
duncan-at-hiveit Dec 6, 2024
6c9be3b
Merge pull request #5432 from dfe-analytical-services/EES-5685-add-av…
duncan-at-hiveit Dec 6, 2024
417facc
EES-5705 - tidy-up for PR
duncan-at-hiveit Dec 6, 2024
ba4da9d
EES-XXXX - fixed misplaced variable definitions in "dependsOn" array
duncan-at-hiveit Dec 6, 2024
9a7999c
EES-5583: Add endpoint to return a zip archive upload plan.
Dec 2, 2024
d2cc7b4
EES-5584: Add modal to display file upload/replacement plan.
Dec 2, 2024
0291509
EES-5583/4: Update backend and frontend tests.
Dec 3, 2024
dc0e17f
EES-5583: Use alternative path builder method, and revert optional pa…
Dec 6, 2024
a5c7f91
Merge pull request #5436 from dfe-analytical-services/EES-XXXX-fix-pu…
duncan-at-hiveit Dec 6, 2024
0721185
EES-XXXX - corrected misuse of parameter instead of variable
duncan-at-hiveit Dec 6, 2024
b2cb309
Merge pull request #5437 from dfe-analytical-services/EES-XXXX-fix-pu…
duncan-at-hiveit Dec 6, 2024
53b3211
EES-5685 - reverting change to timeAggregation as Total was not suppo…
duncan-at-hiveit Dec 6, 2024
e636e43
Merge pull request #5438 from dfe-analytical-services/EES-5685-correc…
duncan-at-hiveit Dec 6, 2024
12a40d7
Merge pull request #5377 from dfe-analytical-services/EES-5583
tomjonesdev Dec 6, 2024
fd0f449
EES-5724 - fixed missing storage account access key. Updated mount pa…
duncan-at-hiveit Dec 6, 2024
17b8087
Merge pull request #5439 from dfe-analytical-services/EES-5724-fix-in…
duncan-at-hiveit Dec 6, 2024
8777d6d
EES-5724 - grant the Publisher subnet access to the Public API storag…
duncan-at-hiveit Dec 6, 2024
65a313e
Merge pull request #5440 from dfe-analytical-services/EES-5724-grant-…
duncan-at-hiveit Dec 6, 2024
05386ea
Merge pull request #5435 from dfe-analytical-services/EES-5705-report…
duncan-at-hiveit Dec 6, 2024
a7a506c
EES-5656 Improve tests in legacy_releases_reordering.robot
benoutram Dec 6, 2024
bd2ec55
EES-5656 Rename page 'Legacy releases' to 'Release order'
benoutram Dec 3, 2024
aa05db1
EES-5656 Rename legacy_releases_reordering.robot to release_reorderin…
benoutram Dec 6, 2024
7d9c214
EES-5724 - enabling content-over-vnet for Publisher Function App, in …
duncan-at-hiveit Dec 9, 2024
49529ce
Merge pull request #5443 from dfe-analytical-services/EES-5724-config…
duncan-at-hiveit Dec 9, 2024
f82b7d7
EES-5656 Update permissions tests following rename of Legacy releases…
benoutram Dec 9, 2024
0b12976
Merge pull request #5441 from dfe-analytical-services/EES-5656_UI_Tes…
benoutram Dec 9, 2024
b72ed29
Merge pull request #5442 from dfe-analytical-services/EES-5656_Rename…
benoutram Dec 9, 2024
a46aef5
EES-5656 Release series tidy up
benoutram Dec 2, 2024
249bb0a
EES-5656 Release series unit test tidy up
benoutram Dec 2, 2024
b6e1c33
EES-5656 Further release series tidy up
benoutram Dec 3, 2024
504166c
EES-5656 No need to use `RequiredAttribute` with nullable context ena…
benoutram Dec 9, 2024
2afd48d
EES-5446 - removing unhealthy check for Data Processor staging slot t…
duncan-at-hiveit Nov 22, 2024
af64f98
EES-5446 - added StatusCheck endpoint to provide count of active orch…
duncan-at-hiveit Nov 25, 2024
2116dcf
Merge pull request #5444 from dfe-analytical-services/EES-5656_Releas…
benoutram Dec 10, 2024
457d63a
EES-5446 - adding in support for allowing specific IP address ranges …
duncan-at-hiveit Nov 26, 2024
c4b07e2
EES-5446 - added dummy long-running orchestration with which we can t…
duncan-at-hiveit Nov 26, 2024
d2c5cc8
EES-5446 - grant Azure DevOps SPN access to Data Processor via EasyAu…
duncan-at-hiveit Nov 26, 2024
94ac090
EES-5446 - adding network restrictions to lock down Data Processor do…
duncan-at-hiveit Nov 27, 2024
e61c935
EES-5446 - corrected long-running test orchestration.
duncan-at-hiveit Nov 28, 2024
22af149
EES-5446 - breaking out deploy tasks into template files
duncan-at-hiveit Nov 29, 2024
1251ecb
EES-5446 - reverting temporary pipeline changes for speeding up test …
duncan-at-hiveit Dec 2, 2024
782043f
EES-5446 - making data processor and PSQL deploys independent of priv…
duncan-at-hiveit Dec 2, 2024
05a1085
EES-5446 - responded to various PR comments. Disabling long-running o…
duncan-at-hiveit Dec 10, 2024
a6a7832
EES-5446 - grouped long-running test functions into single class
duncan-at-hiveit Dec 10, 2024
ea94d10
EES-5730 Fix UI test failure in general_public suite
N-moh Dec 10, 2024
9ddeb34
Merge pull request #5447 from dfe-analytical-services/EES-5730
N-moh Dec 10, 2024
2f657da
EES-5705 - in addition to posting the UI test zip file if suites fail…
duncan-at-hiveit Dec 10, 2024
6bbf0f3
Merge pull request #5448 from dfe-analytical-services/EES-5705-post-t…
duncan-at-hiveit Dec 10, 2024
0579422
Merge pull request #5449 from dfe-analytical-services/EES-5685-more-d…
duncan-at-hiveit Dec 11, 2024
1d0168d
Merge pull request #5425 from dfe-analytical-services/EES-5446-preven…
duncan-at-hiveit Dec 11, 2024
6ee55af
EES-5446 - minor tweaks to fix pipeline after mere conflicts resolved
duncan-at-hiveit Dec 11, 2024
c39a7a2
Merge pull request #5451 from dfe-analytical-services/EES-5446-fixup3
duncan-at-hiveit Dec 11, 2024
fe2cf60
EES-5543: Correct BoundaryLevel property in ChartDataSetConfig.
Dec 11, 2024
7352116
chore(tests): update test snapshots
dfe-sdt Dec 12, 2024
1efc90f
Merge pull request #5454 from dfe-analytical-services/chore/update-te…
N-moh Dec 12, 2024
d357fe5
EES-5627 Adding `Label` to the `Release` (#5457)
jack-hive Dec 12, 2024
6d53130
EES-5732 prevent ui test failures after data replacement
amyb-hiveit Dec 12, 2024
7e51403
EES-5632 Distinguishing release redirects across different publicatio…
jack-hive Dec 12, 2024
910df94
EES-5587 refactor reordering filters and indicators
amyb-hiveit Nov 21, 2024
3f5ec9d
Merge pull request #5460 from dfe-analytical-services/EES-5732
bennettstuart Dec 13, 2024
5686e50
Merge pull request #5452 from dfe-analytical-services/EES-5543
tomjonesdev Dec 13, 2024
dbd38b3
chore(deps): update dependency dotenv to v3.1.5
renovate[bot] Dec 12, 2024
79bb35b
EES-5735: Add frontend error mapping for API data set replacement.
Dec 13, 2024
7c3dd22
Merge pull request #5467 from dfe-analytical-services/EES-5735
tomjonesdev Dec 13, 2024
01af766
chore(deps): update dependency dotenv to v3.1.6
renovate[bot] Dec 13, 2024
391f66e
EES-5543 fixed dataSetConfig BoundaryLevels, no longer defaulted to 0…
bennettstuart Dec 16, 2024
20b557b
Merge pull request #5469 from dfe-analytical-services/EES-5543-bugfix
bennettstuart Dec 16, 2024
c67d08f
EES-5632 Updating ContentDbContextModelSnapshot after collections add…
benoutram Dec 16, 2024
449fea2
Merge pull request #5470 from dfe-analytical-services/bugfix/EES-5632
benoutram Dec 16, 2024
dee7e0c
EES 5633 - FE - Redirect the user to the latest version of a page if …
jack-hive Dec 16, 2024
5f52222
EES-4336 temporarily remove DataBlockQuerySizeController which produc…
benoutram Dec 17, 2024
0d78433
EES-XXXX - adding capture of specific Public API errors to Grafana da…
duncan-at-hiveit Dec 17, 2024
6ea0c01
Merge pull request #5471 from dfe-analytical-services/EES-4336_Remove…
benoutram Dec 17, 2024
5c58c51
chore(tests): update test snapshots
dfe-sdt Dec 18, 2024
ad4dcb3
Merge pull request #5472 from dfe-analytical-services/chore/update-te…
N-moh Dec 18, 2024
f16a2c0
chore(deps): update dependency dotenv to v3.1.7
renovate[bot] Dec 18, 2024
bfc2fc7
EES-5047: Add character limit validation to various title and summary…
Dec 11, 2024
6dd4b38
EES-5047: Move input/textarea useWatch usage to parent components and…
Dec 11, 2024
2c3c986
EES-5047: Move string length and message definitions into constants, …
Dec 13, 2024
dd4f0b8
EES-5047: Remove shared backend validation messaging.
Dec 18, 2024
f7d94d1
Merge pull request #5450 from dfe-analytical-services/EES-4122
tomjonesdev Dec 18, 2024
00c9dd0
chore(tests): update test snapshots
dfe-sdt Dec 19, 2024
bb42748
Merge pull request #5462 from dfe-analytical-services/EES-5587
amyb-hiveit Dec 19, 2024
f467ba9
Merge pull request #5475 from dfe-analytical-services/chore/update-te…
N-moh Dec 19, 2024
7372f24
EES-5580 validate EditableContentForm on submit after reinitialisation
amyb-hiveit Dec 19, 2024
898a54f
EES-5457 show extra create data block link when more than 5
amyb-hiveit Dec 19, 2024
ef639a0
Merge pull request #5477 from dfe-analytical-services/EES-5457
bennettstuart Dec 20, 2024
8c58d8b
Merge pull request #5476 from dfe-analytical-services/EES-5580-editab…
bennettstuart Dec 20, 2024
0778874
EES-5738 Create new DataSetFileGeographicLevels table
mmyoungman Dec 13, 2024
6e32d38
EES-5738 Migration to move DataSetFileMeta geog lvls to new table
mmyoungman Dec 13, 2024
47a3c8e
EES-5738 Create DataSetFileGL entries in WriteDataSetFileMeta
mmyoungman Dec 13, 2024
c614926
EES-5738 Data Catalogue page Geog lvl filtering
mmyoungman Dec 13, 2024
adc1eb3
EES-5738 Add tests
mmyoungman Dec 13, 2024
1d65b4b
EES-5738 Changes in response to PR comments
mmyoungman Dec 17, 2024
1f7d716
EES-5656 Change PublicationService to use primary constructor
benoutram Dec 10, 2024
3043196
EES-5656 Set the latest published release version for publication bas…
benoutram Dec 10, 2024
a12a200
EES-5656 Add UI tests to cover changing a publication's latest publis…
benoutram Dec 12, 2024
a15bf4f
EES-5656 Correct mistake in UpdateReleaseSeries_UpdatesLatestPublishe…
benoutram Dec 12, 2024
9787a3d
EES-5656 Add additional test UpdateReleaseSeries_UpdatesLatestPublish…
benoutram Dec 12, 2024
5fba23d
EES-5656 Remove incorrect mention of ordering in method comments
benoutram Dec 12, 2024
303e0a1
EES-5656 Remove mention of 'published' in method comments because it'…
benoutram Dec 12, 2024
2bb26de
EES-5656 Check latest release link has correct release name on non-la…
benoutram Dec 12, 2024
7ff9fe3
EES-5656 Change ManageContentPageService.GetManageContentPageViewMode…
benoutram Dec 13, 2024
da82791
EES-5656 Change PublicationService.Get to not use method ListLatestPu…
benoutram Dec 13, 2024
0d82a73
EES-5656 Consolidate methods ListLatestReleaseVersionIds/ListLatestPu…
benoutram Dec 16, 2024
cbbeb43
EES-5656 Change ReleaseService to not use method GetLatestPublishedRe…
benoutram Dec 16, 2024
65a1bb8
EES-5656 Change PermalinkService to not use method GetLatestPublished…
benoutram Dec 16, 2024
364dc08
EES-5656 Change TableBuilderService to not use method GetLatestPublis…
benoutram Dec 16, 2024
2d81e79
EES-5656 Change TableBuilderController to not use method GetLatestPub…
benoutram Dec 16, 2024
2d04ca5
EES-5656 On completing publishing, set the latest published release v…
benoutram Dec 16, 2024
f3012b1
EES-5656 Refactor logic to extract release id's from a release serie…
benoutram Dec 17, 2024
9c87376
EES-5656 Update methods of ReleaseVersionRepository to use release se…
benoutram Dec 18, 2024
2e744b2
EES-5656 Rename method GetLatestPublishedReleaseVersion to GetLatestP…
benoutram Dec 19, 2024
23523e2
EES-5656 Remove ManageContentPageViewModel.PublicationViewModel.Releases
benoutram Dec 19, 2024
9412715
EES-5656 Change ContentService UpdateContent/UpdateContentStaged meth…
benoutram Dec 20, 2024
cf1747a
Merge pull request #5474 from dfe-analytical-services/EES-5656_Publis…
benoutram Dec 20, 2024
2f093cc
Merge pull request #5455 from dfe-analytical-services/EES-5656_Releas…
benoutram Dec 20, 2024
3968fb4
EES-5738 More changes in response to PR comments
mmyoungman Dec 20, 2024
8cf86df
Merge pull request #5468 from dfe-analytical-services/EES-5738
mmyoungman Dec 30, 2024
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions azure-pipelines-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,8 @@ jobs:

- task: Bash@3
displayName: Build
env:
TECH_DOCS_API_URL: https://dev.statistics.api.education.gov.uk
inputs:
workingDirectory: $(WorkingDirectory)
targetType: inline
Expand Down
62 changes: 62 additions & 0 deletions azure-pipelines-run-ui-test-suite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
parameters:
- name: jobName
type: string
- name: displayName
type: string
- name: testFolder
type: string
- name: artifactName
type: string

jobs:
- job: ${{ parameters.jobName }}
displayName: ${{ parameters.displayName }}
timeoutInMinutes: 160
cancelTimeoutInMinutes: 10
condition: succeededOrFailed()
pool: ees-ubuntu2204-large
workspace:
clean: all
steps:
- checkout: self
clean: true
fetchDepth: 5
fetchTags: false

- task: UsePythonVersion@0
displayName: Use Python 3.10
timeoutInMinutes: 5
inputs:
versionSpec: 3.10

- task: AzureKeyVault@2
displayName: Azure Key Vault - s101d01-kv-ees-01
inputs:
azureSubscription: $(SPN_NAME)
KeyVaultName: s101d01-kv-ees-01
SecretsFilter: ees-test-ADMIN-PASSWORD,ees-test-ANALYST-PASSWORD,ees-test-expiredinvite-password,ees-test-NOINVITE-PASSWORD,ees-test-PENDINGINVITE-PASSWORD,ees-alerts-slackapptoken
RunAsPreJob: true

- task: PythonScript@0
displayName: Run tests
condition: succeededOrFailed()
inputs:
scriptPath: tests/robot-tests/scripts/run_tests_pipeline.py
arguments: --admin-pass '"$(ees-test-ADMIN-PASSWORD)"' --analyst-pass '"$(ees-test-ANALYST-PASSWORD)"' --expiredinvite-pass '"$(ees-test-expiredinvite-password)"' --noinvite-pass '"$(ees-test-NOINVITE-PASSWORD)"' --pendinginvite-pass '"$(ees-test-PENDINGINVITE-PASSWORD)"' --env "dev" --file "${{ parameters.testFolder }}" --processes 4 --rerun-attempts 3
# The magic incantation '"$(variable)"'was added by Mark to resolve an issue with Analyst password that contained ampersands.
workingDirectory: tests/robot-tests
env:
SLACK_APP_TOKEN: $(ees-alerts-slackapptoken)

- task: PublishTestResults@2
displayName: Publish test results
inputs:
testResultsFiles: tests/robot-tests/test-results/xunit.xml
failTaskOnFailedTests: true

- task: PublishPipelineArtifact@1
displayName: Publish pipeline artifact
condition: succeededOrFailed()
inputs:
path: tests/robot-tests/test-results/
artifactName: ${{ parameters.artifactName }}
288 changes: 34 additions & 254 deletions azure-pipelines-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,261 +17,41 @@ resources:
ref: refs/heads/dev

jobs:
- job: Public
displayName: Public suite - Robot UI tests
timeoutInMinutes: 160
cancelTimeoutInMinutes: 10
condition: succeededOrFailed()
pool: ees-ubuntu2204-large
workspace:
clean: all
steps:
- checkout: self
clean: true
fetchDepth: 5
fetchTags: false
- template: azure-pipelines-run-ui-test-suite.yml
parameters:
jobName: Public
displayName: Public suite - Robot UI tests
testFolder: tests/general_public
artifactName: test-results-public

- template: azure-pipelines-run-ui-test-suite.yml
parameters:
jobName: PublishAndAmend
displayName: Publish release and amend suites - Robot UI tests
testFolder: tests/admin_and_public_2
artifactName: test-results-admin-and-public-2

- template: azure-pipelines-run-ui-test-suite.yml
parameters:
jobName: Admin
displayName: Admin suites - Robot UI tests
testFolder: tests/admin
artifactName: test-results-admin

- template: azure-pipelines-run-ui-test-suite.yml
parameters:
jobName: AdminAndPublic
displayName: Admin & public suites - Robot UI tests
testFolder: tests/admin_and_public
artifactName: test-results-admin-public

- template: azure-pipelines-run-ui-test-suite.yml
parameters:
jobName: PublicAPI
displayName: Public API suite - Robot UI tests
testFolder: tests/public_api
artifactName: test-results-admin-public-api

- task: UsePythonVersion@0
displayName: Use Python 3.10
timeoutInMinutes: 5
inputs:
versionSpec: 3.10

- task: AzureKeyVault@2
displayName: Azure Key Vault - s101d01-kv-ees-01
inputs:
azureSubscription: $(SPN_NAME)
KeyVaultName: s101d01-kv-ees-01
SecretsFilter: ees-alerts-slackapptoken
RunAsPreJob: true

- task: PythonScript@0
displayName: Public UI tests
inputs:
scriptPath: tests/robot-tests/scripts/run_tests_pipeline.py
arguments: --admin-pass "test" --analyst-pass "test" --expiredinvite-pass "test" --noinvite-pass "test" --pendinginvite-pass "test" --env "dev" --file "tests/general_public" --processes 4 --rerun-attempts 3
workingDirectory: tests/robot-tests
env:
SLACK_APP_TOKEN: $(ees-alerts-slackapptoken)

- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
inputs:
testResultsFiles: tests/robot-tests/test-results/xunit.xml
failTaskOnFailedTests: true

- task: PublishPipelineArtifact@1
displayName: Publish Test Pipeline Artifact
condition: succeededOrFailed()
inputs:
path: tests/robot-tests/test-results/
artifactName: test-results-public

- job: PublishAndAmend
displayName: Publish release and amend suites - Robot UI tests
timeoutInMinutes: 160
cancelTimeoutInMinutes: 10
condition: succeededOrFailed()
pool: ees-ubuntu2204-large
workspace:
clean: all
steps:
- checkout: self
clean: true
fetchDepth: 5
fetchTags: false

- task: UsePythonVersion@0
displayName: Use Python 3.10
timeoutInMinutes: 5
inputs:
versionSpec: 3.10

- task: AzureKeyVault@2
displayName: Azure Key Vault - s101d01-kv-ees-01
inputs:
azureSubscription: $(SPN_NAME)
KeyVaultName: s101d01-kv-ees-01
SecretsFilter: ees-test-ADMIN-PASSWORD,ees-test-ANALYST-PASSWORD,ees-test-expiredinvite-password,ees-test-NOINVITE-PASSWORD,ees-test-PENDINGINVITE-PASSWORD,ees-alerts-slackapptoken
RunAsPreJob: true

- task: PythonScript@0
displayName: Publish release and amend UI tests
condition: succeededOrFailed()
inputs:
scriptPath: tests/robot-tests/scripts/run_tests_pipeline.py
arguments: --admin-pass '"$(ees-test-ADMIN-PASSWORD)"' --analyst-pass '"$(ees-test-ANALYST-PASSWORD)"' --expiredinvite-pass '"$(ees-test-expiredinvite-password)"' --noinvite-pass '"$(ees-test-NOINVITE-PASSWORD)"' --pendinginvite-pass '"$(ees-test-PENDINGINVITE-PASSWORD)"' --env "dev" --file "tests/admin_and_public_2" --processes 4 --rerun-attempts 3
# The magic incantation '"$(variable)"'was added by Mark to resolve an issue with Analyst password that contained ampersands.
workingDirectory: tests/robot-tests
env:
SLACK_APP_TOKEN: $(ees-alerts-slackapptoken)

- task: PublishTestResults@2
displayName: Publish Test Results
inputs:
testResultsFiles: tests/robot-tests/test-results/xunit.xml
failTaskOnFailedTests: true

- task: PublishPipelineArtifact@1
displayName: Publish Pipeline Artifact
condition: succeededOrFailed()
inputs:
path: tests/robot-tests/test-results/
artifactName: test-results-admin-and-public-2


- job: Admin
displayName: Admin suites - Robot UI tests
timeoutInMinutes: 160
cancelTimeoutInMinutes: 10
condition: succeededOrFailed()
pool: ees-ubuntu2204-large
workspace:
clean: all
steps:
- checkout: self
clean: true
fetchDepth: 5
fetchTags: false

- task: UsePythonVersion@0
displayName: Use Python 3.10
timeoutInMinutes: 5
inputs:
versionSpec: 3.10

- task: AzureKeyVault@2
displayName: Azure Key Vault - s101d01-kv-ees-01
inputs:
azureSubscription: $(SPN_NAME)
KeyVaultName: s101d01-kv-ees-01
SecretsFilter: ees-test-ADMIN-PASSWORD,ees-test-ANALYST-PASSWORD,ees-test-expiredinvite-password,ees-test-NOINVITE-PASSWORD,ees-test-PENDINGINVITE-PASSWORD,ees-alerts-slackapptoken
RunAsPreJob: true

- task: PythonScript@0
displayName: Admin UI tests
condition: succeededOrFailed()
inputs:
scriptPath: tests/robot-tests/scripts/run_tests_pipeline.py
arguments: --admin-pass '"$(ees-test-ADMIN-PASSWORD)"' --analyst-pass '"$(ees-test-ANALYST-PASSWORD)"' --expiredinvite-pass '"$(ees-test-expiredinvite-password)"' --noinvite-pass '"$(ees-test-NOINVITE-PASSWORD)"' --pendinginvite-pass '"$(ees-test-PENDINGINVITE-PASSWORD)"' --env "dev" --file "tests/admin" --processes 4 --rerun-attempts 3
workingDirectory: tests/robot-tests
env:
SLACK_APP_TOKEN: $(ees-alerts-slackapptoken)

- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
inputs:
testResultsFiles: tests/robot-tests/test-results/xunit.xml
failTaskOnFailedTests: true

- task: PublishPipelineArtifact@1
displayName: Publish Test Pipeline Artifact
condition: succeededOrFailed()
inputs:
path: tests/robot-tests/test-results/
artifactName: test-results-admin

- job: AdminAndPublic
displayName: Admin & public suites - Robot UI tests
timeoutInMinutes: 160
cancelTimeoutInMinutes: 10
condition: succeededOrFailed()
pool: ees-ubuntu2204-large
workspace:
clean: all
steps:
- checkout: self
clean: true
fetchDepth: 5
fetchTags: false

- task: UsePythonVersion@0
displayName: Use Python 3.10
timeoutInMinutes: 5
inputs:
versionSpec: 3.10

- task: AzureKeyVault@2
displayName: Azure Key Vault - s101d01-kv-ees-01
inputs:
azureSubscription: $(SPN_NAME)
KeyVaultName: s101d01-kv-ees-01
SecretsFilter: ees-test-ADMIN-PASSWORD,ees-test-ANALYST-PASSWORD,ees-test-expiredinvite-password,ees-test-NOINVITE-PASSWORD,ees-test-PENDINGINVITE-PASSWORD,ees-alerts-slackapptoken
RunAsPreJob: true

- task: PythonScript@0
displayName: Admin public UI tests
inputs:
scriptPath: tests/robot-tests/scripts/run_tests_pipeline.py
arguments: --admin-pass '"$(ees-test-ADMIN-PASSWORD)"' --analyst-pass '"$(ees-test-ANALYST-PASSWORD)"' --expiredinvite-pass '"$(ees-test-expiredinvite-password)"' --noinvite-pass '"$(ees-test-NOINVITE-PASSWORD)"' --pendinginvite-pass '"$(ees-test-PENDINGINVITE-PASSWORD)"' --env "dev" --file "tests/admin_and_public" --processes 4 --rerun-attempts 3
workingDirectory: tests/robot-tests
env:
SLACK_APP_TOKEN: $(ees-alerts-slackapptoken)

- task: PublishTestResults@2
displayName: Publish Test Results
inputs:
testResultsFiles: tests/robot-tests/test-results/xunit.xml
failTaskOnFailedTests: true

- task: PublishPipelineArtifact@1
displayName: Publish Test Pipeline Artifact
condition: succeededOrFailed()
inputs:
path: tests/robot-tests/test-results/
artifactName: test-results-admin-public

- job: PublicAPI
displayName: Public API suite - Robot UI tests
timeoutInMinutes: 160
cancelTimeoutInMinutes: 10
condition: succeededOrFailed()
pool: ees-ubuntu2204-large
workspace:
clean: all
steps:
- checkout: self
clean: true
fetchDepth: 5
fetchTags: false

- task: UsePythonVersion@0
displayName: Use Python 3.10
timeoutInMinutes: 5
inputs:
versionSpec: 3.10

- task: AzureKeyVault@2
displayName: Azure Key Vault - s101d01-kv-ees-01
inputs:
azureSubscription: $(SPN_NAME)
KeyVaultName: s101d01-kv-ees-01
SecretsFilter: ees-test-ADMIN-PASSWORD,ees-test-ANALYST-PASSWORD,ees-test-expiredinvite-password,ees-test-NOINVITE-PASSWORD,ees-test-PENDINGINVITE-PASSWORD,ees-alerts-slackapptoken
RunAsPreJob: true

- task: PythonScript@0
displayName: Public API UI tests
inputs:
scriptPath: tests/robot-tests/scripts/run_tests_pipeline.py
arguments: --admin-pass '"$(ees-test-ADMIN-PASSWORD)"' --analyst-pass '"$(ees-test-ANALYST-PASSWORD)"' --expiredinvite-pass '"$(ees-test-expiredinvite-password)"' --noinvite-pass '"$(ees-test-NOINVITE-PASSWORD)"' --pendinginvite-pass '"$(ees-test-PENDINGINVITE-PASSWORD)"' --env "dev" --file "tests/public_api" --processes 4 --rerun-attempts 3
workingDirectory: tests/robot-tests
env:
SLACK_APP_TOKEN: $(ees-alerts-slackapptoken)

- task: PublishTestResults@2
displayName: Publish Test Results
inputs:
testResultsFiles: tests/robot-tests/test-results/xunit.xml
failTaskOnFailedTests: true

- task: PublishPipelineArtifact@1
displayName: Publish Test Pipeline Artifact
condition: succeededOrFailed()
inputs:
path: tests/robot-tests/test-results/
artifactName: test-results-admin-public-api

#- job: PublicPlaywrightUItest
# displayName: Public suite - Playwright UI tests
Expand Down
Loading
Loading