aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/theming/user-background.cy.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/cypress/e2e/theming/user-background.cy.ts b/cypress/e2e/theming/user-background.cy.ts
index 8f9e42d6ad4..86b66627ee6 100644
--- a/cypress/e2e/theming/user-background.cy.ts
+++ b/cypress/e2e/theming/user-background.cy.ts
@@ -19,15 +19,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-import type { User } from '@nextcloud/cypress'
+import { User } from '@nextcloud/cypress'
import { pickRandomColor, validateBodyThemingCss } from './themingUtils'
const defaultPrimary = '#006aa3'
const defaultBackground = 'kamil-porembinski-clouds.jpg'
+const admin = new User('admin', 'admin')
describe('User default background settings', function() {
before(function() {
+ cy.resetAdminTheming()
+ cy.resetUserTheming(admin)
cy.createRandomUser().then((user: User) => {
cy.login(user)
})