Skip to content

Commit 2133c98

Browse files
[autofix.ci] apply automated fixes
1 parent 6e33a07 commit 2133c98

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

e2e/tests/company/invoices/one-off-payments.spec.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ test.describe("One-off payments", () => {
390390

391391
test("shows 'Pay again' button for failed payments", async ({ page }) => {
392392
await login(page, adminUser);
393-
393+
394394
await page.goto(`/people/${workerUser.externalId}?tab=invoices`);
395395
await page.getByRole("button", { name: "Issue payment" }).click();
396396

@@ -407,7 +407,7 @@ test.describe("One-off payments", () => {
407407
await clerk.signOut({ page });
408408
await login(page, workerUser);
409409
await page.getByRole("link", { name: "Invoices" }).click();
410-
410+
411411
const invoiceRow = await findRequiredTableRow(page, {
412412
"Invoice ID": "O-0002",
413413
Amount: "$500.00",
@@ -424,17 +424,17 @@ test.describe("One-off payments", () => {
424424
await clerk.signOut({ page });
425425
await login(page, adminUser);
426426
await page.goto("/invoices");
427-
427+
428428
const invoice = await db.query.invoices.findFirst({
429429
where: and(eq(invoices.invoiceNumber, "O-0002"), eq(invoices.companyId, company.id)),
430430
});
431431
if (invoice) {
432432
await db.update(invoices).set({ status: "failed" }).where(eq(invoices.id, invoice.id));
433433
}
434-
434+
435435
await page.reload();
436436
await expect(page.locator("tbody")).toBeVisible();
437-
437+
438438
const failedInvoiceRow = await findRequiredTableRow(page, {
439439
"Invoice ID": "O-0002",
440440
Amount: "$500.00",
@@ -445,7 +445,7 @@ test.describe("One-off payments", () => {
445445

446446
test("shows 'Payment initiated' success message when paying", async ({ page }) => {
447447
await login(page, adminUser);
448-
448+
449449
await page.goto(`/people/${workerUser.externalId}?tab=invoices`);
450450
await page.getByRole("button", { name: "Issue payment" }).click();
451451

@@ -462,7 +462,7 @@ test.describe("One-off payments", () => {
462462
await clerk.signOut({ page });
463463
await login(page, workerUser);
464464
await page.getByRole("link", { name: "Invoices" }).click();
465-
465+
466466
const invoiceRow = await findRequiredTableRow(page, {
467467
"Invoice ID": "O-0003",
468468
Amount: "$300.00",
@@ -479,9 +479,9 @@ test.describe("One-off payments", () => {
479479
await clerk.signOut({ page });
480480
await login(page, adminUser);
481481
await page.goto("/invoices");
482-
482+
483483
await expect(page.locator("tbody")).toBeVisible();
484-
484+
485485
const payableInvoiceRow = await findRequiredTableRow(page, {
486486
"Invoice ID": "O-0003",
487487
Amount: "$300.00",

0 commit comments

Comments
 (0)