MM-61306: Cypress/E2E, fixed failed tests (#28959)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
857fd87a47
Коммит
77862dd581
@@ -90,7 +90,7 @@ describe('Incoming webhook', () => {
|
||||
cy.wrap(el).should('contain', 'The following should be markdown formatted');
|
||||
cy.wrap(el).should('contain', '(mouse emoji, strawberry emoji, then formatting as indicated):');
|
||||
cy.get('.emoticon').eq(0).parent().
|
||||
should('have.html', `<span alt=":hamster:" class="emoticon" title=":hamster:" style="background-image: url("${baseUrl}/static/emoji/1f439.png");">:hamster:</span>`);
|
||||
should('have.html', `<span alt=":hamster:" class="emoticon" data-testid="postEmoji.:hamster:" style="background-image: url("${baseUrl}/static/emoji/1f439.png");">🐹</span>`);
|
||||
cy.get('.emoticon').eq(1).parent().
|
||||
should('have.html', `<span alt=":strawberry:" class="emoticon" title=":strawberry:" style="background-image: url("${baseUrl}/static/emoji/1f353.png");">:strawberry:</span>`);
|
||||
cy.wrap(el).find('strong').should('have.text', 'bold');
|
||||
|
||||
Ссылка в новой задаче
Block a user