Improve mobile jobs queue #29
This commit is contained in:
@@ -61,6 +61,8 @@ def test_index_renders_responsive_table_wrappers(tmp_path, monkeypatch):
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'class="table-scroll"' in response.text
|
||||
assert "job-cards" in response.text
|
||||
assert "job-card" in response.text
|
||||
assert '<meta name="viewport" content="width=device-width, initial-scale=1">' in response.text
|
||||
|
||||
|
||||
@@ -73,6 +75,9 @@ def test_stylesheet_includes_mobile_responsive_rules():
|
||||
assert ".table-scroll" in css
|
||||
assert "overflow-x:auto" in css
|
||||
assert "flex-direction:column" in css
|
||||
assert ".jobs-table{display:none}" in css
|
||||
assert ".job-cards{display:block}" in css
|
||||
assert "word-break:break-word" in css
|
||||
|
||||
|
||||
def test_settings_endpoint_persists_arr_connection_values(tmp_path, monkeypatch):
|
||||
|
||||
Reference in New Issue
Block a user