We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 522c850 commit 64c9676Copy full SHA for 64c9676
tests/spectron/test-reload-button.js
@@ -0,0 +1,21 @@
1
+"use strict";
2
+const test = require("tape");
3
+
4
+const setup = require("../spectron_lib/common");
5
6
+// Create new org link should open in the default browser [WIP]
7
8
+test("new-org-link", async (t) => {
9
+ t.timeoutAfter(50e3);
10
+ setup.resetTestDataDir();
11
+ const app = setup.createApp();
12
+ try {
13
+ await setup.waitForLoad(app, t);
14
+ await app.client.windowByIndex(0);
15
+ await (await app.client.$("#reload-action")).click(); // Click on new org link button
16
+ await setup.wait(5000);
17
+ await setup.endTest(app, t);
18
+ } catch (error) {
19
+ await setup.endTest(app, t, error || "error");
20
+ }
21
+});
0 commit comments