Skip to content
Snippets Groups Projects
Unverified Commit bb0f237f authored by Varac's avatar Varac
Browse files

Test dashboard login page

Fixes: #969
parent 9859a5ad
No related branches found
No related tags found
No related merge requests found
......@@ -628,6 +628,15 @@ kube-prometheus-stack-alerts:
when: on_failure
interruptible: true
dashboard-taiko:
variables:
RESOURCE: "dashboard"
needs:
- job: testinfra
extends:
- .taiko
- .general_rules
grafana-taiko:
variables:
RESOURCE: "grafana"
......
......@@ -176,6 +176,17 @@ const assert = require('assert');
await click("Sign In with Oidc")
}
// Dashboard
if (taikoTests.includes('dashboard') || taikoTests === 'all') {
const dashboardUrl = 'https://admin.' + domain
console.log('• Dashboard')
await goto(dashboardUrl)
await click("Login")
await click('Login with OAS')
await assert.ok(await text('Log in to user-panel').exists());
}
} catch (error) {
await screenshot()
console.error(error)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment