mayadata-io / mayadata-io/oep-e2e
Add more tests to grafana in oep pipeline
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
API request we do to create user
URL → POST grafana/api/admin/users HTTP/1.1
Headers → Accept: application/json
Content-Type: application/json
Cache-control: no-cache
Basic Authentication (grafana username and password)
Body →
{
"name": "${ORG_USERNAME}",
"password": "${ORG_PASSWORD}",
"login": "${ORG_USERNAME}"
}
To validate if a user is created or not
URL → GET grafana/api/users/lookup?loginOrEmail={ORG_USERNAME}
Headers → Accept: application/json
Content-Type: application/json
Cache-control: no-cache
Basic Authentication (grafana username and password)
If the response code is 200 and you get the user details then the user is successfully created and if you get error code then there is something wrong.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test entry point is named. Start by locating the existing OEP pipeline tests for Grafana, then use the documented POST grafana/api/admin/users request and GET grafana/api/users/lookup?loginOrEmail={ORG_USERNAME} validation. Done means the test confirms a 200 response with user details after creation and detects error responses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grafana, python
- Domain
- observability-sre, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100