Extract markdown from source-browsing fixture
modified httpd-client/tests/project.test.ts
@@ -1,7 +1,11 @@
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -19,44 +23,47 @@ describe("project", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -66,7 +73,7 @@ describe("project", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/clipboard.spec.ts
@@ -2,8 +2,8 @@ import type { Page } from "@playwright/test";
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -26,7 +26,7 @@ test("copy to clipboard", async ({ page, browserName, context }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -37,19 +37,21 @@ test("copy to clipboard", async ({ page, browserName, context }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -57,7 +59,7 @@ test("copy to clipboard", async ({ page, browserName, context }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -68,7 +70,7 @@ test("copy to clipboard", async ({ page, browserName, context }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/hashRouter.spec.ts
@@ -3,7 +3,7 @@ import {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -18,7 +18,7 @@ test("navigate between landing and project page", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -27,9 +27,9 @@ test("navigate between landing and project page", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -42,12 +42,12 @@ test.describe("project page navigation", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,20 +55,20 @@ test.describe("project page navigation", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -88,7 +88,7 @@ test.describe("project page navigation", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/historyRouter.spec.ts
@@ -3,7 +3,7 @@ import {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -18,7 +18,7 @@ test("navigate between landing and project page", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -27,9 +27,9 @@ test("navigate between landing and project page", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -42,12 +42,12 @@ test.describe("project page navigation", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,14 +55,14 @@ test.describe("project page navigation", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -70,7 +70,7 @@ test.describe("project page navigation", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -90,7 +90,7 @@ test.describe("project page navigation", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/project.spec.ts
@@ -3,10 +3,12 @@ import type { Page } from "@playwright/test";
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -33,12 +35,12 @@ async function expectCounts(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -53,7 +55,7 @@ test("navigate to project", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -70,8 +72,8 @@ test("navigate to project", async ({ page }) => {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -86,7 +88,7 @@ test("show source tree at specific revision", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -98,14 +100,12 @@ test("source file highlighting", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -113,16 +113,11 @@ test("navigate line numbers", async ({ page }) => {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -165,7 +160,7 @@ test("navigate deep file hierarchies", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -209,7 +204,7 @@ test("files with special characters in the filename", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -218,7 +213,7 @@ test("binary files", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -226,7 +221,7 @@ test("hidden files", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -246,23 +241,27 @@ test("markdown files", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -284,9 +283,9 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -295,9 +294,9 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -324,7 +323,7 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -343,16 +342,18 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -385,14 +386,14 @@ test("only one modal can be open at a time", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -400,32 +401,33 @@ test.describe("browser error handling", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/project/commit.spec.ts
@@ -1,20 +1,21 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -43,9 +44,7 @@ test("modified file", async ({ page }) => {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -60,17 +59,21 @@ test("modified file", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -80,7 +83,7 @@ test("deleted file", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -89,7 +92,7 @@ test("navigation to source tree at specific revision", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/project/commits.spec.ts
@@ -1,15 +1,17 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -22,13 +24,11 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -40,10 +40,10 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -65,7 +65,7 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -77,7 +77,7 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -98,8 +98,8 @@ test("relative timestamps", async ({ page }) => {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -110,7 +110,7 @@ test("relative timestamps", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -124,7 +124,7 @@ test("pushing changes while viewing history", async ({ page, peerManager }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/search.spec.ts
@@ -2,19 +2,19 @@ import { searchPlaceholder } from "@app/lib/shared";
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified tests/e2e/seed.spec.ts
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -20,7 +20,7 @@ test("seed metadata", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -33,8 +33,10 @@ test("seed projects", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
modified tests/e2e/settings.spec.ts
@@ -1,6 +1,6 @@
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
added tests/fixtures/repos/markdown.tar.bz2
modified tests/fixtures/repos/source-browsing.tar.bz2
modified tests/support/fixtures.ts
@@ -1,24 +1,25 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -206,10 +207,13 @@ export async function startPalmHttpd() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -219,17 +223,7 @@ export async function createSeedFixture() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -240,7 +234,6 @@ export async function createSeedFixture() {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -304,14 +297,42 @@ export async function createSeedFixture() {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified tests/support/globalSetup.ts
@@ -1,16 +1,20 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -33,8 +37,27 @@ export default async function globalSetup(_config: FullConfig): Promise<void> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified tests/support/peerManager.ts
@@ -81,7 +81,7 @@ export async function createPeerManager(createParams: {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -89,7 +89,6 @@ export async function createPeerManager(createParams: {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -183,9 +182,8 @@ export class RadiclePeer {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -215,7 +213,6 @@ export class RadiclePeer {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -242,43 +239,6 @@ export class RadiclePeer {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -364,8 +324,7 @@ export class RadiclePeer {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
added tests/support/project.ts
@@ -0,0 +1,41 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified tests/unit/mutexExecutor.test.ts
@@ -1,4 +1,3 @@
| - | |
|
|
|
|
|
@@ -61,14 +60,14 @@ describe("executor", () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -113,9 +112,9 @@ describe("worker", () => {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified tests/visual/markdown.spec.ts
@@ -1,8 +1,8 @@
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -13,7 +13,7 @@ test.describe("markdown rendering", async () => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -80,11 +80,31 @@ test.describe("markdown rendering", async () => {
|
|
|
|
|
|
| - | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -146,3 +166,10 @@ test.describe("markdown rendering", async () => {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified tests/visual/project.spec.ts
@@ -1,12 +1,12 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -22,7 +22,7 @@ test("commits page", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -43,17 +43,10 @@ test("commit page", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |