Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
6e5b840
fix(theming): change color button contrast on user settings
ShGKme Jan 2, 2024
4beac7e
fix(theming): change color button contrast on admin settings
ShGKme Jan 16, 2024
e0e8719
test(theming): update e2e tests after separating color button and pre…
ShGKme Jan 16, 2024
1ef4862
fix(cypress): Wait for color change in `pickRandomColor`
susnux Jan 24, 2024
e851dd0
Fix(l10n): Update translations from Transifex
nextcloud-bot Jan 26, 2024
2e7d28d
chore: Update `@nextcloud/dialogs` to 5.1.1
susnux Jan 26, 2024
41c5412
chore: Compile assets
susnux Jan 26, 2024
98154a4
fix(cypress): Await copy move request to avoid flaky CI
susnux Jan 26, 2024
3466e1c
Fix(l10n): Update translations from Transifex
nextcloud-bot Jan 27, 2024
21ba0b3
fix(files): disable `Unshare` until proper fix
skjnldsv Jan 26, 2024
cd69c89
Fix(l10n): Update translations from Transifex
nextcloud-bot Jan 28, 2024
8b3fd56
Fix(l10n): Update translations from Transifex
nextcloud-bot Jan 29, 2024
196f5ad
28.0.2 RC5
blizzz Jan 26, 2024
0d4aa87
Fix(l10n): Update translations from Transifex
nextcloud-bot Jan 30, 2024
a7aceaf
Fix(l10n): Update translations from Transifex
nextcloud-bot Jan 31, 2024
47b6c8a
Fix(l10n): Update translations from Transifex
nextcloud-bot Feb 1, 2024
ecbca75
28.0.2
Altahrim Feb 1, 2024
f1f9e0c
fix(settings): Disable renaming for tokens marked to be wiped
susnux Dec 16, 2023
1a0a586
chore: Compile assets
susnux Dec 16, 2023
381a11a
fix(Request): Catch exceptions in `isTrustedProxy`
susnux Jan 15, 2024
2dcb664
dont reuse etag for folders marked explicitly unscanned
icewind1991 Nov 7, 2023
a19d847
add test for updating etag with unchanged mtime
icewind1991 Nov 7, 2023
1c60ec9
add test for updating etag with unchanged mtime in child folder
icewind1991 Nov 22, 2023
690d035
also updated parent etags when a changed etag is detected during scan…
icewind1991 Nov 22, 2023
182e5d4
Document throwing behavior of SetupResult upon invalid rich object
come-nc Jan 22, 2024
044e07a
fix(files): make sure we focus the parent actions submenu entry
skjnldsv Nov 8, 2023
976bcaf
chore(assets): Recompile assets
nextcloud-command Jan 31, 2024
109725c
fix(a11y): Unified search headings the sequel
Pytal Dec 14, 2023
40bde9e
chore(assets): Recompile assets
nextcloud-command Jan 22, 2024
a3ce513
fix(tests): Make PostgreSQL unit tests less flacky by ordering
nickvergessen Jan 25, 2024
6ae20b9
fix(files_sharing): Return focus to trigger element on sharing detail…
Pytal Jan 26, 2024
4a1833a
chore: compile assets
Pytal Feb 1, 2024
9e24257
enh(UnifiedSearch): Keep the searchbar on top of the modal
susnux Dec 12, 2023
01d9c1a
chore(assets): Recompile assets
nextcloud-command Jan 22, 2024
920feac
fix(files): combine navigation and files list into single Vue app
ShGKme Jan 24, 2024
81b88f9
fix(files): right lick actions menu
skjnldsv Feb 1, 2024
1fc9806
Fix(l10n): Update translations from Transifex
nextcloud-bot Feb 2, 2024
ff8595c
Buffer chunked requests
artonge Jan 23, 2024
cec243b
fix: added a label element to the NcSelect in update settings
emoral435 Jan 24, 2024
0c2f3a1
chore: compile assets
emoral435 Jan 29, 2024
56a873d
fix(settings): set viewBox on SVG icons
ShGKme Jan 16, 2024
b750455
chore(assets): Recompile assets
nextcloud-command Jan 23, 2024
9bcf6ff
chore: Bump @nextcloud/vue to v8.5.1
Pytal Jan 23, 2024
9f10c09
chore: compile assets
Pytal Feb 2, 2024
e4a1ee7
chore: Update dav snapshot
Pytal Feb 2, 2024
e3292fa
test(theming): Fix navigation bar tests
Pytal Jan 23, 2024
b4dd4ca
test(files): Fix file picker test
Pytal Jan 23, 2024
60c6483
handle storage not available when expiring versions
icewind1991 Jan 24, 2024
8bbad83
Move modal outside of the Version component.
artonge Jan 25, 2024
48bbbcc
chore(assets): Recompile assets
nextcloud-command Jan 29, 2024
0ac8298
fix(dashboard): Migrate to NcUserStatusIcon
Pytal Jan 12, 2024
61c0ccc
fix(user_status): Migrate to NcUserStatusIcon
Pytal Jan 12, 2024
cf4ecbb
chore(user_status): Remove unused styles + svgs
Pytal Jan 12, 2024
fcd815f
chore: Compile assets
susnux Feb 2, 2024
279bc01
Remove disputed bz2 check
J0WI Jan 15, 2024
4a2ed8f
fix(files): do not open file by id on load for folders
ShGKme Jan 27, 2024
7043ad5
chore(assets): Recompile assets
ShGKme Feb 2, 2024
21fd304
fix(tests): Make the cypress apps management test more reliable
nickvergessen Feb 1, 2024
21735c7
fix(user_status): Fix losing focus to body when closing user status m…
Pytal Feb 1, 2024
ae80892
chore(assets): Recompile assets
nextcloud-command Feb 2, 2024
cf4da73
Fix(l10n): Update translations from Transifex
nextcloud-bot Feb 3, 2024
435fcd8
fix(settings): federation scope menu a11y
ShGKme Jan 24, 2024
32bc05f
fix(settings): use default styles for federation scope menu
ShGKme Jan 24, 2024
a5a7dff
chore(assets): Recompile assets
ShGKme Jan 24, 2024
c6bc313
fix(files): replace inaccessible disabled option of NcCheckboxRadioSw…
JuliaKirschenheuter Jan 22, 2024
19ebbfc
chore(assets): Recompile assets
nextcloud-command Jan 23, 2024
53996d4
chore(assets): Recompile assets
nextcloud-command Feb 3, 2024
d20b773
Correct values and attributes
JuliaKirschenheuter Jan 22, 2024
e64ccee
chore(assets): Recompile assets
nextcloud-command Jan 23, 2024
56b5376
fixing bug #6914: Config Param 'overwritecondaddr' not working
pavelkryl Jan 13, 2022
554abd5
code style: ommited space, reverted [code review]
pavelkryl Jan 13, 2022
1ff2fab
test(unit): fix RequestTest
blizzz Jan 26, 2024
136e047
fix(apps): Fix type information of app manager
nickvergessen Jan 23, 2024
34b035b
fix(files): Consistent sorting for folders before files (user configu…
susnux Jan 26, 2024
997f768
fix(cypress): Adjust files sorting tests
susnux Jan 26, 2024
d7b404f
chore: Compile assets
susnux Jan 26, 2024
213e74e
fix(files): selected files actions position on scroll/with readme block
ShGKme Jan 27, 2024
938e85d
chore(assets): Recompile assets
nextcloud-command Jan 30, 2024
3370104
fix(caldav): only call getTimestamp() on actual DateTime data
tcitworld Jan 11, 2024
8ca72d9
dav: fix wrong decoding of pluses in URLs
lorenz Sep 22, 2023
ce7261e
Consider admin defaults when creating shares
nfebe Jan 22, 2024
253785f
Use `@nextcloud/capabilities` to obtain share api defaults
nfebe Jan 31, 2024
4ad1735
chore(assets): Recompile assets
nextcloud-command Feb 3, 2024
78bb05d
make failure to load app commands non-fatal
icewind1991 Jan 15, 2024
429a512
Fix(l10n): Update translations from Transifex
nextcloud-bot Feb 4, 2024
992ec33
Fix(l10n): Update translations from Transifex
nextcloud-bot Feb 5, 2024
d1e74e2
chore(assets): Recompile assets
nextcloud-command Feb 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test(theming): update e2e tests after separating color button and pre…
…view

Signed-off-by: Grigorii K. Shartsev <[email protected]>
  • Loading branch information
ShGKme committed Jan 25, 2024
commit e0e8719d10bc1ede2ea8a16ddb411449babb7fc8
11 changes: 4 additions & 7 deletions cypress/e2e/theming/admin-settings.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Admin theming settings visibility check', function() {
})

it('See the default settings', function() {
cy.get('[data-admin-theming-setting-primary-color-picker]').should('contain.text', defaultPrimary)
cy.get('[data-admin-theming-setting-primary-color-picker]').should('exist')
cy.get('[data-admin-theming-setting-primary-color-reset]').should('not.exist')
cy.get('[data-admin-theming-setting-file-reset]').should('not.exist')
cy.get('[data-admin-theming-setting-file-remove]').should('be.visible')
Expand All @@ -66,8 +66,7 @@ describe('Change the primary color and reset it', function() {
it('Change the primary color', function() {
cy.intercept('*/apps/theming/ajax/updateStylesheet').as('setColor')

pickRandomColor('[data-admin-theming-setting-primary-color-picker]')
.then(color => { selectedColor = color })
pickRandomColor().then(color => { selectedColor = color })

cy.wait('@setColor')
cy.waitUntil(() => validateBodyThemingCss(selectedColor, defaultBackground))
Expand Down Expand Up @@ -151,8 +150,7 @@ describe('Remove the default background with a custom primary color', function()
it('Change the primary color', function() {
cy.intercept('*/apps/theming/ajax/updateStylesheet').as('setColor')

pickRandomColor('[data-admin-theming-setting-primary-color-picker]')
.then((color) => { selectedColor = color })
pickRandomColor().then(color => { selectedColor = color })

cy.wait('@setColor')
cy.waitUntil(() => validateBodyThemingCss(selectedColor, defaultBackground))
Expand Down Expand Up @@ -372,8 +370,7 @@ describe('The user default background settings reflect the admin theming setting
it('Change the primary color', function() {
cy.intercept('*/apps/theming/ajax/updateStylesheet').as('setColor')

pickRandomColor('[data-admin-theming-setting-primary-color-picker]')
.then(color => { selectedColor = color })
pickRandomColor().then(color => { selectedColor = color })

cy.wait('@setColor')
cy.waitUntil(() => cy.window().then(($window) => {
Expand Down
14 changes: 8 additions & 6 deletions cypress/e2e/theming/themingUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,14 @@ export const pickRandomColor = function(): Cypress.Chainable<string> {
// Pick one of the first 8 options
const randColour = Math.floor(Math.random() * 8)

const colorPreviewSelector = '[data-user-theming-background-color],[data-admin-theming-setting-primary-color]'

// Open picker
cy.get('button').contains('Change color').click()
cy.contains('button', 'Change color').click()

// Click on random color
cy.get('.color-picker__simple-color-circle').eq(randColour).click()

// Return selected colour
return cy.get('.color-picker__simple-color-circle').eq(randColour).then(($el) => {
$el.trigger('click')
return $el.css('background-color')
})
// Get the selected color from the color preview block
return cy.get(colorPreviewSelector).then(($el) => $el.css('background-color'))
}
4 changes: 2 additions & 2 deletions cypress/e2e/theming/user-background.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ describe('User select a bright custom color and remove background', function() {
cy.intercept('*/apps/theming/background/color').as('setColor')

// Pick one of the bright color preset
cy.get('button').contains('Change color').click()
cy.contains('button', 'Change color').click()
cy.get('.color-picker__simple-color-circle:eq(4)').click()

// Validate custom colour change
Expand Down Expand Up @@ -286,7 +286,7 @@ describe('User changes settings and reload the page', function() {
it('Select a custom color', function() {
cy.intercept('*/apps/theming/background/color').as('setColor')

cy.get('button').contains('Change color').click()
cy.contains('button', 'Change color').click()
cy.get('.color-picker__simple-color-circle:eq(5)').click()

// Validate clear background
Expand Down