dont rely on user id (#16580)
This commit is contained in:
parent
611bab59d2
commit
8dcd20865e
1 changed files with 2 additions and 2 deletions
|
|
@ -15,11 +15,11 @@ function closeUserUpdatedMessage(message) {
|
||||||
describe('Manage User Credits', () => {
|
describe('Manage User Credits', () => {
|
||||||
describe('As an admin', () => {
|
describe('As an admin', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
10;
|
|
||||||
cy.testSetup();
|
cy.testSetup();
|
||||||
cy.fixture('users/adminUser.json').as('user');
|
cy.fixture('users/adminUser.json').as('user');
|
||||||
cy.get('@user').then((user) => {
|
cy.get('@user').then((user) => {
|
||||||
cy.loginAndVisit(user, '/admin/users/8');
|
cy.loginAndVisit(user, '/admin/users');
|
||||||
|
cy.findByRole('link', { name: 'credits_user' }).click();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue