From ac8eb25ac0b1d518beebe810e6430e375032028c Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Wed, 12 Jun 2024 10:50:34 -0700
Subject: Add some 'load scenario' todo tests
---
test/integration/loadScenario.test.js | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 test/integration/loadScenario.test.js
(limited to 'test/integration')
diff --git a/test/integration/loadScenario.test.js b/test/integration/loadScenario.test.js
new file mode 100644
index 0000000..645c5c2
--- /dev/null
+++ b/test/integration/loadScenario.test.js
@@ -0,0 +1,23 @@
+const { Builder } = require('selenium-webdriver'),
+ chrome = require('selenium-webdriver/chrome.js'),
+ chromeOptions = new chrome.Options();
+
+chromeOptions.addArguments('--headless', '--disable-gpu', '--no-sandbox');
+chromeOptions.enableBidi();
+
+let driver;
+
+beforeEach(async () => {
+ const builder = new Builder().forBrowser('chrome').setChromeOptions(chromeOptions);
+ driver = builder.build();
+});
+
+it.todo('loads default scenario on initial page load');
+it.todo('loads previously-loaded scenario on page refresh');
+it.todo('loads built-in scenario from dialog');
+it.todo('loads custom scenario directly from file');
+it.todo('loads saved scenario from file');
+
+afterEach(async () => {
+ await driver.quit();
+});
--
cgit v1.2.3