test(e2e): add MVP end-to-end automation suite and CI workflow (#713)

* test(e2e): add mvp playwright suite and PR workflow

* ci(e2e): use JDK 21 for kkFileView build
This commit is contained in:
kl
2026-03-04 10:46:41 +08:00
committed by GitHub
parent 7f16243270
commit a0d78c57e3
16 changed files with 376 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
name,value
kkFileView,1
e2e,1
1 name value
2 kkFileView 1
3 e2e 1

View File

@@ -0,0 +1 @@
<!doctype html><html><body><h1>kkFileView fixture</h1></body></html>

View File

@@ -0,0 +1,4 @@
{
"app": "kkFileView",
"e2e": true
}

View File

@@ -0,0 +1,3 @@
# kkFileView
This is a markdown fixture.

View File

@@ -0,0 +1,19 @@
%PDF-1.1
1 0 obj<< /Type /Catalog /Pages 2 0 R >>endobj
2 0 obj<< /Type /Pages /Kids [3 0 R] /Count 1 >>endobj
3 0 obj<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 200] /Contents 4 0 R >>endobj
4 0 obj<< /Length 44 >>stream
BT /F1 12 Tf 72 120 Td (kkFileView e2e pdf) Tj ET
endstream
endobj
xref
0 5
0000000000 65535 f
0000000010 00000 n
0000000060 00000 n
0000000117 00000 n
0000000212 00000 n
trailer<< /Root 1 0 R /Size 5 >>
startxref
306
%%EOF

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 B

View File

@@ -0,0 +1 @@
kkFileView e2e sample text

View File

@@ -0,0 +1 @@
<root><name>kkFileView</name><e2e>true</e2e></root>