Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/loadScenario.test.js23
1 files changed, 23 insertions, 0 deletions
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();
+});