Add E2E retries support for Automation Dashboard (#29328)
* Add E2E retries support for Automation Dashboard * Disable sneaky cypress testcase
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4bb4f9814b
Коммит
e80c5006c3
@@ -127,7 +127,7 @@ async function saveResult(specExecution, result, testIndex) {
|
||||
const testCases = [];
|
||||
for (let i = 0; i < tests.length; i++) {
|
||||
const test = tests[i];
|
||||
const attempts = test.attempts[0];
|
||||
const attempts = test.attempts.pop();
|
||||
|
||||
const testCase = {
|
||||
title: test.title,
|
||||
@@ -151,7 +151,7 @@ async function saveResult(specExecution, result, testIndex) {
|
||||
}
|
||||
|
||||
if (attempts.screenshots && attempts.screenshots.length > 0) {
|
||||
const path = test.attempts[0].screenshots[0].path;
|
||||
const path = attempts.screenshots[0].path;
|
||||
const screenshotUrl = await uploadScreenshot(path, REPO, BRANCH, BUILD_ID);
|
||||
if (typeof screenshotUrl === 'string' && !screenshotUrl.error) {
|
||||
testCase.screenshot = {url: screenshotUrl};
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
// - Use element ID when selecting an element. Create one if none.
|
||||
// ***************************************************************
|
||||
|
||||
// Stage: @prod
|
||||
// Group: @channels @messaging
|
||||
|
||||
import {getAdminAccount} from '../../../support/env';
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
// - Use element ID when selecting an element. Create one if none.
|
||||
// ***************************************************************
|
||||
|
||||
// Stage: @prod
|
||||
// Group: @channels @signin_authentication @mfa
|
||||
|
||||
import authenticator from 'authenticator';
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
// - Use element ID when selecting an element. Create one if none.
|
||||
// ***************************************************************
|
||||
|
||||
// Stage: @prod
|
||||
// Group: @channels @not_cloud @system_console @restrict_system_admin
|
||||
|
||||
describe('Password settings', () => {
|
||||
|
||||
Ссылка в новой задаче
Block a user