Skip to content
Merged
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
4 changes: 3 additions & 1 deletion tests/main_page_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import allure
import pytest
import requests
from pages.main_page import MainPage
from test_data.links import MainPageLinks
Expand Down Expand Up @@ -81,8 +82,9 @@ def test_check_domain_available(self):
result = "The domain is not available"
assert result == "The domain is available", "The domain is not available"

@pytest.mark.skip("Only for manual running")
@allure.title("Checking the ip is available")
def test_check_ip_available(self):
ip = '188.68.222.249'
result = ping(ip, verbose=False).stats_packets_returned
result = ping(ip).stats_packets_returned
assert result > 0, "The ip is not available"