summaryrefslogtreecommitdiffstats
path: root/polygerrit-ui/app/test/functional/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'polygerrit-ui/app/test/functional/test.js')
-rw-r--r--polygerrit-ui/app/test/functional/test.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/polygerrit-ui/app/test/functional/test.js b/polygerrit-ui/app/test/functional/test.js
new file mode 100644
index 0000000000..d394487ae4
--- /dev/null
+++ b/polygerrit-ui/app/test/functional/test.js
@@ -0,0 +1,25 @@
+/**
+ * @fileoverview Minimal viable frontend functional test.
+ */
+'use strict';
+
+const {until} = require('selenium-webdriver');
+const {setup, cleanup} = require('test-infra');
+
+jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;
+
+describe('example ', () => {
+ let driver;
+
+ beforeAll(() => {
+ return setup().then(d => driver = d);
+ });
+
+ afterAll(() => {
+ return cleanup();
+ });
+
+ it('should update title', () => {
+ return driver.wait(until.titleIs('status:open ยท Gerrit Code Review'), 5000);
+ });
+});