Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cypress: use random user instead of admin #233

Merged
merged 2 commits into from
May 23, 2023
Merged

Conversation

snehar97
Copy link
Contributor

@snehar97 snehar97 commented Apr 19, 2023

use a random user instead of admin

Comment on lines 4 to 8
cy.createRandomUser().then(user => {
cy.login(user)
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be nice to move this out of the actual test and rather into the beforeEach hook https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Hooks

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be fixed with 8a8d56e

@datenangebot
Copy link
Collaborator

/rebase

Signed-off-by: sneha <rsneha715@gmail.com>
@juliushaertl
Copy link
Member

Needs a manual rebase as there are conflicts 😉

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
@datenangebot datenangebot merged commit 2a2aac9 into main May 23, 2023
@datenangebot datenangebot deleted the cypress-random-user branch May 23, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants