oncall-engine/.github
Joey Orlando f5495ed702
add first multi-role e2e tests (#2417)
# What this PR does

Lays ground work for #1586. Adds three new fixtures, `adminRolePage`,
`editorRolePage`, and `viewerRolePage`. These fixtures can be easily
accessed in a `test` context and allow the test to be run as a user
authenticated with one of these Grafana basic roles.

The bulk of the changes in the PR are to the "global setup" step. There
is a bit of logic + communication with the Grafana instance's API, in
order to create all the necessary authentication credentials.

Lastly, adds the first basic role authorization test, asserting that
Admin/Editors can view the list of OnCall users, whereas Viewers cannot.

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-07-04 09:19:14 +00:00
..
ISSUE_TEMPLATE debugging github issues workflow 2023-06-15 15:42:14 +02:00
workflows add first multi-role e2e tests (#2417) 2023-07-04 09:19:14 +00:00
CODEOWNERS tag @grafana/docs-oncall instead of oncall-backend for docs related changes (#1251) 2023-01-31 09:34:29 +01:00
issue_and_pr_commands.json add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
pull_request_template.md update pr template (#1610) 2023-03-23 11:48:33 +01:00
verify-public-docs-updated.sh add small script + github action to check that public docs updated (#1177) 2023-01-20 13:23:06 +01:00