Fakultas Ilmu Komputer UI

Commit 2c11325c authored by Nabila Febri Viola's avatar Nabila Febri Viola
Browse files

[REFACTOR] Fix riwayat acara donor test

parent 65117ae3
Pipeline #48913 failed with stages
in 4 minutes and 55 seconds
......@@ -308,8 +308,8 @@ describe("Riwayat Acara Donor", () => {
no_telp_kantor: "08165342342",
no_telp_koor: "08167021743",
perkiraan_jumlah_donor: 455,
waktu_berakhir: "2020-06-02T10:00:00+07:00",
waktu_mulai: "2020-06-02T12:00:00+07:00",
waktu_berakhir: "2020-06-02T12:00:00+07:00",
waktu_mulai: "2020-06-02T10:00:00+07:00",
},
],
},
......@@ -317,7 +317,7 @@ describe("Riwayat Acara Donor", () => {
renderAuthenticated(<ProfilePage />)
await screen.findByText("Alamat")
expect(screen.getByText("Sekre Pacil"))
expect(screen.getByText("2 Juni 2020, (12:00 - 10:00)")).toBeInTheDocument()
expect(screen.getByText("2 Juni 2020, (10:00 - 12:00)")).toBeInTheDocument()
expect(screen.getByText("Ditolak"))
await waitFor(() =>
expect(screen.queryByText("Loading...")).not.toBeInTheDocument()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment