1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2026-04-30 22:42:32 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Girish Ramakrishnan 335940ab4a test file cleanups 2026-04-30 10:22:27 +02:00
Girish Ramakrishnan 7c3fa660e0 test: pass full Mocha test to takeScreenshot for unique screenshot names 2026-04-29 17:09:57 +02:00
+3 -18
View File
@@ -4,22 +4,7 @@ import assert from 'node:assert/strict';
import { execSync } from 'node:child_process';
import fs from 'node:fs';
import path from 'node:path';
import {
app,
clearCache,
click,
cloudronCli,
goto,
loginOIDC,
sendKeys,
setupBrowser,
takeScreenshot,
teardownBrowser,
username,
waitFor,
waitForUrl,
press
} from '@cloudron/charlie';
import { app, clearCache, click, cloudronCli, goto, loginOIDC, sendKeys, setupBrowser, takeScreenshot, teardownBrowser, username, waitFor, waitForUrl, press } from '@cloudron/charlie';
/* global it, describe, before, after, afterEach */
@@ -36,7 +21,7 @@ describe('Application life cycle test', function () {
});
afterEach(async function () {
await takeScreenshot(this.currentTest.title);
await takeScreenshot(this.currentTest);
});
async function login(user, passwd) {
@@ -153,7 +138,7 @@ describe('Application life cycle test', function () {
it('uninstall app (no sso)', cloudronCli.uninstall);
it('can install app from appstore', async function () {
it('can install app for update', async function () {
await cloudronCli.appstoreInstall({ tcpPortFlags: INSTALL_TCP_FLAGS });
});