Skip to content

Commit

Permalink
Collecting test coverage from playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Oct 22, 2023
1 parent 72b3433 commit 5f69ba1
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 17 deletions.
2 changes: 1 addition & 1 deletion __tests__/frontend/basic.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/configuration.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/destination-selection-api-error.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/move-api-error.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/move-folders-equal-error.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/move-repeat-after-timeout.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/move-unhandled-error.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/move-unknown-error.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/navigation.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/non-empty.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/source-destination-selection.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/source-selection-api-error.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/source-selection-unknown-error.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/frontend/success-with-errors.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from "@playwright/test";
import { expect, test } from "playwright-test-coverage";

import { setup } from "../test-utils/stub-endpoints";

Expand Down
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"jest": "^28.0.0",
"npm-run-all": "^4.1.5",
"playwright": "^1.39.0",
"playwright-test-coverage": "^1.2.12",
"prettier": "^3.0.3",
"prettier-plugin-svelte": "^3.0.3",
"rimraf": "^5.0.5",
Expand Down

0 comments on commit 5f69ba1

Please sign in to comment.