CLD-7841 Optimize E2E testing costs (#27883)
* Utilize free runners for E2E tests, report back to PR on run completion * Increase test stability on smaller instances * Merge worker reports * merge start+prepare steps * upgrade keycloak * increase test timeouts * Add video recording to report artifacts Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com> --------- Co-authored-by: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5f19d8513b
Коммит
948f8941f0
@@ -10,6 +10,8 @@
|
||||
// Stage: @prod
|
||||
// Group: @channels @files_and_attachments
|
||||
|
||||
import * as TIMEOUTS from '../../../fixtures/timeouts';
|
||||
|
||||
describe('YouTube Video', () => {
|
||||
before(() => {
|
||||
// # Enable Link Previews
|
||||
@@ -27,10 +29,12 @@ describe('YouTube Video', () => {
|
||||
|
||||
it('MM-T2258 YouTube Video play, collapse', () => {
|
||||
// # Post message
|
||||
cy.postMessage('https://www.youtube.com/watch?v=gLNmtUEvI5A');
|
||||
const youtubeUrl = 'https://www.youtube.com/watch?v=gLNmtUEvI5A';
|
||||
cy.postMessage(youtubeUrl);
|
||||
cy.uiWaitUntilMessagePostedIncludes(youtubeUrl);
|
||||
cy.getLastPost().within(() => {
|
||||
// # Click play button
|
||||
cy.get('.play-button').click();
|
||||
cy.get('.play-button', {timeout: TIMEOUTS.TEN_SEC}).click();
|
||||
|
||||
// * Video should be loaded in the iframe
|
||||
cy.get('.video-div > iframe').should('exist');
|
||||
|
||||
Ссылка в новой задаче
Block a user