Revision a947cfbd
Added by Andreas Kohlbecker over 2 years ago
src/test/java/eu/etaxonomy/dataportal/selenium/tests/cichorieae/Lactuca_triquetra_TaxonProfileTest.java | ||
---|---|---|
61 | 61 |
|
62 | 62 |
List<LinkElement> primaryTabs = p.getPrimaryTabs(); |
63 | 63 |
int tabId = 0; |
64 |
assertEquals("General\n(active tab)", primaryTabs.get(tabId++).getText()); |
|
64 |
if(p.isZenTheme()) { |
|
65 |
assertEquals("General", primaryTabs.get(tabId++).getText()); |
|
66 |
} else { |
|
67 |
// old garland theme |
|
68 |
assertEquals("General\n(active tab)", primaryTabs.get(tabId++).getText()); |
|
69 |
} |
|
65 | 70 |
assertEquals("Synonymy", primaryTabs.get(tabId++).getText()); |
66 | 71 |
assertEquals("Images", primaryTabs.get(tabId++).getText()); |
67 | 72 |
assertEquals("Specimens", primaryTabs.get(tabId++).getText()); |
Also available in: Unified diff
ref #4372 adapting test case to zen theme