Sfoglia il codice sorgente

Merge pull request #36455 from nextcloud/artonge/e2e/reset_theming

Reset theming in cypress test
tags/v26.0.0beta2
John Molakvoæ 1 anno fa
parent
commit
873501a141
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4
    1
      cypress/e2e/theming/user-background.cy.ts

+ 4
- 1
cypress/e2e/theming/user-background.cy.ts Vedi File

@@ -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)
})

Loading…
Annulla
Salva