Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade dependency version * functional test code * chore: clean up and refactor of config for tests. * chore: add refactored files for updated reference * Si 178 report creation (#1561) * configuring reports * fix conflicts * updates to test * remove wip logger feature --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * chore: add refactored code for the tes * chore: refactoring of the framework * chore: refactoring of the tests and structure * Implement logging to the framework (#1562) * Implement logging to the framework * add error catch logic * Update logging to match new folder format --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * chore: make the events summary and events description page as a common page * chore: add file rename to test code and application * chore: fixed some more code that is refactored * chore:fixes for the refactoring of the tests to execute with work allocation tasks... * Code modified with CI Config (#1564) * Code modified with ci CONFIG * change archive file path * Create new test stage for playwright tests * Amend jenkins config * more amend to jenkins config * move test stage in config * update functional test step * enable playwright test in smoke step * revert functional script * chore: testing the reporting functionality. * chore: fixed the unwnated brace for the pipeline to execute. * chore: report to work * chore:final testing for the report * chore: fixed some more code that is refactored * chore:fixes for the refactoring of the tests to execute with work allocation tasks... --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * feat: add Send to Admin tests * [SSCSSI-238] add associate case tests (#1570) * add associate case tests * rename file and update comments * address review comments --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * SSCSSI-278: Evidence Reminder case tests (#1571) * Add initial tests * Update tests for evidence reminder * Update tests for evidence reminder * Update steps for evidence reminder * Fix conflict * Fix conflicts * Readd URLs * functional-test/pages/common/homePage.ts --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * exlcude functional test folder * Update playwright.config.ts * Update package.json * Update playwright.config.ts * Update package.json * Update Jenkinsfile_CNP * Added test for Listing Error event and updating verifyPageContent met… (#1572) * Added test for Listing Error event and updating verifyPageContent method. * Added test for Listing Error event and updating verifyPageContent method. * Update config.ts * Update listing-error.spec.ts * SSCSSI-278: Evidence Reminder case tests (#1571) * Add initial tests * Update tests for evidence reminder * Update tests for evidence reminder * Update steps for evidence reminder * Fix conflict * Fix conflicts * Readd URLs * functional-test/pages/common/homePage.ts --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> --------- Co-authored-by: pats-john <13101669+pats-john@users.noreply.github.com> Co-authored-by: Derin Aya <106395889+derin-aya@users.noreply.github.com> Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Sscs 177 (#1590) * chore: updated branch with required code and not WS files * update caseworker creds for a more stable tests * remove flaky checks * rename env variable * add screenshot config * add judge users * update test * Increase re-try * add wait before submissions * add wait to avoid case update error * add delay for event trigger * update wait with page reload --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Test code for upload response event, error scenarios & refactored oop… (#1582) * test code for upload response event, error scenarios & refactored oops changes * re-adding parallel config * update file path * wip code * refactored code ficx --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Case dormant (#1594) * chore: add the teardown code for making a case Dormant * chore: fix path for failing uploadResponse tests... --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * SSCSSI-310 - implement new jenkins step (#1595) * implement new jenkins step * update config * udpate test * move reports to test stage * add test stage for playwright tests * wip code * chore: add fixed the uplaod response tests * chore:fixed the upload response tests * chore:removed the unwanted tag in the test execution * chore:add the relevant visibility test for the issues around element hiding * chore: upgraded the retry configuration to execute the test * chore:testing the file upload functionality * chore: fixed the relevant test locally and testing in the pipeline * chore: removal of unwanted only * chore: commenting out unwanted tests * chore: add delays to fix other events to be completed. * chore: changed and fixed the text match comparison * chore: changed the presence of text for the purpose of testing * chore: add a slow test to the error test * chore: further testing of the code * chore: testing the timeout of test * chore: button force click code * chore: testing the test for the automation * chore: testing in the pipeline * chore: testing with the directory * chore: testing the pipeline test * chore:testing the pipeline execution * chore:testing the test in the pipeline * chore: add the fix for the tests * fix: add programatic screenshots * fix: test failure fix for the pipeline * fix: testing with another user credentials * fix: add fix to the history tab verfication * fix: for the time delay after the case is loaded. * fix: trying to update the GO click issue. * fix: tests for the History tab * fix: tests in the pipeline * fix: the broken Error test * fix: added the slow to the second test * fix: add the fixes with the soinner * fix: commenting the spinner * fix: added delays to the code instead of the spinner * wip test code * add few more delays * re-add slow command * Enable trace for debugging * update locator for a button * skip upload test as it is flaky * add delay before submit --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * [SSCSSI-237]: Add send to judge test (#1586) * Add send to judge test * remove unused imports * update send to judge test * update send to judge tests --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * refactor: adding the hook methods to the tests. (#1597) * refactor: adding the hook methods to the tests. * chore: the variable for the super user defined * chore: testing the various code changes * chore: fixing the environment variables for secrets * chore: remove the only keyword * chore: add a time check for the automation tests. * fix: testing the rebased commit * fix: the broken CNP file --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * fix uplaod response tests (#1604) Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * re-add ccd api url * remove clear cookies * add delay after login * update login function * fix flakiness around login * Refactor login cookies (#1605) * fix: send to judge fixed and completed * fix: add fix for the cookies and changed user for send to judge * fix:add test to fix sedn to judge * fix: add a test that is required to test the latest refactored fixes.. * fix: tests that are required for executing all the tests... * fix: Login Case with ID * fix: adding the clear cache flag * fix: comment breaking test to make pipeline green * refactor: changed the clear cache i * refactor : remvoving unwanted logins as hmrc * refactor: * refactor: clean the tests to use the right login * refactor: changed the login * refactor: added all of the dormant api code * fix: tests to be fixed * fix: add delay before choosing the drop down option * fix:change to a user that was in error in the tests. * fix test --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * SSCSSI-327: Add Test Case Dormant Event (#1600) * Add test for send Case to Dormant * Revert config change * Remove package-lock.json and yarn.lock from tracking * Revert lock changes * Update package.json * Update package.json * Add files via upload * Revert config.ts * Update .gitignore * Fix historyTab locator * Fix historyTab locator * Fix spacing * Fix spacing * Fix spacing * Add test for send Case to Dormant * Revert config change * Remove package-lock.json and yarn.lock from tracking * Update package.json * Update package.json * Add files via upload * Revert config.ts * Update .gitignore * Fix historyTab locator * Rebase with remote * Fix spacing * Fix spacing * Fix spacing * Add test for send Case to Dormant * Revert config change * Remove package-lock.json and yarn.lock from tracking * Update package.json * Update package.json * Add files via upload * Revert config.ts * Update .gitignore * Fix historyTab locator * Rebase with remote * Fix spacing * Fix spacing * Fix spacing * Add test for send Case to Dormant * Revert config change * Remove package-lock.json and yarn.lock from tracking * Update package.json * Update package.json * Add files via upload * Revert config.ts * Update .gitignore * Fix historyTab locator * Fix historyTab locator * Fix spacing * Fix spacing * Fix spacing * rebase branch * rebase branch * Introduce delay * Refactor tests * Increase delay * Update with origin * fix: updated the code for renaming the login of the caseworker * Remove delay * fix:changed the user to super user as caseworker may not work for event * Correct login * fix: revoking the previous change for the tests to execute. --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * SSCSSI 328: Add Test Void a Case (#1602) * Add test for send Case to Dormant * Revert config change * Remove package-lock.json and yarn.lock from tracking * Revert lock changes * Update package.json * Update package.json * Add files via upload * Revert config.ts * Update .gitignore * Add tests for void case * Revert local config change * Revert local config change * Revert local config change * Fix history locator * Update historytab locator * Update historytab locator * Comment out history validation * Comment out history validation * Comment out history validation * Comment out history validation * Comment out history validation * Fix history tab * Delete package-lock.json * Remove old locator * Refactor tests * fix:issue with the user for the case void test. --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * SSCSSI-189: Add test for "Send to With FTA" event (#1608) * Add test for send case to FTA * Update login to specify user * SSCSSI 329: Test Strike Out Case Event (#1603) * Add test for send Case to Dormant * Revert config change * Remove package-lock.json and yarn.lock from tracking * Revert lock changes * Update package.json * Update package.json * Add files via upload * Revert config.ts * Update .gitignore * Fix historyTab locator * Add test for strike out event * Add test for strike out event * Update tests for strikeout * Update branch with origin * Update branch with origin * Update branch with origin * fix: fixed the strike out user access --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * add helper method of upload response step to be re-used for other tests (#1611) * add helper method of upload response step to be re-used for other tests * ignore yarn issues --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * suppress yarn warnings * [SSCSSI-265]: Review admin action work allocation task tests (#1592) * add work allocation tests * update tests * Additional changes * Remove commented code * update information received page methods * Update Work Allocation tests * Update config * remove unused methods * remove reference to removed file * fix wa test * update wa tests * update review admin action task spec * update review admin action task tests * use instances from base step in information received event method * yarn audit known issues --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * add request time extension tests (#1617) * add request time extension tests * move texts into json file * suppress yarn issues --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Add Caching (#1614) * chore: added the caching code * feature: cache initial version implemented * chore: refactor of the exisitng event token * fix: broken test case-dormant in the pipeline * fix: fixed the caching issue with the user * chore: fix the values of the payload * fix: getting the pipeline working for the caching method * fix: adding interim test * feat:add the caching to the api access layer * fix: removed the only in the case-dormant test * fix: npm audit fix... * fix: test that is struggling with the caching of the tokens * fix: adding the delete on expire flag. --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * SSCSSI 217: Appeal Withdrawn Event (#1610) * Add test for Appeal Withdrawn event * Update yarn-audit-known-issues * Update verify history tab * Navigate to history tab * Navigate to history tab * Navigate to history tab * Update user * Update user * Remove logging * Correct formatting * Correct formatting * feat: add all the api driven payload to upload a response. (#1621) * feat: add all the api driven payload to upload a response. * chore: enabling for all of the test and testing the API call... --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * [SI-272]: add listing error work allocation task e2e tests (#1622) * add listing error work allocation task tests * update comments * update review listing error task spec file * add delay for ready to list event completion --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * fix flaky listing error task tests (#1625) * fix flaky listing error task tests * yarn known issues * update review listing error task tests --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * Add urgent hearing tests (#1626) * Add urgent hearing tests * suppress yarn warnings --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * [SI-262]: add review FTA response task work allocation tests (#1630) * add review fta response task work allocation tests * yarn known issues --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * add file upload error tests (#1628) Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * feat: add the death to appellant tests (#1631) * feat: add the death to appellant tests * modified to create case data before every test --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * update lock file * install node-cache lib * update lock file * Sscssi 350 (#1635) * fix: not executing the work allocation tests as not sure of the ccd defintion file * test: proper tagging for work allocation --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * Sscssi 201 reinstatement tests (#1633) * Add reinstatement tests * suppress package * revert history tab locator * skip WA tests --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * SSCSSI-347: Add tests for Appeal Dormant event (#1629) * Add tests for Appeal Dormant event * Update appeal dormant --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * SSCSSI-183: Create a Bundle Test (#1632) * Add test for Create a Bundle event * Rename Bundles tab * Fix spacing * Add slow test * Add bundle tab and page to steps * Add bundle tab and page to steps * Remove old func * Update create.bundle.ts * Cleanup code --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * SI-195 link a case event (#1619) * Added test for Listing Error event and updating verifyPageContent method. * Added test for Listing Error event and updating verifyPageContent method. * Update config.ts * Update listing-error.spec.ts * SSCSSI-278: Evidence Reminder case tests (#1571) * Add initial tests * Update tests for evidence reminder * Update tests for evidence reminder * Update steps for evidence reminder * Fix conflict * Fix conflicts * Readd URLs * functional-test/pages/common/homePage.ts --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Added tests for Link a case event including removing link between case. * Added tests for Link a case event including removing link between case. --------- Co-authored-by: pats-john <13101669+pats-john@users.noreply.github.com> Co-authored-by: Derin Aya <106395889+derin-aya@users.noreply.github.com> Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * fix failing tests (#1643) * fix failing tests * fix failing link case tests * fix failing link case tests * fix failing tests * fix failing link case tests * fix failing link case tests * exclude format-v4-audit file from sonar --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * [SSCSSI-266]: Add Review BF date work allocation task tests (#1642) * add review bf date wa tests * update review bf date wa test spec file * update review bf date wa test spec file * exclude format-v4-audit file from sonar * fix flaky link case test --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * [SSCSSI-260]: Review incomplete appeal work allocation task tests (#1638) * add incomplete appeal WA task tests * update review incomplete appeal task spec * update review incomplete task tests * update incomplete appeal json --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * [SSCSSI-263]: add Action Unprocessed correspondence CTSC task work allocation tests (#1644) * add Action Unprocessed correspondence wa task tests * update spec files * fix flaky tests --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * revert filtered tags * Sscssi 188 (#1646) * wip hearings upload code * update test code * re-add break --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * [SSCSSI-271]: Review bi-lingual document CTSC work allocation task tests (#1647) * add review bi-lingual document wa task tests * fix create bundle test --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * SSCSSI 199: Provide Appointee Details tests (#1640) * Add in test scenarios for Provide Appointee Details event * Refactor appointee details population * Add scenarios for Provide Appointee Details * Skip Bundle tests * update test users * enable create bundle tests * add case creation to hooks * amend test --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Sscssi 192 v2 (#1648) * test: trying to get the issue directions notice tests working along with the main test/dev pipeline * fix: fixed the broken build of the merge * test: fixing the tests to run in the pipeline by increasing the workers... * test: fixes the updated json key values in the Resinstament, Urgent hearing and eventName to eventNameCaptor in request time extension * fix: fixed further eventName to eventNameCaptor as the drop down was not getting selected. --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * upload phe tests (#1649) * upload phe tests * remove commented code * reduce workers to 10 * reduce number of workers again * reset worker count * update test case login * Amend test to solve flakiness --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Adding Update subscription scenario SI-212 (#1650) * ucb tests (#1651) Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * [SSCSSI-279]: add Review Reinstatement Request - Judge work allocation task tests (#1652) * add review reinstatement request task tests * update reinstatement spec file * fix urgent hearing request tests * rearrange reinstatement wa tests --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * SI-208-210 update other party data scenarios (#1657) * Adding update other party data scenario ChildSupport case * Fixing first scenario + adding Tax Credit scenario - SI-208 covered * Adding other party subscriptions SI-210 * addressing latest review comments * addressing review comments + fixing tab navigation * fix failing WA tests (#1659) Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * Sscssi 270 add review information requested (#1655) * [SSCSSI-270]: Add Review Information Requested * uncommented test.afterAll * updated request info from party spec file * rearrange the test for request info from party --------- Co-authored-by: Nixon Thapa <nixon.thapa@solirius.com> Co-authored-by: gokul <69240498+gokul-sol@users.noreply.github.com> * [SSCSSI-280]: Add Review Urgent Hearing Request - Judge work allocation task tests (#1660) * add Review Urgent Hearing request wa task tests * update urgent hearing spec file --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * wip code (#1661) Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Sscssi 187 (#1658) * test: write/issue final decision tests * test: added another PIP test for the purpose of testing. * test: add test perform the issue final decision * test: add tags to the tests for execution * test: added a fix to the decision page input * test: added the retry for the tests to execute smoothly * test: adding the tax credit - generate notice no scenario * test: fix the ci configuration for the tests * test:added the universal credit issue final decision test * test: adding the send to interloc test for the purposes of automation. * fix: removed the unwanted only and reverted the config 0 * fix: adding all the unwanted files to the test * fix: fixed the issue directions error tests * fix: tests for the issue order notice * fix: test that was failing by changing the input fields.... * fix: a method was missed during the merge resolutions --------- Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> * SSCSSI-207 update not listable (#1662) * Added test for Listing Error event and updating verifyPageContent method. * Added test for Listing Error event and updating verifyPageContent method. * Update config.ts * Update listing-error.spec.ts * SSCSSI-278: Evidence Reminder case tests (#1571) * Add initial tests * Update tests for evidence reminder * Update tests for evidence reminder * Update steps for evidence reminder * Fix conflict * Fix conflicts * Readd URLs * functional-test/pages/common/homePage.ts --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Adding Not listable and Update not listable case tests. * Updating Not listable and Update not listable case test suite. --------- Co-authored-by: pats-john <13101669+pats-john@users.noreply.github.com> Co-authored-by: Derin Aya <106395889+derin-aya@users.noreply.github.com> Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * SSCSSI-203 search filter scenario (#1665) * Adding search filter scenario * fixing test run + typos * fixing assertion bits * fixing casetype and tag * Updating Not listable and Update not listable case test suite. --------- Co-authored-by: Arunabha Chowdhury <90389022+ArunabhaChowdhury@users.noreply.github.com> * add Review FTA Time Extension Request (#1668) * SI-202 reissue further evidence (#1670) * adding Reissue further evidence scenario * adding pipeline tag * tidying up test * adding assertion to Update case only in history tab * fixing vulnerabilities * Create hearing test code (#1674) * Create hearing test code * cancellation test * cancellation tests * suppress yarn warnings * add amend test code * dynamically set weekdays for hearings * update date value --------- Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * [SSCSSI-295]: add tests for Allocate Case Roles and Create Bundle work allocation task (#1682) * add allocate case roles and create bundle wa tasks tests * update spec files --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * [SSCSSI-281]: add Review PHE Request work allocation task tests (#1686) * add review PHE request wa task tests * update review PHE wa task tests --------- Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> * Esa tests (#1683) Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> * Tests to run on path-to-live pipeline * update wrokers * increase workers * reduce retry count * suppress warnings * lean master pipeline tests * initate trigger to run every hour for monitoring purpose * set build trigger to happen between 9 to 5 tomorrow * fix cron trigger timing * remove auto hourly trigger * remove tests scheduled to run on path to live pipeline * Remove placeholder test run setup from preview --------- Co-authored-by: rentaluser <rentaluser@rentalusers-mbp.home> Co-authored-by: rentaluser <rentaluser@rentalusers-MacBook-Pro.local> Co-authored-by: rentaluser <rentaluser@unknown.home> Co-authored-by: gokul-sol <gokul.sridharan@HMCTS.NET> Co-authored-by: Pettedson John <pettedson.john1@hmcts.net> Co-authored-by: pavihmcts <110388263+pavihmcts@users.noreply.github.com> Co-authored-by: Pavi <pva08@Pavithrans-MacBook-Pro.local> Co-authored-by: Derin Aya <106395889+derin-aya@users.noreply.github.com> Co-authored-by: Praveen Adusumilli <47391951+adusumillipraveen@users.noreply.github.com> Co-authored-by: Arunabha Chowdhury <90389022+ArunabhaChowdhury@users.noreply.github.com> Co-authored-by: pats-john <13101669+pats-john@users.noreply.github.com> Co-authored-by: markbrooks725 <107925801+markbrooks725@users.noreply.github.com> Co-authored-by: lucianotmarsilio <107107435+lucianotmarsilio@users.noreply.github.com> Co-authored-by: nixonthapa <nixon.thapa2@hmcts.net> Co-authored-by: Nixon Thapa <nixon.thapa@solirius.com> Co-authored-by: sanjayparekh-hmcts <36845702+sanjayparekh-hmcts@users.noreply.github.com>
- Loading branch information