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 Nov 25, 2024
1 parent ecd7e9f commit 75a71b5
Show file tree
Hide file tree
Showing 771 changed files with 6,113 additions and 4,507 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "3bf6d39b-89b4-417a-ba99-69d755076d46", "children": ["d0f6df37-1ce4-4e05-90fc-808a9081051a", "a4a5f29a-0a6d-43db-82ea-15e36d991dc0", "914b02cc-4cbe-4cf7-82ec-64b0be4bc4f8", "d10b60eb-7cf1-4892-8994-ff9869dbd00d", "cd604e86-dbe6-49a0-90f8-e3de92d8f95f"], "befores": [{"name": "scraper_class", "status": "passed", "start": 1732512456498, "stop": 1732512456498}], "start": 1732512456498, "stop": 1732512474153}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_counties[covalact]", "status": "passed", "description": "\n Test job titles contain special characters\n ", "parameters": [{"name": "scraper_class", "value": "'covalact'"}], "start": 1732512080396, "stop": 1732512080396, "uuid": "4c35ccc4-719b-42e5-9006-c9cd2bd3dc88", "historyId": "d68cb007a3c57d721b7509145bc1dd10", "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-az1425-114"}, {"name": "thread", "value": "1874-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_countries[duktech]", "status": "passed", "description": "\n Test job countries match Romania\n ", "parameters": [{"name": "scraper_class", "value": "'duktech'"}], "start": 1732512233630, "stop": 1732512233630, "uuid": "2d3901e1-9b93-4424-95f9-1ed9547c9298", "historyId": "7c1e33be522f38e9df0772b049c2fca0", "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-az1425-114"}, {"name": "thread", "value": "1874-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,6 @@
An error occurred:
Job Page content has not been loaded
An error occurred:
Job Page content has not been loaded
An error occurred:
Job Page content has not been loaded
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_countries[arcadiamedical]", "status": "passed", "description": "\n Test job countries match Romania\n ", "parameters": [{"name": "scraper_class", "value": "'arcadiamedical'"}], "start": 1732511704646, "stop": 1732511704646, "uuid": "69a6c810-bcf8-4d7b-bc3e-432de902a29c", "historyId": "f5c2b1eab53e61343ddd3df1bc561381", "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-az1425-114"}, {"name": "thread", "value": "1874-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": "be005ad7-899e-409f-b1e2-04bc72725e05", "children": ["d9e4ad9c-4afd-45ea-9fdb-a7a388b41145", "e5051a22-30c4-49fb-9ecb-8b254d305b74", "e2b824fb-8efd-4344-b76b-7fa20a17a620", "27572d6f-d5da-45c4-930a-dedb2e65a159", "8de7b38f-a409-457c-be12-124b35592778"], "befores": [{"name": "setup", "status": "passed", "start": 1732511612727, "stop": 1732511614300}], "afters": [{"name": "setup::0", "status": "passed", "start": 1732511639301, "stop": 1732511667785}], "start": 1732511612727, "stop": 1732511667785}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_counties[nielseniq]", "status": "passed", "description": "\n Test job titles contain special characters\n ", "parameters": [{"name": "scraper_class", "value": "'nielseniq'"}], "start": 1732512585502, "stop": 1732512585502, "uuid": "97e96182-fe15-48a6-a062-99cf35f363dc", "historyId": "03efa4ba51b66a2bed94ce81ce711928", "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-az1425-114"}, {"name": "thread", "value": "1874-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[cscale]", "status": "passed", "description": "\n Test job titles contain special characters\n ", "parameters": [{"name": "scraper_class", "value": "'cscale'"}], "start": 1732512097721, "stop": 1732512097722, "uuid": "51b411a0-2c92-4999-b5b2-8db836bb9c63", "historyId": "7581743904cc8e3b95461eee892154fe", "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-az1425-114"}, {"name": "thread", "value": "1874-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": "8700a3a6-2ba2-414d-b696-e09b124929de", "children": ["4d0aafe9-e8ba-46f1-9421-36d5c74bbcdd", "0f82cf15-50d5-460e-864c-6e6438623c52", "7bfb4d05-b485-4b52-92a5-9da2036f462f", "5e2205a3-a1e3-4c2a-82d2-0fae0cb5ac6b", "438e4066-7658-4d47-b74a-cd8a0c7fc5a3"], "befores": [{"name": "setup", "status": "passed", "start": 1732512320850, "stop": 1732512322202}], "afters": [{"name": "setup::0", "status": "passed", "start": 1732512351759, "stop": 1732512361644}], "start": 1732512320850, "stop": 1732512361644}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_link_content[bitsoftware]", "status": "passed", "description": "\n Test job links for the job title presence in the html response output\n ", "parameters": [{"name": "scraper_class", "value": "'bitsoftware'"}], "start": 1732511938241, "stop": 1732511944881, "uuid": "a0ca522a-0319-4f90-823e-8fcc118d997b", "historyId": "3f942b03547a1ab066b5879da9c8f6e4", "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-az1425-114"}, {"name": "thread", "value": "1874-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": "ca799dd6-b224-4db9-9266-08997c3d9474", "children": ["1aec0b11-499e-42d8-8613-c54d3f2b592b", "d2a75366-1432-4e1f-a5d7-aeccc158042d", "bdc82fe5-e047-4a80-a217-6f3b410945ef", "4cc14823-a0be-49aa-945a-6c1d8487644f", "6bb585c3-3ecd-49aa-ab10-2e0734c350b7"], "befores": [{"name": "scraper_class", "status": "passed", "start": 1732513014255, "stop": 1732513014255}], "start": 1732513014255, "stop": 1732513025379}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_countries[kimballelectronics]", "status": "passed", "description": "\n Test job countries match Romania\n ", "parameters": [{"name": "scraper_class", "value": "'kimballelectronics'"}], "start": 1732512456087, "stop": 1732512456087, "uuid": "daba0f15-1c21-4acc-9453-02dbb1f529b0", "historyId": "f3e0ccafcb8e4b3cbf229e88883f9cb3", "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-az1425-114"}, {"name": "thread", "value": "1874-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[alumil]", "status": "passed", "description": "\n Test job types match ['hybrid', 'remote', 'on-site']\n ", "parameters": [{"name": "scraper_class", "value": "'alumil'"}], "start": 1732511612130, "stop": 1732511612130, "uuid": "d01d78ce-204c-4fd6-aa3c-7d801abf0fc7", "historyId": "7fb5dcc7037a2a4c2440748a6aaf5a73", "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-az1425-114"}, {"name": "thread", "value": "1874-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_link_content[ellisium]", "status": "passed", "description": "\n Test job links for the job title presence in the html response output\n ", "parameters": [{"name": "scraper_class", "value": "'ellisium'"}], "start": 1732512250177, "stop": 1732512253792, "uuid": "5cc00b96-48b1-4779-8501-693709eae274", "historyId": "a0dadc431621c110331689b059bf7ea0", "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-az1425-114"}, {"name": "thread", "value": "1874-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": "c4209ba9-bd34-45e5-9498-161b2adca3a0", "children": ["a0ca522a-0319-4f90-823e-8fcc118d997b", "f2009382-1ef3-47b7-8543-3c1dfeb7fbae", "f29c6aad-8623-4cbd-95e6-15e3e4514f9e", "694331f5-4559-4895-a7b5-56421e4d417d", "414157a6-0d4b-4a25-9f85-7406e726dc86"], "befores": [{"name": "scraper_class", "status": "passed", "start": 1732511936855, "stop": 1732511936855}], "start": 1732511936855, "stop": 1732511950850}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "ef00097c-47bd-47ea-abb6-71824f3528be", "children": ["7bc01ae1-1599-442e-b939-d9caf3827297", "04bf7649-8fa6-4011-8de7-ca2027e307dc", "ed11b177-1c3c-4458-b4e6-2cb3c933e2ba", "ee90f697-4b05-4da1-b358-24afed880da2", "3881bb45-dd24-44d3-8172-8b81a21e4b85"], "befores": [{"name": "setup", "status": "passed", "start": 1732512645603, "stop": 1732512647038}], "afters": [{"name": "setup::0", "status": "passed", "start": 1732512716452, "stop": 1732512719402}], "start": 1732512645603, "stop": 1732512719402}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "9c747249-a999-4e8c-ab1b-8fbe2fbfde2e", "children": ["9c125ffb-ae88-4d63-9725-3041212350c2", "1fd7ab2e-c306-4b05-a158-308047df33b1", "85f81e30-a839-4606-85bc-b0cccea9daac", "b98ad968-e4d1-4077-a2bf-7e51e5aaa344", "4ab8b701-cba8-479c-a042-a9672a637f62"], "befores": [{"name": "setup", "status": "passed", "start": 1732512490019, "stop": 1732512491368}], "afters": [{"name": "setup::0", "status": "passed", "start": 1732512494519, "stop": 1732512498262}], "start": 1732512490019, "stop": 1732512498263}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "test_job_types[htecgroup]", "status": "passed", "description": "\n Test job types match ['hybrid', 'remote', 'on-site']\n ", "parameters": [{"name": "scraper_class", "value": "'htecgroup'"}], "start": 1732512351751, "stop": 1732512351752, "uuid": "0f82cf15-50d5-460e-864c-6e6438623c52", "historyId": "2c8cc0cd619247ce8f22766f57dddf62", "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-az1425-114"}, {"name": "thread", "value": "1874-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[nagarro]", "status": "passed", "description": "\n Test job titles contain special characters\n ", "parameters": [{"name": "scraper_class", "value": "'nagarro'"}], "start": 1732512530659, "stop": 1732512530703, "uuid": "449a2b02-43fd-4be7-8b7c-6022cb99cfaf", "historyId": "b0868416f5e1aaab8baa95c2de2968d2", "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-az1425-114"}, {"name": "thread", "value": "1874-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[bakertilly]", "status": "passed", "description": "\n Test job titles contain special characters\n ", "parameters": [{"name": "scraper_class", "value": "'bakertilly'"}], "start": 1732511838696, "stop": 1732511838698, "uuid": "6edab98e-1e9b-442d-b909-61d49f03bc2b", "historyId": "5fcf2a51427e7dc35ddafe795d6ad310", "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-az1425-114"}, {"name": "thread", "value": "1874-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[interbrandsorbico]", "status": "failed", "statusDetails": {"message": "AssertionError: Test found mismatching job cities for the following jobs: ['Angajatori de Top - Timisoara - Octombrie 2024', 'Brand Retail Advisor IQOS - CLUJ', 'Brand Retail Advisor IQOS - DROBETA TURNU SEVERIN', 'Merchandiser - Modern Trade - Brasov', 'System Engineer - Bucuresti', 'Trade Activator - Philip Morris - Sibiu']", "trace": "self = <TestJobsValidator.test_api.TestScrapers object at 0x7fa5250322c0>\nsetup = (['Angajatori de Top - Timisoara - Octombrie 2024', 'Assistant Store Manager IQOS - TARGU JIU', 'Brand Retail Advisor ...'Romania', 'Romania', 'Romania', 'Romania', ...], [[], ['Gorj'], ['Maramures'], ['Bucuresti'], [], ['Constanta'], ...])\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 0x7fa5256224a0>\nactual_cities = [['Bucharest'], ['Targu Jiu'], ['Baia Mare'], ['Bucuresti'], ['CLUJ NAPOCA'], ['CONSTANTA'], ...]\njob_titles = ['Angajatori de Top - Timisoara - Octombrie 2024', 'Assistant Store Manager IQOS - TARGU JIU', 'Brand Retail Advisor I...and Retail Advisor IQOS - BUCURESTI', 'Brand Retail Advisor IQOS - CLUJ', 'Brand Retail Advisor IQOS - CONSTANTA', ...]\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: ['Angajatori de Top - Timisoara - Octombrie 2024', 'Brand Retail Advisor IQOS - CLUJ', 'Brand Retail Advisor IQOS - DROBETA TURNU SEVERIN', 'Merchandiser - Modern Trade - Brasov', 'System Engineer - Bucuresti', 'Trade Activator - Philip Morris - Sibiu']\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": "'interbrandsorbico'"}], "start": 1732512416512, "stop": 1732512416531, "uuid": "93135013-82f1-47ef-b073-5ac7f429a5cb", "historyId": "e06d51d8a3b62d694f04c92b77deb679", "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-az1425-114"}, {"name": "thread", "value": "1874-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.TestJobsValidator.test_api"}]}
Loading

0 comments on commit 75a71b5

Please sign in to comment.