Skip to content

Commit 21380d5

Browse files
committed
refactored crash reporter
1 parent 8f8c611 commit 21380d5

File tree

7 files changed

+8
-15
lines changed

7 files changed

+8
-15
lines changed

modules/browser_object_reader_view.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from modules.page_base import BasePage
2+
3+
class ReaderView(BasePage):
4+
"""
5+
BOM for reader view
6+
"""
7+
URL_TEMPLATE = ""

modules/browser_object_toolbar.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from time import sleep
21

32
from selenium.webdriver.support import expected_conditions as EC
43

modules/page_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
from pypom import Page
1111
from selenium.common.exceptions import (
12-
NoAlertPresentException,
1312
NoSuchElementException,
1413
TimeoutException,
1514
)

modules/page_object_about_crash.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/crash_reporter/conftest.py renamed to tests/reader_view/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
@pytest.fixture()
55
def suite_id():
6-
return ("S67", "Crash Reporter")
6+
return ("S2126", "Reader View")
77

88

99
@pytest.fixture()

tests/security_and_privacy/test_downloads_from_private_not_leaked.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33

44
import pytest
55
from selenium.webdriver import Firefox
6-
from selenium.webdriver.common.by import By
7-
from selenium.webdriver.common.keys import Keys
8-
from selenium.webdriver.support import expected_conditions as EC
96

107
from modules.browser_object import AboutDownloadsContextMenu, PanelUi, Toolbar
118
from modules.page_object import AboutDownloads, GenericPage

0 commit comments

Comments
 (0)