Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): deactivate the deactivation of the contacts search provider #733

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

datenangebot
Copy link
Collaborator

  • ⁉️have to clarify if the search provider will come back by default or not

Florian Steffens added 2 commits December 5, 2023 15:23
- ⁉️have to clarify if the search provider will come back by default or not

Signed-off-by: Florian Steffens <[email protected]>
Signed-off-by: Florian Steffens <[email protected]>
@juliusknorr
Copy link
Member

This is actually an intended change from nextcloud/server#41738 so it only shows up if contacts is enabled as an app in the future

@juliusknorr juliusknorr marked this pull request as ready for review December 7, 2023 12:26
@juliusknorr
Copy link
Member

Pushed some adjustments to make them all pass

@juliusknorr juliusknorr merged commit 8d51617 into main Dec 7, 2023
@juliusknorr juliusknorr deleted the fix/cypress branch December 7, 2023 12:26
Copy link
Contributor

@enjeck enjeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already merged, but adding a few thoughts that might be worth considering in the future.

@@ -23,7 +23,7 @@ describe('Rows for a table', () => {
cy.get('.modal__content [aria-label="Increase stars"]').click().click()
cy.get('.modal-container button').contains('Save').click()

cy.get('.modal-container').should('not.exist')
cy.get('.modal-container:visible').should('not.exist')
cy.get('.custom-table table').contains('My first task').should('exist')
})

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the Create, Edit and Delete tests here are too coupled to each other, and one failing will impact the others. Imo, it'll be nice if they're made independent or combined into a single test.

@juliusknorr
Copy link
Member

Yes, very good points. We can try to improve the test cases whenever we adjust them next time 👍

@juliusknorr
Copy link
Member

Let's backport this to the stable branch as well as it also covers support for Nextcloud 28.

@juliusknorr
Copy link
Member

/backport to stable0.6

@backportbot-nextcloud backportbot-nextcloud bot added the backport-request Pending backport by the backport-bot label Dec 7, 2023
@backportbot-nextcloud backportbot-nextcloud bot removed the backport-request Pending backport by the backport-bot label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants