| should-display-alerts-correctly-history-page | ||
| open | /sessions/login | |
| type | login | admin |
| type | password | admin |
| clickAndWait | commit | |
| waitForElementPresent | css=.js-user-authenticated | |
| open | /dashboard/index/sample | |
| click | css=#context-navigation .navbar-admin-link | |
| waitForElementPresent | link=History | |
| clickAndWait | link=History | |
| assertElementPresent | //img[@title='Quality Gate Status: Green (was Orange). '] | |
| assertElementPresent | //img[@title='Quality Gate Status: Orange. Lines > 5'] | |