wlsf82 / wlsf82/gitlab-cypress

Create GUI test for assigning an issue to a different user than yourself

Open
#32 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
JavaScript
Stars
105
Forks
30
Avg merge
7m
Merged PRs (30d)
1

Description

As a test pre-condition, a user has to be created and assigned to the same project of the issue so you can assign the user to the issue.

This user creation must happen via an API call, not the GUI.

This test implementation should help you with understanding how to create a user via API, as well as how to add the user to the same project as the root user.

You can use the following test as a reference: cypress/e2e/gui/project/assignIssue.cy.js

Remember to add the new test to the cypress/e2e/gui/project/index.cy.js file, anywhere between the access token creation and deletion.

If you need more information, don't hesitate to tag me (@wlsf82).

Also, remember to follow the project's contributing guidelines.

Cc. @atilacassel.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read cypress/e2e/gui/project/multipleUsersInAnProject.cy.js for the API setup and project membership flow, then compare cypress/e2e/gui/project/assignIssue.cy.js for the assignment interaction. Add the new GUI test and register it in cypress/e2e/gui/project/index.cy.js between access-token creation and deletion. Done means the test creates a second user through the API and verifies that user can be assigned to an issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, gitlab, javascript
Domain
api, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.