Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(web): correct remaining license comparison cells

Richie McIlroy8122073d8f28
diff --git a/apps/web/__tests__/unit/async-video-code-reviews-page.test.ts b/apps/web/__tests__/unit/async-video-code-reviews-page.test.ts
index 088cf28c4..364f2a46c 100644
--- a/apps/web/__tests__/unit/async-video-code-reviews-page.test.ts
+++ b/apps/web/__tests__/unit/async-video-code-reviews-page.test.ts
@@ -55,6 +55,13 @@ describe("AsyncVideoCodeReviewsPage component content", () => {
expect(componentSource).toContain("comparisonTable");
});
+ it("describes the license split in the comparison table", () => {
+ expect(componentSource).toContain(
+ '{ text: "Yes — AGPLv3 and MIT crates", status: "positive" }',
+ );
+ expect(componentSource).not.toContain('{ text: "Yes — MIT"');
+ });
+
it("includes recording modes section", () => {
expect(componentSource).toContain("recordingModes");
});
diff --git a/apps/web/__tests__/unit/developer-documentation-videos-page.test.ts b/apps/web/__tests__/unit/developer-documentation-videos-page.test.ts
index 0f2815f66..616de9caf 100644
--- a/apps/web/__tests__/unit/developer-documentation-videos-page.test.ts
+++ b/apps/web/__tests__/unit/developer-documentation-videos-page.test.ts
@@ -59,6 +59,13 @@ describe("DeveloperDocumentationVideosPage component content", () => {
expect(componentSource).toContain("comparisonTable");
});
+ it("describes the license split in the comparison table", () => {
+ expect(componentSource).toContain(
+ '{ text: "Yes — AGPLv3 and MIT crates", status: "positive" }',
+ );
+ expect(componentSource).not.toContain('{ text: "Yes — MIT"');
+ });
+
it("includes recording modes section", () => {
expect(componentSource).toContain("recordingModes");
});
diff --git a/apps/web/__tests__/unit/hipaa-compliant-screen-recording-page.test.ts b/apps/web/__tests__/unit/hipaa-compliant-screen-recording-page.test.ts
index e6373256f..5d22c1460 100644
--- a/apps/web/__tests__/unit/hipaa-compliant-screen-recording-page.test.ts
+++ b/apps/web/__tests__/unit/hipaa-compliant-screen-recording-page.test.ts
@@ -59,6 +59,13 @@ describe("HipaaCompliantScreenRecordingPage component content", () => {
expect(componentSource).toContain("comparisonTable");
});
+ it("describes the license split in the comparison table", () => {
+ expect(componentSource).toContain(
+ '{ text: "Yes — AGPLv3 and MIT crates", status: "positive" }',
+ );
+ expect(componentSource).not.toContain('{ text: "Yes — MIT"');
+ });
+
it("includes recording modes section", () => {
expect(componentSource).toContain("recordingModes");
});
diff --git a/apps/web/__tests__/unit/self-hosted-screen-recording-page.test.ts b/apps/web/__tests__/unit/self-hosted-screen-recording-page.test.ts
index a6651bbcd..bece788b5 100644
--- a/apps/web/__tests__/unit/self-hosted-screen-recording-page.test.ts
+++ b/apps/web/__tests__/unit/self-hosted-screen-recording-page.test.ts
@@ -53,6 +53,13 @@ describe("SelfHostedScreenRecordingPage component content", () => {
expect(componentSource).toContain("comparisonTable");
});
+ it("describes the license split in the comparison table", () => {
+ expect(componentSource).toContain(
+ '{ text: "Yes — AGPLv3 and MIT crates", status: "positive" }',
+ );
+ expect(componentSource).not.toContain('{ text: "Yes — MIT"');
+ });
+
it("includes recording modes section", () => {
expect(componentSource).toContain("recordingModes");
});
diff --git a/apps/web/components/pages/seo/AsyncVideoCodeReviewsPage.tsx b/apps/web/components/pages/seo/AsyncVideoCodeReviewsPage.tsx
index 6f6b5967e..e1e8d371c 100644
--- a/apps/web/components/pages/seo/AsyncVideoCodeReviewsPage.tsx
+++ b/apps/web/components/pages/seo/AsyncVideoCodeReviewsPage.tsx
@@ -136,7 +136,7 @@ export const asyncVideoCodeReviewsContent: SeoPageContent = {
],
[
"Open source",
- { text: "Yes — MIT", status: "positive" },
+ { text: "Yes — AGPLv3 and MIT crates", status: "positive" },
{ text: "No", status: "negative" },
{ text: "Open source (GitHub)", status: "positive" },
{ text: "No", status: "negative" },
diff --git a/apps/web/components/pages/seo/DeveloperDocumentationVideosPage.tsx b/apps/web/components/pages/seo/DeveloperDocumentationVideosPage.tsx
index e8c65b58d..f75801c20 100644
--- a/apps/web/components/pages/seo/DeveloperDocumentationVideosPage.tsx
+++ b/apps/web/components/pages/seo/DeveloperDocumentationVideosPage.tsx
@@ -130,7 +130,7 @@ export const developerDocumentationVideosContent: SeoPageContent = {
],
[
"Open source",
- { text: "Yes — MIT", status: "positive" },
+ { text: "Yes — AGPLv3 and MIT crates", status: "positive" },
{ text: "No", status: "negative" },
{ text: "No", status: "negative" },
{ text: "No", status: "negative" },
diff --git a/apps/web/components/pages/seo/HipaaCompliantScreenRecordingPage.tsx b/apps/web/components/pages/seo/HipaaCompliantScreenRecordingPage.tsx
index 3bdc0b87f..a3a6de507 100644
--- a/apps/web/components/pages/seo/HipaaCompliantScreenRecordingPage.tsx
+++ b/apps/web/components/pages/seo/HipaaCompliantScreenRecordingPage.tsx
@@ -107,7 +107,7 @@ export const hipaaCompliantScreenRecordingContent: SeoPageContent = {
],
[
"Open-source code",
- { text: "Yes — MIT", status: "positive" },
+ { text: "Yes — AGPLv3 and MIT crates", status: "positive" },
{ text: "No", status: "negative" },
{ text: "No", status: "negative" },
{ text: "No", status: "negative" },
diff --git a/apps/web/components/pages/seo/SelfHostedScreenRecordingPage.tsx b/apps/web/components/pages/seo/SelfHostedScreenRecordingPage.tsx
index f96d97628..e9b00a64e 100644
--- a/apps/web/components/pages/seo/SelfHostedScreenRecordingPage.tsx
+++ b/apps/web/components/pages/seo/SelfHostedScreenRecordingPage.tsx
@@ -103,7 +103,7 @@ export const selfHostedScreenRecordingContent: SeoPageContent = {
],
[
"Open source",
- { text: "Yes — MIT", status: "positive" },
+ { text: "Yes — AGPLv3 and MIT crates", status: "positive" },
{ text: "No", status: "negative" },
{ text: "No", status: "negative" },
{ text: "No", status: "negative" },