2020-02-13 04:52:40 +03:00
|
|
|
{
|
2020-02-19 22:38:02 +03:00
|
|
|
"ignore": [
|
2023-03-01 17:18:21 +03:00
|
|
|
".dependabot",
|
2020-02-19 22:38:02 +03:00
|
|
|
".git",
|
2022-01-27 02:45:52 +03:00
|
|
|
".github",
|
2023-03-01 17:18:21 +03:00
|
|
|
".yarn",
|
|
|
|
"**/.DS_Store",
|
2020-02-19 22:38:02 +03:00
|
|
|
"**/.gitattributes",
|
feat(pr-baseline-2): add a pipeline for ADO staging validation scenarios (#947)
#### Details
This PR adds partial automation for the e2e release validation scenarios for the ADO extension. Once this is merged, the intention is to update the `Verify ADO extension works when codebase is in GitHub` release validation scenario to read something like this:
```
## ADO extension CI scenarios with GitHub repo
- [ ] Find the `ado-extension-github-repo-staging-validation` CI build corresponding to this staging release from [the list of builds](https://example.com/link/to/definition). Paste a link to it here: <INSERT LINK>
- For each of the test cases run by the build, verify that it succeeds or fails appropriately, that it produces a reasonable-looking report in its corresponding build artifact, that task log output looks reasonable, and that it produces the expected updated baseline file (if applicable).
- [ ] [should succeed] case 1: siteDir, no baseline
- [ ] [should succeed] case 2: url, no baseline
- [ ] [should succeed] case 3: up-to-date baseline
- [ ] [should fail] case 4: baseline missing failures
- [ ] [should fail] case 5: baseline with resolved failures
- [ ] [should fail] case 6: new baseline file
- [ ] [should fail] case 7: failOnAccessibilityError
## ADO extension PR scenarios with GitHub repo
- [ ] Create a new draft PR in the `microsoft/accessibility-insights-action` repo which makes a no-op change to `/dev/README.md`
- [ ] This should trigger an `ado-extension-github-repo-staging-validation` PR build. Paste a link to the PR build here: <INSERT LINK>
- For each of the test cases run by the build, verify that it succeeds or fails appropriately, that it produces a reasonable-looking report in its corresponding build artifact, that task log output looks reasonable, and that it produces the expected updated baseline file (if applicable).
- [ ] [should succeed] case 1: siteDir, no baseline
- [ ] [should succeed] case 2: url, no baseline
- [ ] [should succeed] case 3: up-to-date baseline
- [ ] [should fail] case 4: baseline missing failures
- [ ] [should fail] case 5: baseline with resolved failures
- [ ] [should fail] case 6: new baseline file
- [ ] [should fail] case 7: failOnAccessibilityError
```
##### Motivation
Make ADO release process more automated
##### Context
n/a
#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox -->
- [n/a] Addresses an existing issue: Fixes #0000
- [n/a] Added relevant unit test for your changes. (`yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage`
- [x] Ran precheckin (`yarn precheckin`)
- [x] (after PR created) The `Accessibility Checks (pull_request)` check should fail. All other checks should pass.
2021-11-22 22:55:45 +03:00
|
|
|
"**/*.baseline",
|
2021-07-21 19:19:34 +03:00
|
|
|
"**/*.snap.md",
|
2023-03-01 17:18:21 +03:00
|
|
|
"**/*.snap",
|
2021-08-17 00:00:08 +03:00
|
|
|
"**/*.taskkey",
|
2023-03-01 17:18:21 +03:00
|
|
|
"**/CODEOWNERS",
|
|
|
|
"**/dist",
|
|
|
|
"**/node_modules",
|
|
|
|
"**/test-results",
|
|
|
|
"**/yarn.lock",
|
|
|
|
"cred-scan-suppressions.json",
|
2023-03-31 21:40:28 +03:00
|
|
|
"package.json",
|
|
|
|
"guardian"
|
2020-02-19 22:38:02 +03:00
|
|
|
],
|
2020-02-13 04:52:40 +03:00
|
|
|
"license": "./copyright-header.txt",
|
|
|
|
"licenseFormats": {
|
|
|
|
"yaml|npmrc|yml|ps1|gitignore|dockerignore|prettierignore|yarnrc|nsh|sh": {
|
|
|
|
"eachLine": {
|
|
|
|
"prepend": "# "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ts|tsx|d.ts|js|scss|css": {
|
|
|
|
"eachLine": {
|
|
|
|
"prepend": "// "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"md": {
|
|
|
|
"prepend": "<!--",
|
|
|
|
"append": "-->"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"trailingWhitespace": "TRIM"
|
|
|
|
}
|