Fixed Add Channel_test_cases (#22768)
* Fixed Add Channel_test_cases * fixed more test cases * fixed lint
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8d301c0d64
Коммит
f1f54508f4
@@ -32,7 +32,7 @@ Cypress.Commands.add('uiOpenTeamMenu', (item = '') => {
|
||||
|
||||
Cypress.Commands.add('uiGetLHSAddChannelButton', () => {
|
||||
return cy.uiGetLHS().
|
||||
findByRole('button', {name: 'Add Channel Dropdown'});
|
||||
find('.AddChannelDropdown_dropdownButton');
|
||||
});
|
||||
|
||||
Cypress.Commands.add('uiGetLHSTeamMenu', () => {
|
||||
@@ -89,7 +89,7 @@ Cypress.Commands.add('uiGetLhsSection', (section) => {
|
||||
});
|
||||
|
||||
Cypress.Commands.add('uiBrowseOrCreateChannel', (item) => {
|
||||
cy.findByRole('button', {name: 'Add Channel Dropdown'}).
|
||||
cy.get('.AddChannelDropdown_dropdownButton').
|
||||
should('be.visible').
|
||||
click();
|
||||
cy.get('.dropdown-menu').should('be.visible');
|
||||
|
||||
Ссылка в новой задаче
Block a user