Skip to content

Commit

Permalink
[test-fix-5]
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrov93 committed Apr 14, 2024
1 parent 2fccaac commit 016b8e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Sales/create-sale.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test.beforeEach(async ({ page }) => {
});

test.afterEach(async ({ page }) => {
// await page.close();
await page.close();
});

test("Create sale", async ({ page }) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/salesUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const firstInputSelect = async (page) => {

export const secondInputSelect = async (page) => {
await page.locator(".v-field__input").nth(1).click();
await page.getByRole("option", { name: "admin test admin@gmail.com", exact: true }).click();
await page.getByText("admin test").click();
};

export const selectDate = async (page, expect) => {
Expand Down

0 comments on commit 016b8e8

Please sign in to comment.