Skip to content

Commit

Permalink
Merge pull request #36455 from nextcloud/artonge/e2e/reset_theming
Browse files Browse the repository at this point in the history
Reset theming in cypress test
  • Loading branch information
skjnldsv authored Jan 31, 2023
2 parents ca3f53a + fc1a162 commit 873501a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cypress/e2e/theming/user-background.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit 873501a

Please sign in to comment.