Skip to content

Commit

Permalink
fix broken test fc2blog#251
Browse files Browse the repository at this point in the history
  • Loading branch information
uzulla committed Mar 20, 2021
1 parent 1ec9b95 commit 83b3955
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,14 @@ describe("admin create entry", () => {
});

it("delete test", async () => {
await c.getSS("delete_test");
c.page.on('dialog', async dialog => {
await dialog.accept();
});

let [response] = await Promise.all([
c.waitLoad(),
c.page.click("#sys-list-form > table > tbody > tr:nth-child(1) > td:nth-child(8) > a")
c.page.click("#sys-list-form > table > tbody > tr:nth-child(1) > td:nth-child(7) > a")
]);

expect(response.status()).toEqual(200);
Expand Down

0 comments on commit 83b3955

Please sign in to comment.