Chore(cypress): Review and Fix tests failing on master (#26954)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a1ed780a86
Коммит
03c930daa0
@@ -48,7 +48,10 @@ describe('Keyboard Shortcuts', () => {
|
||||
cy.get('.status--group').click();
|
||||
|
||||
// * Check if channel intro message with usernames is visible
|
||||
cy.findByText(/This is the start/).should('be.visible').contains(secondUser.username).contains(thirdUser.username);
|
||||
cy.get('.channel-intro__text').contains('This is the start of your group message history with these teammates').
|
||||
should('be.visible');
|
||||
|
||||
cy.get('.channel-intro__title').contains(secondUser.username).contains(thirdUser.username);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -26,7 +26,7 @@ describe('Keyboard Shortcuts', () => {
|
||||
cy.postMessage(message);
|
||||
|
||||
// # Open the edit the channel header modal
|
||||
cy.findByRole('button', {name: 'Set a Header dialog'}).click();
|
||||
cy.get('[aria-label="Set header dialog"]').click();
|
||||
|
||||
// * Verify modal is open
|
||||
cy.findByRole('dialog', {name: 'Edit Header for Off-Topic'}).within(() => {
|
||||
|
||||
Ссылка в новой задаче
Block a user