---
# System prepended metadata

title: Puppeteer
tags: [UI Ttest]

---

---
tags: UI Ttest
---
# Puppeteer
```
describe("MK6_CancelDraw", () => {
  beforeEach(async () => {
    pptr.setTestCaseName();
  });

  beforeAll(async () => {
    isSuccess = false;
    pptr = new PPTR(boServers, 0);
    await loginAndRedirectToMain(pptr);
  });

  afterAll(async () => {
    if (pptr) {
      pptr.logTestResult(isSuccess);
      await pptr.closeBrowser(true);
    }
  });

  it("CancelDraw", async () => {
  
  await page.waitForSelector
  await page.click
  await page.waitFor(3000)
```