Skip to content

Commit

Permalink
Add Allure test report
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 20, 2024
1 parent 5ad251a commit 1386132
Show file tree
Hide file tree
Showing 21 changed files with 276 additions and 252 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "076f94d0-ea06-407d-9c7d-6e1b3080d91f", "children": ["5199bf7a-e901-487a-be69-d616c3682809", "8f19d348-b5b7-48fb-b894-ec32cc739dd5", "911e3d54-d4dd-4fdc-9b2d-34b736ce1df2", "3a4516cc-5707-4077-ae2b-84148e828e1c", "ff4025c2-a2ab-425b-a7fb-058d31a8b130"], "befores": [{"name": "setup", "status": "passed", "start": 1729401050314, "stop": 1729401052520}], "afters": [{"name": "setup::0", "status": "passed", "start": 1729401139696, "stop": 1729401226684}], "start": 1729401050314, "stop": 1729401226684}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_link_content[Bosch]", "status": "passed", "description": "\n Test job links for the job title presence in the html response output\n ", "parameters": [{"name": "scraper_class", "value": "'Bosch'"}], "start": 1729401052521, "stop": 1729401139555, "uuid": "5199bf7a-e901-487a-be69-d616c3682809", "historyId": "d05d78155d3073feb11d4f34ff124b20", "testCaseId": "3a863062a3835cf6b2ad4e16e5390871", "fullName": "tests.TestJobsValidator.test_api.TestScrapers#test_job_link_content", "labels": [{"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.TestJobsValidator"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1113-71"}, {"name": "thread", "value": "2025-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_cities[Genpact]", "status": "passed", "description": "\n Test job titles contain special characters\n ", "parameters": [{"name": "scraper_class", "value": "'Genpact'"}], "start": 1729401285989, "stop": 1729401286025, "uuid": "72248c33-2e30-41e5-a06f-5e3d29f4328b", "historyId": "ac55e4797f6a40e10c701c4d3b92d2f7", "testCaseId": "1204388ca11ed5cbe72e4cae6999b749", "fullName": "tests.TestJobsValidator.test_api.TestScrapers#test_job_cities", "labels": [{"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.TestJobsValidator"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1113-71"}, {"name": "thread", "value": "2025-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "886592b2-63c6-403f-a8ef-3e6bda0cc3d3", "children": ["5574b105-aed2-4c90-9729-d85a512dd6c3", "1a698be5-79f2-49d7-ad6d-9b0b2b338077", "f418cedb-ad04-406e-8316-5b880a2ac5c6", "72248c33-2e30-41e5-a06f-5e3d29f4328b", "1229485f-1155-4508-969a-fab12606aff3"], "befores": [{"name": "setup", "status": "passed", "start": 1729401226685, "stop": 1729401229195}], "afters": [{"name": "setup::0", "status": "passed", "start": 1729401286027, "stop": 1729401286466}], "start": 1729401226685, "stop": 1729401286466}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_countries[Bosch]", "status": "passed", "description": "\n Test job countries match Romania\n ", "parameters": [{"name": "scraper_class", "value": "'Bosch'"}], "start": 1729401139600, "stop": 1729401139600, "uuid": "911e3d54-d4dd-4fdc-9b2d-34b736ce1df2", "historyId": "24b2b140e3ade175b6ba4e04f3c8ad9f", "testCaseId": "ff71aaf0b30ebc00e265ec1bfc097f9d", "fullName": "tests.TestJobsValidator.test_api.TestScrapers#test_job_countries", "labels": [{"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.TestJobsValidator"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1113-71"}, {"name": "thread", "value": "2025-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_types[Genpact]", "status": "passed", "description": "\n Test job types match ['hybrid', 'remote', 'on-site']\n ", "parameters": [{"name": "scraper_class", "value": "'Genpact'"}], "start": 1729401285986, "stop": 1729401285987, "uuid": "1a698be5-79f2-49d7-ad6d-9b0b2b338077", "historyId": "a4b3a4984ef125cbfcb2fe1ef5291540", "testCaseId": "270208025a81f784ad6c6daea20c79dc", "fullName": "tests.TestJobsValidator.test_api.TestScrapers#test_job_types", "labels": [{"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.TestJobsValidator"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1113-71"}, {"name": "thread", "value": "2025-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_counties[Genpact]", "status": "passed", "description": "\n Test job titles contain special characters\n ", "parameters": [{"name": "scraper_class", "value": "'Genpact'"}], "start": 1729401286026, "stop": 1729401286027, "uuid": "1229485f-1155-4508-969a-fab12606aff3", "historyId": "557ce9db46eac2e81b247540c5a9ac68", "testCaseId": "6cac5ec7a123f1739f4d7b5abe903327", "fullName": "tests.TestJobsValidator.test_api.TestScrapers#test_job_counties", "labels": [{"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.TestJobsValidator"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1113-71"}, {"name": "thread", "value": "2025-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "97e75796-2a67-4633-9536-7b3dc45e94a2", "children": ["5199bf7a-e901-487a-be69-d616c3682809", "8f19d348-b5b7-48fb-b894-ec32cc739dd5", "911e3d54-d4dd-4fdc-9b2d-34b736ce1df2", "3a4516cc-5707-4077-ae2b-84148e828e1c", "ff4025c2-a2ab-425b-a7fb-058d31a8b130"], "befores": [{"name": "scraper_class", "status": "passed", "start": 1729401050307, "stop": 1729401050307}], "start": 1729401050307, "stop": 1729401226685}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_countries[Genpact]", "status": "passed", "description": "\n Test job countries match Romania\n ", "parameters": [{"name": "scraper_class", "value": "'Genpact'"}], "start": 1729401285988, "stop": 1729401285988, "uuid": "f418cedb-ad04-406e-8316-5b880a2ac5c6", "historyId": "19f2c318ff4e85bcd0c274ddef802651", "testCaseId": "ff71aaf0b30ebc00e265ec1bfc097f9d", "fullName": "tests.TestJobsValidator.test_api.TestScrapers#test_job_countries", "labels": [{"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.TestJobsValidator"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1113-71"}, {"name": "thread", "value": "2025-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_types[Bosch]", "status": "passed", "description": "\n Test job types match ['hybrid', 'remote', 'on-site']\n ", "parameters": [{"name": "scraper_class", "value": "'Bosch'"}], "start": 1729401139598, "stop": 1729401139598, "uuid": "8f19d348-b5b7-48fb-b894-ec32cc739dd5", "historyId": "3ed6059cf75eb612fe48d94ad5691b7a", "testCaseId": "270208025a81f784ad6c6daea20c79dc", "fullName": "tests.TestJobsValidator.test_api.TestScrapers#test_job_types", "labels": [{"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.TestJobsValidator"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1113-71"}, {"name": "thread", "value": "2025-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "a05dfbe7-42f3-4a70-99df-91a9cd7053f7", "children": ["5574b105-aed2-4c90-9729-d85a512dd6c3", "1a698be5-79f2-49d7-ad6d-9b0b2b338077", "f418cedb-ad04-406e-8316-5b880a2ac5c6", "72248c33-2e30-41e5-a06f-5e3d29f4328b", "1229485f-1155-4508-969a-fab12606aff3"], "befores": [{"name": "scraper_class", "status": "passed", "start": 1729401226685, "stop": 1729401226685}], "start": 1729401226685, "stop": 1729401286467}
8 changes: 4 additions & 4 deletions docs/allure-results/executor.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "GitHub Actions",
"type": "github",
"url": "https://github.com/peviitor-ro/RaresTestHub/actions/runs/11414827911",
"buildName": "356",
"buildUrl": "https://github.com/peviitor-ro/RaresTestHub/actions/runs/11414827911",
"url": "https://github.com/peviitor-ro/RaresTestHub/actions/runs/11423643373",
"buildName": "357",
"buildUrl": "https://github.com/peviitor-ro/RaresTestHub/actions/runs/11423643373",
"reportName": "Allure Report",
"reportUrl": "https://github.com/peviitor-ro/RaresTestHub/actions/runs/11414827911"
"reportUrl": "https://github.com/peviitor-ro/RaresTestHub/actions/runs/11423643373"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_counties[Bosch]", "status": "passed", "description": "\n Test job titles contain special characters\n ", "parameters": [{"name": "scraper_class", "value": "'Bosch'"}], "start": 1729401139694, "stop": 1729401139695, "uuid": "ff4025c2-a2ab-425b-a7fb-058d31a8b130", "historyId": "b8e34794de9ad783ef56212ccc5159c8", "testCaseId": "6cac5ec7a123f1739f4d7b5abe903327", "fullName": "tests.TestJobsValidator.test_api.TestScrapers#test_job_counties", "labels": [{"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.TestJobsValidator"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1113-71"}, {"name": "thread", "value": "2025-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_cities[Bosch]", "status": "failed", "statusDetails": {"message": "AssertionError: Test found mismatching job cities for the following jobs: ['CNC Machinist Technician, CljP', 'Data Analyst', 'Data Engineer - Oracle', 'Financial responsible for EU projects', 'HR Payroll Specialist - 2 year determined period', 'HSE Engineer, CljP', 'IT Support Engineer', 'Local Authorization Coordinator', 'Product Data Coordinator', 'Product Test Engineer', 'SAP Process Expert', 'Working Student - Administrative Department', 'Working student - Financial field, CljP', 'Working Student - Technical Department', 'Working Student Electronics Team', 'Working Student Logistics Department, CljP', 'Working Student Manufacturing Area', 'Working Student Mechanics Team']", "trace": "self = <TestJobsValidator.test_api.TestScrapers object at 0x7fa2284dac20>\nsetup = (['Accounts Payable Accountant', 'Accounts Payables with Polish', 'Air Conditioning Sales Responsible', 'CNC Machinist...nia', 'Romania', 'Romania', 'Romania', ...], [['Timis'], ['Timis'], ['Bucuresti'], ['Cluj'], ['Timis'], ['Cluj'], ...])\n\n @pytest.mark.smoke\n def test_job_cities(self, setup):\n \"\"\"\n Test job titles contain special characters\n \"\"\"\n peviitor_jobs_data = setup\n job_titles = peviitor_jobs_data[0]\n job_cities = peviitor_jobs_data[1]\n> TestScrapers.setup_tests.jobdetails.check_job_cities(job_cities, job_titles)\n\ntests/TestJobsValidator/test_api.py:80: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/TestJobsValidator/api_utils/job_details_utils.py:124: in check_job_cities\n self.cityutils.check_job_cities(job_cities, job_titles)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <tests.TestJobsValidator.api_utils.job_cities_utils.CitiesTestUtils object at 0x7fa228a20340>\nactual_cities = [['Timisoara'], ['Timisoara'], ['Bucuresti'], ['Jucu'], ['Timisoara'], ['Cluj-Napoca'], ...]\njob_titles = ['Accounts Payable Accountant', 'Accounts Payables with Polish', 'Air Conditioning Sales Responsible', 'CNC Machinist Technician, CljP', 'Communication Manager', 'Computer Vision Engineer, Mobility Aftermarket Technology', ...]\n\n def check_job_cities(self, actual_cities, job_titles):\n # Itterate over actual cities and get_proper_city > city list or none if one was not found\n \n msg = \"Unknown error occured\"\n \n missing_cities = []\n missing_cities_job_titles = []\n \n for city_list, job_title in zip(actual_cities, job_titles):\n if not get_proper_city(city_list):\n missing_cities.append(city_list)\n missing_cities_job_titles.append(job_title)\n \n if missing_cities:\n msg = f\"Test found mismatching job cities for the following jobs: {missing_cities_job_titles}\"\n \n if not actual_cities and not job_titles:\n msg = f\"Cannot grab any job cities or job titles from the validator\"\n allure.step(msg)\n raise AssertionError(msg)\n \n allure.step(msg)\n> assert missing_cities == [], msg\nE AssertionError: Test found mismatching job cities for the following jobs: ['CNC Machinist Technician, CljP', 'Data Analyst', 'Data Engineer - Oracle', 'Financial responsible for EU projects', 'HR Payroll Specialist - 2 year determined period', 'HSE Engineer, CljP', 'IT Support Engineer', 'Local Authorization Coordinator', 'Product Data Coordinator', 'Product Test Engineer', 'SAP Process Expert', 'Working Student - Administrative Department', 'Working student - Financial field, CljP', 'Working Student - Technical Department', 'Working Student Electronics Team', 'Working Student Logistics Department, CljP', 'Working Student Manufacturing Area', 'Working Student Mechanics Team']\n\ntests/TestJobsValidator/api_utils/job_cities_utils.py:30: AssertionError"}, "description": "\n Test job titles contain special characters\n ", "parameters": [{"name": "scraper_class", "value": "'Bosch'"}], "start": 1729401139601, "stop": 1729401139660, "uuid": "3a4516cc-5707-4077-ae2b-84148e828e1c", "historyId": "ddf4e4574bfedad76fd3aa21672a0e5b", "testCaseId": "1204388ca11ed5cbe72e4cae6999b749", "fullName": "tests.TestJobsValidator.test_api.TestScrapers#test_job_cities", "labels": [{"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.TestJobsValidator"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1113-71"}, {"name": "thread", "value": "2025-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Loading

0 comments on commit 1386132

Please sign in to comment.