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 Jan 24, 2024
1 parent 6d2a874 commit 35ca11a
Show file tree
Hide file tree
Showing 1,013 changed files with 19,941 additions and 17,459 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expected Results: ['Romania', 'Romania', 'Romania']

Actual Results: ['Romania', 'Romania', 'Romania']
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "Test job countries from the velpitar website against Peviitor API Response", "status": "passed", "steps": [{"name": "Step 1: Get job countries from the scraper", "status": "passed", "start": 1706073017455, "stop": 1706073017455}, {"name": "Step 2: Get job countries from the Peviitor API", "status": "passed", "start": 1706073017455, "stop": 1706073017455}, {"name": "Step 3: Compare job countries from scraper response against Peviitor API Response", "status": "passed", "start": 1706073017455, "stop": 1706073017455}], "attachments": [{"name": "stdout", "source": "1e600ce2-3ffc-4d14-9b13-b57d1c86b862-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "scraper_class", "value": "<class 'sites.velpitar.velpitarScraper'>"}], "start": 1706073017455, "stop": 1706073017455, "uuid": "9197bb75-5fa2-4b92-9fe4-1720dc120fbf", "historyId": "bed4be59392e29da61e65c6bf4ce6edf", "testCaseId": "acd47a899d69d3ac220d510e41e13b29", "fullName": "test_api.TestScrapers#test_scrapers_country", "labels": [{"name": "tag", "value": "API"}, {"name": "tag", "value": "regression"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1430-567"}, {"name": "thread", "value": "2238-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "Test job cities from the bakertilly website against Peviitor API Response", "status": "passed", "steps": [{"name": "Step 1: Get job cities from the scraper", "status": "passed", "start": 1706073056611, "stop": 1706073056611}, {"name": "Step 2: Get job cities from the Peviitor API", "status": "passed", "start": 1706073056611, "stop": 1706073056611}, {"name": "Step 3: Compare job cities from scraper response against Peviitor API Response", "status": "passed", "start": 1706073056611, "stop": 1706073056611}], "attachments": [{"name": "stdout", "source": "f4ffc03b-91cf-4b0d-87d8-529652b7fa42-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "scraper_class", "value": "<class 'sites.bakertilly.bakertillyScraper'>"}], "start": 1706073056611, "stop": 1706073056611, "uuid": "c8f1babf-6264-4630-90c2-1d321e378aeb", "historyId": "8387b9a2d0fe97ef65b2de1faec1a62d", "testCaseId": "75f773d8d7bc6573a9e018ca8c499fa6", "fullName": "test_api.TestScrapers#test_scrapers_city", "labels": [{"name": "tag", "value": "API"}, {"name": "tag", "value": "regression"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1430-567"}, {"name": "thread", "value": "2241-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expected Results: ['https://softexco.ro/p/cariere#aplica']

Actual Results: ['https://softexco.ro/p/cariere#aplica']
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expected Results: ['https://cargotrack.ro/locuri-de-munca/customer-support-specialist/', 'https://cargotrack.ro/locuri-de-munca/full-stack-developer/', 'https://cargotrack.ro/locuri-de-munca/tehnician-montaje/']

Actual Results: ['https://cargotrack.ro/locuri-de-munca/customer-support-specialist/', 'https://cargotrack.ro/locuri-de-munca/full-stack-developer/', 'https://cargotrack.ro/locuri-de-munca/tehnician-montaje/']
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "6a8b940b-c939-4cac-b626-9c048a7804a0", "children": ["700a5d17-fdb7-4819-84c9-eb9656d31378", "a5f51820-4afc-4b05-a14c-3866502db9d5", "d532f1a5-69e5-49a4-9af3-ea9537c582b7", "38dad4ee-25ea-4c77-af3d-96fd0595bb3e"], "befores": [{"name": "scraper_class", "status": "passed", "start": 1706073034634, "stop": 1706073034634}], "start": 1706073034634, "stop": 1706073036858}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "713fe573-3f3a-4c45-850e-6392dd086995", "children": ["6230bf94-d448-4716-8707-05dc8a6a1498", "689ccd56-68b0-44df-9d84-7419b020147a", "1947bafe-f9e6-460c-9386-a1794f2eb9b0", "d871623a-1b53-4d36-81e1-eaaeea16fcdb"], "befores": [{"name": "scraper_class", "status": "passed", "start": 1706072999138, "stop": 1706072999138}], "start": 1706072999138, "stop": 1706073001534}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expected Results: ['Receptionist']

Actual Results: ['Receptionist']

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "Test job cities from the consultmed website against Peviitor API Response", "status": "passed", "steps": [{"name": "Step 1: Get job cities from the scraper", "status": "passed", "start": 1706073037299, "stop": 1706073037299}, {"name": "Step 2: Get job cities from the Peviitor API", "status": "passed", "start": 1706073037299, "stop": 1706073037299}, {"name": "Step 3: Compare job cities from scraper response against Peviitor API Response", "status": "passed", "start": 1706073037300, "stop": 1706073037300}], "attachments": [{"name": "stdout", "source": "19cf2f33-9909-44dc-a6d1-f4ebd4d260d6-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "scraper_class", "value": "<class 'sites.consultmed.consultmedScraper'>"}], "start": 1706073037299, "stop": 1706073037300, "uuid": "caeff497-33ed-4e19-82e4-b3915d5d0419", "historyId": "b09fa581ee123ee6704aec95a4917d9c", "testCaseId": "75f773d8d7bc6573a9e018ca8c499fa6", "fullName": "test_api.TestScrapers#test_scrapers_city", "labels": [{"name": "tag", "value": "API"}, {"name": "tag", "value": "regression"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1430-567"}, {"name": "thread", "value": "2244-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expected Results: ['https://www.edutrust.ro/cariera/#open-positions#1', 'https://www.edutrust.ro/cariera/#open-positions#2']

Actual Results: ['https://www.edutrust.ro/cariera/#open-positions#1', 'https://www.edutrust.ro/cariera/#open-positions#2']
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "Test job countries from the canopy website against Peviitor API Response", "status": "passed", "steps": [{"name": "Step 1: Get job countries from the scraper", "status": "passed", "start": 1706073071152, "stop": 1706073071152}, {"name": "Step 2: Get job countries from the Peviitor API", "status": "passed", "start": 1706073071152, "stop": 1706073071152}, {"name": "Step 3: Compare job countries from scraper response against Peviitor API Response", "status": "passed", "start": 1706073071152, "stop": 1706073071152}], "attachments": [{"name": "stdout", "source": "815df027-f8ce-4e20-9137-979fe22e6969-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "scraper_class", "value": "<class 'sites.canopy.canopyScraper'>"}], "start": 1706073071152, "stop": 1706073071152, "uuid": "5a2a55ab-a9d2-472d-a851-b971c30ac3ff", "historyId": "57dbb1d5e132d884542bc5dfb38724cb", "testCaseId": "acd47a899d69d3ac220d510e41e13b29", "fullName": "test_api.TestScrapers#test_scrapers_country", "labels": [{"name": "tag", "value": "API"}, {"name": "tag", "value": "regression"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1430-567"}, {"name": "thread", "value": "2241-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "d53ce058-fe5d-47c0-bc3d-c033ea8ebf53", "children": ["27b33a8d-90d3-4253-8e75-a121b8c2f04f", "c8913dbd-10e2-4a8f-8d84-d9d16ea1e55c", "6331b908-acee-4d45-8dac-6f4e965c210f", "0f5f5752-713a-40f9-949d-d944e0e446c7"], "befores": [{"name": "setup_tests", "status": "passed", "start": 1706073018168, "stop": 1706073018875}], "start": 1706073018168, "stop": 1706073018889}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expected Results: [['Iasi'], ['Iasi'], ['Iasi']]

Actual Results: [['Iasi'], ['Iasi'], ['Iasi']]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "Test job cities from the ipso website against Peviitor API Response", "status": "passed", "steps": [{"name": "Step 1: Get job cities from the scraper", "status": "passed", "start": 1706073077466, "stop": 1706073077466}, {"name": "Step 2: Get job cities from the Peviitor API", "status": "passed", "start": 1706073077466, "stop": 1706073077466}, {"name": "Step 3: Compare job cities from scraper response against Peviitor API Response", "status": "passed", "start": 1706073077466, "stop": 1706073077466}], "attachments": [{"name": "stdout", "source": "96fba99c-91cd-48a5-8998-0b245639f2c8-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "scraper_class", "value": "<class 'sites.ipso.ipsoScraper'>"}], "start": 1706073077466, "stop": 1706073077466, "uuid": "b1b1e930-58c0-4efb-8c38-55110d201030", "historyId": "77a6ab1ecfb3c86bda97aac4df37ec6f", "testCaseId": "75f773d8d7bc6573a9e018ca8c499fa6", "fullName": "test_api.TestScrapers#test_scrapers_city", "labels": [{"name": "tag", "value": "API"}, {"name": "tag", "value": "regression"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1430-567"}, {"name": "thread", "value": "2244-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "768c8a31-ec16-4325-8631-772c6ad14790", "children": ["46b854f9-cf97-4f2c-adec-4493ed6b1faf"], "befores": [{"name": "scraper_class", "status": "passed", "start": 1706073072416, "stop": 1706073072416}], "start": 1706073072416, "stop": 1706073076141}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "e51a1b34-e80c-4b25-83cf-34406354deb9", "children": ["6c97e11f-c086-4dcc-8d42-807e2a0e08b0"], "befores": [{"name": "setup_tests", "status": "passed", "start": 1706073027859, "stop": 1706073030318}], "start": 1706073027859, "stop": 1706073030322}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uuid": "326a2943-d304-4af1-a7f3-0bb22b6d670d", "children": ["2ffb9d5d-eca0-437e-94be-897b122ae83f"], "befores": [{"name": "setup_tests", "status": "passed", "start": 1706073077496, "stop": 1706073079804}], "start": 1706073077496, "stop": 1706073079808}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "Test job titles from the secondtex website against Peviitor API Response", "status": "passed", "steps": [{"name": "Step 1: Get job titles from the scraper", "status": "passed", "start": 1706073010679, "stop": 1706073010679}, {"name": "Step 2: Get job titles from the Peviitor API", "status": "passed", "start": 1706073010680, "stop": 1706073010680}, {"name": "Step 3: Compare job titles from scraper response against Peviitor API Response", "status": "passed", "start": 1706073010680, "stop": 1706073010680}], "attachments": [{"name": "stdout", "source": "dd9361ee-3de6-4307-a62f-93d28a554b2c-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "scraper_class", "value": "<class 'sites.secondtex.secondtexScraper'>"}], "start": 1706073010679, "stop": 1706073010680, "uuid": "66fdde05-f1b0-4dc1-82a4-653e4ea0aa3a", "historyId": "624236774ae23494f69293835959ef7b", "testCaseId": "4b62ec59580b850c2662da4323212e24", "fullName": "test_api.TestScrapers#test_scrapers_title", "labels": [{"name": "tag", "value": "API"}, {"name": "tag", "value": "regression"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1430-567"}, {"name": "thread", "value": "2244-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expected Results: []

Actual Results: []
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "Test job links from the metamob website against Peviitor API Response", "status": "passed", "steps": [{"name": "Step 1: Get job links from the scraper", "status": "passed", "start": 1706073015933, "stop": 1706073015933}, {"name": "Step 2: Get job links from the Peviitor API", "status": "passed", "start": 1706073015933, "stop": 1706073015933}, {"name": "Step 3: Compare job links from scraper response against Peviitor API Response", "status": "passed", "start": 1706073015933, "stop": 1706073015933}], "attachments": [{"name": "stdout", "source": "38261005-0e5d-4e99-a6b0-8abd5868ae7a-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "scraper_class", "value": "<class 'sites.metamob.metamobScraper'>"}], "start": 1706073015933, "stop": 1706073015934, "uuid": "c522882d-7537-40d7-b82b-30c8729a65f2", "historyId": "2310fb0c5e6ed3accc8fef23dcb80eb1", "testCaseId": "5166eb21b2abf1f7b6b25fcad406d485", "fullName": "test_api.TestScrapers#test_scrapers_link", "labels": [{"name": "tag", "value": "API"}, {"name": "tag", "value": "regression"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1430-567"}, {"name": "thread", "value": "2244-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Expected Results: ['https://calcrom.ro/#careers#1', 'https://calcrom.ro/#careers#2']

Actual Results: ['https://calcrom.ro/#careers#1', 'https://calcrom.ro/#careers#2']
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "Test job titles from the consultmed website against Peviitor API Response", "status": "passed", "steps": [{"name": "Step 1: Get job titles from the scraper", "status": "passed", "start": 1706073037297, "stop": 1706073037297}, {"name": "Step 2: Get job titles from the Peviitor API", "status": "passed", "start": 1706073037297, "stop": 1706073037297}, {"name": "Step 3: Compare job titles from scraper response against Peviitor API Response", "status": "passed", "start": 1706073037297, "stop": 1706073037297}], "attachments": [{"name": "stdout", "source": "1fb854b3-b2ec-4378-affc-172971077f87-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "scraper_class", "value": "<class 'sites.consultmed.consultmedScraper'>"}], "start": 1706073037297, "stop": 1706073037297, "uuid": "b5d59b4e-af43-4d7c-96e9-cafeb9e1008d", "historyId": "e16c20636031ea60e69b6af6b842a631", "testCaseId": "4b62ec59580b850c2662da4323212e24", "fullName": "test_api.TestScrapers#test_scrapers_title", "labels": [{"name": "tag", "value": "API"}, {"name": "tag", "value": "regression"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1430-567"}, {"name": "thread", "value": "2244-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_api"}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name": "Test job cities from the Pago website against Peviitor API Response", "status": "failed", "statusDetails": {"message": "AssertionError: Peviitor is having extra jobs cities\n \n \nassert [['Bucharest'...['Bucharest']] == [['Bucuresti'...['Bucuresti']]\n At index 0 diff: ['Bucharest'] != ['Bucuresti']\n Full diff:\n - [['Bucuresti'], ['Bucuresti'], ['Bucuresti'], ['Bucuresti']]\n ? ^ - ^ - ^ - ^ -\n + [['Bucharest'], ['Bucharest'], ['Bucharest'], ['Bucharest']]\n ? ^^ ^^ ^^ ^^", "trace": "self = <test_api.TestScrapers object at 0x7fd3119079a0>\nsetup_tests = <test_api.SetupTests object at 0x7fd3118068f0>\n\n @pytest.mark.regression\n @pytest.mark.API\n def test_scrapers_city(self, setup_tests):\n \n # Dynamically set the title with the company name\n company_name = setup_tests.scraper_data[1]\n allure.dynamic.title(f\"Test job cities from the {company_name} website against Peviitor API Response\")\n \n with allure.step(\"Step 1: Get job cities from the scraper\"):\n job_cities_scraper = sorted(setup_tests.scraped_jobs_data[1])\n \n with allure.step(\"Step 2: Get job cities from the Peviitor API\"):\n job_cities_peviitor = sorted(setup_tests.peviitor_jobs_data[1])\n \n with allure.step(\"Step 3: Compare job cities from scraper response against Peviitor API Response\"):\n print(f\"Expected Results: {job_cities_scraper}\\n\")\n print(f\"Actual Results: {job_cities_peviitor}\")\n \n if job_cities_scraper != job_cities_peviitor:\n> assert job_cities_scraper == job_cities_peviitor, f\"Peviitor is having extra jobs cities\\n\\n\"\nE AssertionError: Peviitor is having extra jobs cities\nE \nE \nE assert [['Bucharest'...['Bucharest']] == [['Bucuresti'...['Bucuresti']]\nE At index 0 diff: ['Bucharest'] != ['Bucuresti']\nE Full diff:\nE - [['Bucuresti'], ['Bucuresti'], ['Bucuresti'], ['Bucuresti']]\nE ? ^ - ^ - ^ - ^ -\nE + [['Bucharest'], ['Bucharest'], ['Bucharest'], ['Bucharest']]\nE ? ^^ ^^ ^^ ^^\n\ntests/test_api.py:116: AssertionError"}, "steps": [{"name": "Step 1: Get job cities from the scraper", "status": "passed", "start": 1706073021958, "stop": 1706073021958}, {"name": "Step 2: Get job cities from the Peviitor API", "status": "passed", "start": 1706073021958, "stop": 1706073021958}, {"name": "Step 3: Compare job cities from scraper response against Peviitor API Response", "status": "failed", "statusDetails": {"message": "AssertionError: Peviitor is having extra jobs cities\n \n \nassert [['Bucharest'...['Bucharest']] == [['Bucuresti'...['Bucuresti']]\n At index 0 diff: ['Bucharest'] != ['Bucuresti']\n Full diff:\n - [['Bucuresti'], ['Bucuresti'], ['Bucuresti'], ['Bucuresti']]\n ? ^ - ^ - ^ - ^ -\n + [['Bucharest'], ['Bucharest'], ['Bucharest'], ['Bucharest']]\n ? ^^ ^^ ^^ ^^\n", "trace": " File \"/home/runner/work/RaresTestHub/RaresTestHub/tests/test_api.py\", line 116, in test_scrapers_city\n assert job_cities_scraper == job_cities_peviitor, f\"Peviitor is having extra jobs cities\\n\\n\"\n"}, "start": 1706073021958, "stop": 1706073021959}], "attachments": [{"name": "stdout", "source": "dbde84c4-1e5f-4c35-871d-48f2cdfda887-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "scraper_class", "value": "<class 'sites.pago.PagoScraper'>"}], "start": 1706073021958, "stop": 1706073021959, "uuid": "e65233bb-0d43-4b3d-b224-676a0465c3b6", "historyId": "c77e9777cae31e407341cbc83af9b0d0", "testCaseId": "75f773d8d7bc6573a9e018ca8c499fa6", "fullName": "test_api.TestScrapers#test_scrapers_city", "labels": [{"name": "tag", "value": "API"}, {"name": "tag", "value": "regression"}, {"name": "suite", "value": "test_api"}, {"name": "subSuite", "value": "TestScrapers"}, {"name": "host", "value": "fv-az1430-567"}, {"name": "thread", "value": "2247-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_api"}]}
Loading

0 comments on commit 35ca11a

Please sign in to comment.