Disable playwright tests for legacy crypto (#12662)
* Disable "legacy crypto" playwright project * playwight: Remove crypto stack conditions We only ever run under the rust stack now, so these conditions are redundant. * playwright: remove `cryptoBackend` test option * playwright: remove redundant `projects` We don't need this any more * playwright: remove redundant `TestOptions`
This commit is contained in:
parent
9c862907f9
commit
efd309f5f9
6 changed files with 62 additions and 116 deletions
|
@ -16,11 +16,9 @@ limitations under the License.
|
|||
|
||||
import { defineConfig } from "@playwright/test";
|
||||
|
||||
import { TestOptions } from "./playwright/element-web-test";
|
||||
|
||||
const baseURL = process.env["BASE_URL"] ?? "http://localhost:8080";
|
||||
|
||||
export default defineConfig<TestOptions>({
|
||||
export default defineConfig({
|
||||
use: {
|
||||
viewport: { width: 1280, height: 720 },
|
||||
ignoreHTTPSErrors: true,
|
||||
|
@ -42,16 +40,6 @@ export default defineConfig<TestOptions>({
|
|||
workers: 1,
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
|
||||
projects: [
|
||||
{
|
||||
name: "Legacy Crypto",
|
||||
use: { cryptoBackend: "legacy" },
|
||||
},
|
||||
{
|
||||
name: "Rust Crypto",
|
||||
use: { cryptoBackend: "rust" },
|
||||
},
|
||||
],
|
||||
snapshotDir: "playwright/snapshots",
|
||||
snapshotPathTemplate: "{snapshotDir}/{testFilePath}/{arg}-{platform}{ext}",
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue