From 962cc34634a26ef15d8e7adca56078c9606aedcb Mon Sep 17 00:00:00 2001 From: s-laugh Date: Thu, 28 Feb 2019 10:09:14 -0500 Subject: [PATCH] adding search roe delete works on #8 --- src/index.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/index.js b/src/index.js index 6d8b61e..c71988c 100644 --- a/src/index.js +++ b/src/index.js @@ -122,6 +122,24 @@ async function runtest(page, name) { await page.waitForNavigation(); await runtest(page, "SearchDraftResults"); + await page.goto( + "https://srv136.services.gc.ca/ROE-RE/ROEWeb-REWeb/pro/Requests/Prints?org_id=-" + + orgId + ); + await runtest(page, "RequestedPrintFiles"); + + await page.goto( + "https://srv136.services.gc.ca/ROE-RE/ROEWeb-REWeb/pro/Delete/Search?org_id=-" + + orgId + ); + await runtest(page, "DeleteSearch"); + //without a SN and SIN I don't know how to test this... + // await page.type("#SerialNumber", "???"); + // await page.type("#SIN", "???"); + // await page.click("button[type=submit]"); + // await page.waitForNavigation(); + // await runtest(page, "DeleteSearchStatus"); + await page.close(); await browser.close(); })();