Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add e2e test for some languages #1721

Merged
merged 4 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/complete-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ jobs:
{zip: "fileMultiRoot.zip", name: "fileMultiRoot", folder: "f0", language: "java", cliArgs: "--new f1"},
{zip: "folderMultiRoot.zip", name: "folderMultiRoot", folder: "f0", language: "java", cliArgs: "--new f1"},
{zip: "mixedMultiRoot.zip", name: "mixedBaseFile", folder: "f0", language: "java", cliArgs: "--new f1"},
{zip: "mixedMultiRoot.zip", name: "mixedBaseFolder", folder: "f1", language: "java", cliArgs: "--new f0"}
{zip: "mixedMultiRoot.zip", name: "mixedBaseFolder", folder: "f1", language: "java", cliArgs: "--new f0"},
{zip: "cpp.zip", name: "cpp", folder: "./cpp", language: "cpp", cliArgs: ""},
{zip: "csharp.zip", name: "csharp", folder: "./csharp", language: "csharp", cliArgs: ""},
{zip: "python.zip", name: "python", folder: "./python", language: "python3", cliArgs: ""}
]

steps:
Expand Down
Binary file added .github/workflows/files/cpp.zip
Binary file not shown.
Binary file added .github/workflows/files/csharp.zip
Binary file not shown.
Binary file added .github/workflows/files/python.zip
Binary file not shown.
15 changes: 15 additions & 0 deletions report-viewer/tests/e2e/OpenComparisonTest.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,21 @@ const testSets: DataSet[] = [
datasetName: 'folderMultiRoot-report.zip',
firstSubmissionName: 'f0\\\\|/0',
secondSubmissionName: 'f1\\\\|/1'
},
{
datasetName: 'python-report.zip',
firstSubmissionName: '01.py',
secondSubmissionName: '02.py'
},
{
datasetName: 'cpp-report.zip',
firstSubmissionName: '01.cpp',
secondSubmissionName: '02.cpp'
},
{
datasetName: 'csharp-report.zip',
firstSubmissionName: '01.cs',
secondSubmissionName: '02.cs'
}
]

Expand Down