...
Code Block |
---|
'./e2e/authorise/authorise.spec.ts',
'./e2e/app/**/*.spec.ts',
'./e2e/assessments/assessments.component.spec.ts',
'./e2e/tcs/people/people.component.spec.ts',
'./e2e/tcs/curriculum/curriculum.component.spec.ts',
'./e2e/tcs/post/post.component.spec.ts',
'./e2e/tcs/programme/programme.component.spec.ts',
'./e2e/tcs/specialty-group/specialty-group-list.component.spec.ts' |
E2E smoke test for Admins -UI for Post, Assessment, curriculum, people, programme, speciality-group. |
---|
TIS App authorise user √ should redirect to the authorisation page √ should log in user TIS-Admins-UI App √ should display header component Assessments List √ should load page √ should display a smart search input √ should display pagination √ should display specific data √ should provide column sorting and filtering (one of each) Code Block |
---|
When clicking a column with sorting option
√ should sort records ASC based on this column's data
When clicking on a record
√ should go to view/edit page |
TCS/ People √ should load page √ should display a smart search input √ should display pagination √ should display specific data √ should provide column sorting and filtering (one of each) Code Block |
---|
When clicking on column filter
√ should display columns filters
√ should hide columns filters
When removing default current filter
√ should remove the filter button and reset the results
When checking a filter
√ should display a remove button
√ should have filtered the results
When clicking the remove filter button
√ should remove the filter button and reset the results
When unchecking the selected filter
√ should remove the filter button, uncheck the option and reset the results
When clicking a column with sorting option
√ should sort records ASC based on this column's data
When clicking on a record
√ should go to view/edit page |
TCS/ Curriculum √ should load page √ should display a smart search input √ should display pagination √ should display specific data √ should provide column sorting and filtering (one of each) Code Block |
---|
When clicking on column filter
√ should display columns filters
√ should hide columns filters
When checking a filter
√ should display a remove button
√ should have filtered the results
When clicking the remove filter button
√ should remove the filter button and reset the results
When uncheking the selected filter
√ should remove the filter button, uncheck the option and reset the results
When clicking a column with sorting option
√ should sort records ASC based on this column's data
When clicking on a record
√ should go to view/edit page |
TCS/ Post √ should load page √ should display a smart search input √ should display pagination √ should display specific data √ should provide column sorting and filtering (one of each) Code Block |
---|
When clicking on column filter
√ should display columns filters
√ should hide columns filters
When removing default current filter
√ should remove the filter button and reset the results
When checking a filter
√ should display a remove button
√ should have filtered the results
When clicking the remove filter button
√ should remove the filter button and reset the results
When unchecking the selected filter
√ should remove the filter, uncheck the option and reset the results
When clicking a column with sorting option
√ should sort records ASC based on primary site
When clicking on a record
√ should go to view/edit page |
TCS/ Programme √ should load page √ should display a smart search input √ should display pagination √ should display specific data √ should provide column sorting and filtering (one of each) Code Block |
---|
When clicking on column filter
√ should display columns filters
√ should hide columns filters
When removing default current filter
√ should have some filters actived by default
When checking a filter
√ should display a remove button
√ should have filtered the results
When clicking the remove filter button
√ should remove the filter button and reset the results
When clicking a column with sorting option
√ should sort records ASC based on this column's data
When clicking on a record
√ should go to view/edit page |
TCS/ SpecialtyGroup √ should load page √ should display a smart search input √ should display pagination √ should display specific data √ should provide column sorting |
Out of scope:
Any tests which can make any changes in the database including creating/delete/edit/upload operation across TIS Admin UI.
Environment to run against: Production
The process to run smoke tests in Jenkins pipeline:
After every deployment to production:
Once the E2E test run against Staging environment to test the new changes and changes gets deployed to production, Smoke tests should be running after every change which gets deployed to production to make sure any new changes are not breaking the basic functionality of the application in Production and report will be sent to slack channel.
A new step will be required to add in Jenkins file after the code gets deployed to production to run test smoke test pack.Smoke test pack step has been added to Jenkins pipeline and running after any new changes get deployed to production to make sure any new deployment is not breaking basic functionality of the Production and sending smoke test report notification to notifications-e2e-test-results.
Image Added |
Scheduled nightly job: A scheduled Jenkins job with a schedule to run against production every night will execute a smoke test pack. The test report will be sent in the Slack channel to notify the team like existing e2e test results.
Next Steps to follow: 1. Add smoke test pack in existing Jenkins pipeline to run against production after any changes pushed to production.
2. Create a separate Jenkins job so that test can be scheduled to run nightlyjob (GithubActions) to run on a scheduled basis nightly. The ticket can be found herehttps://hee-tis.atlassian.net/browse/TISNEW-4766
User credentials: Smoke test user has been created and user credentials have been added to Jenkins to run test against production.
Github Repository: https://github.com/Health-Education-England/TIS-ADMINS-UI
...