MCPcopy Create free account
hub / github.com/gotify/server / createApp

Function createApp

ui/src/tests/application.test.ts:60–68  ·  view source on GitHub ↗
(name: string, description: string)

Source from the content-addressed store, hash-verified

58
59const createApp =
60 (name: string, description: string): (() => Promise<void>) =>
61 async () => {
62 await page.click('#create-app');
63 await page.waitForSelector($dialog.selector());
64 await page.type($dialog.input('.name'), name);
65 await page.type($dialog.textarea('.description'), description);
66 await page.click($dialog.button('.create'));
67 await waitToDisappear(page, $dialog.selector());
68 };
69
70describe('Application', () => {
71 it('does login', async () => await auth.login(page));

Callers 1

Calls 1

waitToDisappearFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…