Skip to content

Commit

Permalink
fix(cypress): return promise within another promise
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Oct 27, 2021
1 parent 078eb8a commit 1fc36dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/integration/admin/security/user/userAccess.spec.js
Expand Up @@ -8,7 +8,7 @@ context("Security Users", () => {

// eslint-disable-next-line jest/valid-expect-in-promise
cy.securityReadGroup({ slug: "full-access" }).then(group => {
cy.securityCreateUser({
return cy.securityCreateUser({
data: {
email: uniqid("", "@gmail.com"),
firstName: uniqid("first name-"),
Expand Down

0 comments on commit 1fc36dc

Please sign in to comment.