Skip to content

Commit 93afbf4

Browse files
authored
[playwrighttesting] Migrate playwrighttesting projects to use snippet extraction (#33243)
### Packages impacted by this PR - @azure/microsoft-playwright-testing ### Issues associated with this PR - #32416 ### Describe the problem that is addressed by this PR Updates all projects under `playwrighttesting` to use snippets extraction. ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? ### Are there test cases added in this PR? _(If not, why?)_ ### Provide a list of related PRs _(if any)_ ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [ ] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary)
1 parent 7ca3251 commit 93afbf4

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

sdk/playwrighttesting/microsoft-playwright-testing/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
6666
"unit-test:browser": "echo skipped",
6767
"unit-test:node": "dev-tool run test:node-ts-input --no-test-proxy -- --timeout 12000 'test/**/*.spec.ts' --exit",
68-
"update-snippets": "echo skipped"
68+
"update-snippets": "dev-tool run update-snippets"
6969
},
7070
"dependencies": {
7171
"@azure/core-rest-pipeline": "^1.16.3",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
describe("snippets", () => {});

sdk/playwrighttesting/microsoft-playwright-testing/test/utils/clInfoProvider.spec.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
14
import { expect } from "@azure-tools/test-utils";
25
import { CIInfoProvider, CI_PROVIDERS } from "../../src/utils/cIInfoProvider";
36
import sinon from "sinon";

sdk/playwrighttesting/microsoft-playwright-testing/test/utils/packageManager.spec.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
14
import { expect } from "@azure-tools/test-utils";
25
import sinon from "sinon";
36
import { getPackageManager } from "../../src/utils/packageManager";

sdk/playwrighttesting/microsoft-playwright-testing/test/utils/reporterUtils.spec.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
14
import { expect } from "@azure-tools/test-utils";
25
import ReporterUtils from "../../src/utils/reporterUtils";
36
import { TestResult as MPTTestResult } from "../../src/model/testResult";

0 commit comments

Comments
 (0)