Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.
TypeScript fintechinvoiceinvoice-generatorinvoice-pdfinvoice-templateinvoicesnextjsopen-sourcequotesreactreact-pdf-rendererself-hostedshadcn-uitailwindcsstypescript
chore: remove demo video assets and update video source links to cdn (#93)
Vlad Sazonaua5568f88c9bb
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex bca8a48..6773c1f 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -85,7 +85,7 @@ jobs:Result: ${{ steps.playwright.outcome == 'success' && '✅ Passed' || '❌ Failed' }}Playwright Browser Binaries Installation Time: ${{ steps.playwright-install.outputs.duration_formatted }}- Playwright Tests Duration: ${{ steps.playwright.outputs.duration_formatted }}+ ${{ steps.playwright.outcome == 'success' && format('Playwright Tests Duration: {0}', steps.playwright.outputs.duration_formatted) }}For more details, please check the GitHub Actions run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}attachments: playwright-output/report/index.htmldiff --git a/e2e/about.test.ts b/e2e/about.test.tsindex 42e8567..41a1ae1 100644--- a/e2e/about.test.ts+++ b/e2e/about.test.ts@@ -37,7 +37,10 @@ test.describe("About page", () => {const video = heroSection.getByTestId("hero-about-page-video");await expect(video).toBeVisible();- await expect(video).toHaveAttribute("poster", "/easy-invoice-hero.webp");+ await expect(video).toHaveAttribute(+ "poster",+ "https://ik.imagekit.io/fl2lbswwo/easy-invoice/easy-invoice-hero.webp"+ );await expect(video).toHaveAttribute("muted");await expect(video).toHaveAttribute("loop");await expect(video).toHaveAttribute("playsinline");@@ -47,7 +50,7 @@ test.describe("About page", () => {const videoSource = video.locator("source");await expect(videoSource).toHaveAttribute("src",- "/easy-invoice-demo.mp4#t=0.001"+ "https://ik.imagekit.io/fl2lbswwo/easy-invoice/easy-invoice-demo.mp4#t=0.001");await expect(videoSource).toHaveAttribute("type", "video/mp4");diff --git a/e2e/invoice-form.test.ts b/e2e/invoice-form.test.tsindex 139229c..fcadc6f 100644--- a/e2e/invoice-form.test.ts+++ b/e2e/invoice-form.test.ts@@ -76,7 +76,10 @@ test.describe("Invoice Generator Page", () => {await expect(video).toBeVisible();- await expect(video).toHaveAttribute("src", "/easy-invoice-demo.mp4");+ await expect(video).toHaveAttribute(+ "src",+ "https://ik.imagekit.io/fl2lbswwo/easy-invoice/easy-invoice-demo.mp4"+ );await expect(video).toHaveAttribute("autoplay", "");await expect(video).toHaveAttribute("controls", "");await expect(video).toHaveAttribute("playsInline", "");diff --git a/public/easy-invoice-demo.mp4 b/public/easy-invoice-demo.mp4deleted file mode 100644index 415fe5f..0000000Binary files a/public/easy-invoice-demo.mp4 and /dev/null differdiff --git a/public/easy-invoice-hero.webp b/public/easy-invoice-hero.webpdeleted file mode 100644index 6965a97..0000000Binary files a/public/easy-invoice-hero.webp and /dev/null differdiff --git a/src/app/[locale]/about/page.tsx b/src/app/[locale]/about/page.tsxindex 4462c98..c4deb42 100644--- a/src/app/[locale]/about/page.tsx+++ b/src/app/[locale]/about/page.tsx@@ -109,8 +109,8 @@ function HeroSection() {</div><Video- src="/easy-invoice-demo.mp4"- fallbackImg="/easy-invoice-hero.webp"+ src="https://ik.imagekit.io/fl2lbswwo/easy-invoice/easy-invoice-demo.mp4"+ fallbackImg="https://ik.imagekit.io/fl2lbswwo/easy-invoice/easy-invoice-hero.webp"testId="hero-about-page-video"/></div>diff --git a/src/app/[locale]/app/page.client.tsx b/src/app/[locale]/app/page.client.tsxindex 6acd1e7..817951e 100644--- a/src/app/[locale]/app/page.client.tsx+++ b/src/app/[locale]/app/page.client.tsx@@ -439,7 +439,7 @@ function ProjectInfo() {</DialogHeader><div className="aspect-video w-full overflow-hidden"><video- src="/easy-invoice-demo.mp4"+ src="https://ik.imagekit.io/fl2lbswwo/easy-invoice/easy-invoice-demo.mp4"mutedcontrolsautoPlay