Skip to content

Commit

Permalink
Refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimNastoyashchy committed Dec 9, 2022
1 parent 3041289 commit 486cbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/step-definitions/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ When(/^I login with (\w+) and (.+)$/, async (username, password) => {
});

Then(/^I redirected to the inventory page with title (.*)$/, async (title) => {
await expect(InventoryPage.productsTitle.getText()).toEqual(title);
await expect(await (await InventoryPage.productsTitle).getText()).toEqual(title);
});

0 comments on commit 486cbbc

Please sign in to comment.