Skip to content

Commit da43978

Browse files
committed
fix cpcss related error after lint
1 parent ce01129 commit da43978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/support/steps/steps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ When('I go {string}', async function (this: ICustomWorld, url: string) {
163163
/**
164164
* Executes the step to connect as a specific user.
165165
*/
166-
When('I connect as {string}', async function (this: ICustomWorld) {
166+
When('I connect as {string}', async function (this: ICustomWorld, user: string) {
167167
await this.utils.wpAdminLogout();
168-
await this.utils.auth('admin2');
168+
await this.utils.auth(user);
169169
});
170170

171171
/**

0 commit comments

Comments
 (0)