Skip to content

Commit

Permalink
test: update users/groups-related Cy tests (#4313)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j authored Oct 2, 2024
1 parent 73996eb commit 440326d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions cypress-tests/cypress/e2e/admin/login/login.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ context("Login Page", () => {
firstName: uniqid("first name-"),
lastName: uniqid("last name-"),
password,
group: group.id
groups: [group.id]
}
})
.then(user => {
Expand Down Expand Up @@ -86,7 +86,7 @@ context("Login Page", () => {
firstName: uniqid("first name-"),
lastName: uniqid("last name-"),
password,
group: group.id
groups: [group.id]
}
})
.then(user => {
Expand Down Expand Up @@ -131,7 +131,7 @@ context("Login Page", () => {
firstName: uniqid("first name-"),
lastName: uniqid("last name-"),
password,
group: group.id
groups: [group.id]
}
})
.then(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ context("Search and sort security users", () => {
firstName: uniqid("first name-"),
lastName: uniqid("last name-"),
password: "12345678",
group: group.id
groups: [group.id]
}
}).then(user => {
users.push(user);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ context("Security Users", () => {
firstName: uniqid("first name-"),
lastName: uniqid("last name-"),
password,
group: group.id
groups: [group.id]
}
})
.then(user => {
Expand Down Expand Up @@ -69,7 +69,7 @@ context("Security Users", () => {
firstName: uniqid("first name-"),
lastName: uniqid("last name-"),
password,
group: group.id
groups: [group.id]
}
})
.then(user => {
Expand Down
2 changes: 1 addition & 1 deletion cypress-tests/cypress/support/security/graphql.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const BASE_FIELDS = `
lastName
avatar
gravatar
group {
groups {
id
slug
name
Expand Down

0 comments on commit 440326d

Please sign in to comment.