[MM-61647][MM-61651]: Upgraded react-select to v5 (#30070)
* [MM-61647]: Upgraded react-select to v5 - Updated old type definitions with new v5 packaged type definitions. - Removed some unused props - Updated onBlur, onFocus and handleInputChange methods in user_input_email component * Fix incorrect usage of handleInputChange in ChannelsInput * Remove type assertions from dropdown_input_hybrid.tsx * Simplify typing of users_emails_input.tsx * [MM-61647][MM-61651]: Fixed some type definitions and e2e failing test case * [MM-61647][MM-61651]: Fixed type error in dropdown_input_hybrid * [MM-61647][MM-61651]: Fixed failing CI type error and e2e test cases * [MM-61647][MM-61651]: Fixed failing e2e test case * [MM-61647][MM-61651]: Updated the styles and reverted the test case changes - Fixed the theme not getting correctly inherited - Fixed the timezone and language settings getting saved on enter --------- Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6ecaad2a41
Коммит
8e9a09e512
@@ -44,7 +44,7 @@ describe('Messaging', () => {
|
||||
|
||||
// # Search for the deactivated user
|
||||
cy.findByRole('dialog', {name: 'Direct Messages'}).should('be.visible').wait(TIMEOUTS.ONE_SEC);
|
||||
cy.findByRole('textbox', {name: 'Search for people'}).typeWithForce(deactivatedUser.email);
|
||||
cy.findByRole('combobox', {name: 'Search for people'}).typeWithForce(deactivatedUser.email);
|
||||
|
||||
// * Verify that the inactive user is not found
|
||||
cy.get('.no-channel-message').should('be.visible').and('contain', 'No results found matching');
|
||||
|
||||
@@ -51,7 +51,7 @@ describe('Header', () => {
|
||||
// # Open a DM with the bot
|
||||
cy.uiAddDirectMessage().click().wait(TIMEOUTS.ONE_SEC);
|
||||
cy.findByRole('dialog', {name: 'Direct Messages'}).should('be.visible').wait(TIMEOUTS.ONE_SEC);
|
||||
cy.findByRole('textbox', {name: 'Search for people'}).
|
||||
cy.findByRole('combobox', {name: 'Search for people'}).
|
||||
typeWithForce('matterpoll').wait(TIMEOUTS.ONE_SEC).
|
||||
typeWithForce('{enter}');
|
||||
cy.get('#selectItems').contains('matterpoll');
|
||||
|
||||
Ссылка в новой задаче
Block a user