-
Notifications
You must be signed in to change notification settings - Fork 44
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
[ADO Extension] E2E tests #866
Comments
The GitHub Repo token usage is obsolete, therefor the Accessibility Insights team is going to investigate enabling new E2E tests |
I'm moving this backed to blocked. https://github.com/microsoft/azure-pipelines-task-lib updated |
#### Details This PR reenables E2E test after azure-pipelines-task-lib latest release. ##### Motivation Add an extra layer of security to ensure future code changes don't break the Extension ##### Context Since E2E tests were disabled a year ago when the Extension was in an early stage of development, it was necessary some workarounds that include: * Switching from Mocha to Jest as a test framework * Refactoring of the `run.ts` class, now `run-simple-inputs.js`, responsible for setting the environment for the E2E tests. * Updating `azure-pipeline-task-lib` to v4.0.1-preview that has a fix for a problem found in [#794](microsoft/azure-pipelines-task-lib#794) * Creating a local mock-test file to work around Node issues seen in the pipeline. * Updating the GitHub workflow to run e2e tests on PR. These changes will affect ADO extension's side exclusively. #### Pull request checklist <!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox --> - [x] Addresses an existing issue: Fixes #866 - [x] Added relevant unit test for your changes. (`yarn test`) - [ ] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage` - [x] Ran precheckin (`yarn precheckin`) - [x] Described how this PR impacts both the ADO extension and the GitHub action Co-authored-by: Tania Martinez Villagomez <[email protected]> Co-authored-by: Katy DeCorah <[email protected]>
E2E tests were disabled in #844 due to an issue in webpack. When it is resolved, the tests will need to be turned back on.
The text was updated successfully, but these errors were encountered: