Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8251 from lina-nikiforova/check_IE11_meta
Browse files Browse the repository at this point in the history
[1LP][RFR] added check for the meta tag for IE11
  • Loading branch information
mshriver committed Dec 11, 2018
2 parents ace16b6 + e404f9e commit 70eb571
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cfme/tests/test_ui.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from cfme.fixtures.soft_assert import soft_assert
from cfme.utils.appliance.implementations.ui import navigate_to


Expand All @@ -23,6 +24,9 @@ def test_each_page(appliance):
initialEstimate: None
"""
view = navigate_to(appliance.server, 'Dashboard')
# test meta is here and CFME will be displayed correctly in IE11
edge_header = view.browser.element('//meta[@content="IE=edge"]')
soft_assert(edge_header.get_attribute('http-equiv') == 'X-UA-Compatible')
tree = view.navigation.nav_item_tree()
paths = []
traverse(tree, paths, path=None)
Expand Down

0 comments on commit 70eb571

Please sign in to comment.