From abd2ebbc4db0491e38e4714bcf32d566a6dd464f Mon Sep 17 00:00:00 2001 From: kochetkov-ma Date: Tue, 2 Jul 2024 20:03:49 +0100 Subject: [PATCH] fix: support native executor.json and executor bu API #83 --- .gitignore | 1 + docker-compose.yml | 4 +- .../java/ru/iopump/qa/allure/Application.java | 4 +- .../controller/AllureReportController.java | 98 +-- .../controller/AllureResultController.java | 32 +- .../iopump/qa/allure/entity/ReportEntity.java | 8 +- .../gui/component/ReportGenerateDialog.java | 2 +- .../gui/component/ResultUploadDialog.java | 4 +- .../iopump/qa/allure/gui/view/AboutView.java | 13 +- .../qa/allure/gui/view/ReportsView.java | 4 +- .../qa/allure/gui/view/ResultsView.java | 72 +- .../allure/helper/AllureReportGenerator.java | 8 +- .../qa/allure/helper/ExecutorCiPlugin.java | 14 +- .../qa/allure/helper/ServeRedirectHelper.java | 8 +- .../qa/allure/model/ResultResponse.java | 5 +- .../qa/allure/repo/JpaReportRepository.java | 9 +- .../qa/allure/security/SecurityUtils.java | 6 +- .../qa/allure/service/JpaReportService.java | 2 +- .../ru/iopump/qa/allure/service/PathUtil.java | 4 +- .../qa/allure/service/ResultService.java | 14 +- src/main/resources/icons/docker.svg | 6 +- src/main/resources/icons/github.svg | 6 +- src/main/resources/icons/linkedin.svg | 6 +- .../custom-logo-plugin/static/custom-logo.svg | 22 +- src/test/resources/allure-results.json | 304 ++++----- ...65-6b95-4cc8-90ac-889b6105b0d4-result.json | 304 ++++----- ...a9-730a-44a7-964f-ce9d1744a025-result.json | 274 ++++---- ...2f-58a2-41c2-b7b5-cc44beb18d62-result.json | 304 ++++----- ...3ab2-44bf-b74a-637e8882cd37-container.json | 126 ++-- ...59e7-4ac3-aa9a-c40ba26ba4dc-container.json | 140 ++-- ...0ce3-449a-973e-00708722475f-container.json | 140 ++-- ...47-d5d0-4b16-8b5a-21022d1b3914-result.json | 442 ++++++------- ...d527-4e97-824c-86c6c6f3a0aa-container.json | 140 ++-- ...26-92cf-4219-af2f-5ff0ec922a37-result.json | 386 +++++------ ...1e1d-4724-aff6-3546cf511266-container.json | 126 ++-- ...d3fe-48b6-9f69-a33027042b0a-container.json | 126 ++-- ...52-0c3d-473d-ba95-e6214993903d-result.json | 430 ++++++------ ...b2-c34b-4db0-af9c-75fda0c2a84c-result.json | 454 ++++++------- ...87bb-4bb7-80b8-7e3d5df40a94-container.json | 126 ++-- ...21-d0bf-4c78-907e-a530107e81f5-result.json | 620 +++++++++--------- ...90-d842-4781-afd5-48e78782ed4d-result.json | 398 +++++------ ...a5f1-404f-81d2-d7cac8d30d46-container.json | 140 ++-- ...fb5-4f04-bf8f-40e22b8ee985-attachment.html | 295 ++++----- .../executor.json | 8 +- ...16-5270-4919-bce4-4baae308931d-result.json | 346 +++++----- ...a1f2-49f2-bf94-d772e9ac4fdc-container.json | 140 ++-- ...e62b-466e-8887-3b212376f702-container.json | 140 ++-- 47 files changed, 3157 insertions(+), 3104 deletions(-) diff --git a/.gitignore b/.gitignore index 1db0c4d..ba66fab 100644 --- a/.gitignore +++ b/.gitignore @@ -46,6 +46,7 @@ id_rsa !**/resources/**/*.zip !**/resources/**/*.jar allure-server-store/ +allure-server-store-db/ tmp/ pg-secret.yaml diff --git a/docker-compose.yml b/docker-compose.yml index f09f907..8e4d6f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,10 +24,12 @@ services: - postgres postgres: - image: postgres:latest + image: postgres:16.3-alpine environment: POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres POSTGRES_DB: allure ports: - 5432:5432 + volumes: + - ./allure-server-store-db:/var/lib/postgresql/data:rw diff --git a/src/main/java/ru/iopump/qa/allure/Application.java b/src/main/java/ru/iopump/qa/allure/Application.java index d5fac50..9b817b4 100644 --- a/src/main/java/ru/iopump/qa/allure/Application.java +++ b/src/main/java/ru/iopump/qa/allure/Application.java @@ -19,9 +19,9 @@ @EnableTransactionManagement @EnableConfigurationProperties({AllureProperties.class, CleanUpProperties.class, BasicProperties.class, TmsProperties.class}) @EnableVaadin -public class Application { //NOPMD +public class Application { - public static void main(String[] args) { //NOPMD + public static void main(String[] args) { SpringApplication.run(Application.class, args); } } diff --git a/src/main/java/ru/iopump/qa/allure/controller/AllureReportController.java b/src/main/java/ru/iopump/qa/allure/controller/AllureReportController.java index eaaeadc..47b8c26 100644 --- a/src/main/java/ru/iopump/qa/allure/controller/AllureReportController.java +++ b/src/main/java/ru/iopump/qa/allure/controller/AllureReportController.java @@ -1,4 +1,4 @@ -package ru.iopump.qa.allure.controller; //NOPMD +package ru.iopump.qa.allure.controller; import com.google.common.base.Preconditions; import io.qameta.allure.entity.ExecutorInfo; @@ -65,20 +65,20 @@ public String baseUrl() { @GetMapping public Collection getAllReports(@RequestParam(required = false) String path) { return StreamUtil.stream(getAllCached()) - .filter(i -> path == null || i.getPath().startsWith(path)) - .collect(Collectors.toUnmodifiableSet()); + .filter(i -> path == null || i.getPath().startsWith(path)) + .collect(Collectors.toUnmodifiableSet()); } @Cacheable(CACHE) // caching results public Collection getAllCached() { return StreamUtil.stream(reportService.getAll()) - .map(entity -> new ReportResponse( - entity.getUuid(), - entity.getPath(), - entity.generateUrl(baseUrl(), allureProperties.reports().dir()), - entity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) - )) - .collect(Collectors.toUnmodifiableList()); + .map(entity -> new ReportResponse( + entity.getUuid(), + entity.getPath(), + entity.generateUrl(baseUrl(), allureProperties.reports().dir()), + entity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) + )) + .collect(Collectors.toUnmodifiableList()); } @Operation(summary = "Generate report") @@ -88,18 +88,18 @@ public Collection getAllCached() { public ReportResponse generateReport(@RequestBody @Valid ReportGenerateRequest reportGenerateRequest) throws IOException { final ReportEntity reportEntity = reportService.generate( - reportGenerateRequest.getReportSpec().getPathsAsPath(), - reportGenerateRequest.getResultsAsPath(resultService.getStoragePath()), - reportGenerateRequest.isDeleteResults(), - reportGenerateRequest.getReportSpec().getExecutorInfo(), - baseUrl() + reportGenerateRequest.getReportSpec().getPathsAsPath(), + reportGenerateRequest.getResultsAsPath(resultService.getStoragePath()), + reportGenerateRequest.isDeleteResults(), + reportGenerateRequest.getReportSpec().getExecutorInfo(), + baseUrl() ); return new ReportResponse( - reportEntity.getUuid(), - reportEntity.getPath(), - reportEntity.generateUrl(baseUrl(), allureProperties.reports().dir()), - reportEntity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) + reportEntity.getUuid(), + reportEntity.getPath(), + reportEntity.generateUrl(baseUrl(), allureProperties.reports().dir()), + reportEntity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) ); } @@ -110,39 +110,39 @@ public ReportResponse generateReport(@RequestBody @Valid ReportGenerateRequest r @ResponseStatus(HttpStatus.CREATED) @CacheEvict(value = CACHE, allEntries = true) // update results cache public ReportResponse uploadReport( - @PathVariable("reportPath") @NonNull String reportPath, - @Parameter(description = "File as multipart body. File must be an zip archive and not be empty. Nested type is 'application/zip'", - name = "allureResults", - example = "allure-result.zip", - required = true, - content = @Content(mediaType = "application/zip") - ) - @RequestParam MultipartFile allureReportArchive) { + @PathVariable("reportPath") @NonNull String reportPath, + @Parameter(description = "File as multipart body. File must be an zip archive and not be empty. Nested type is 'application/zip'", + name = "allureResults", + example = "allure-result.zip", + required = true, + content = @Content(mediaType = "application/zip") + ) + @RequestParam MultipartFile allureReportArchive) { final String contentType = allureReportArchive.getContentType(); // Check Content-Type if (StringUtils.isNotBlank(contentType)) { Preconditions.checkArgument(StringUtils.equalsAny(contentType, "application/zip", "application/x-zip-compressed"), - "Content-Type must be '%s' but '%s'", "application/zip", contentType); + "Content-Type must be '%s' but '%s'", "application/zip", contentType); } // Check Extension if (allureReportArchive.getOriginalFilename() != null) { Preconditions.checkArgument(allureReportArchive.getOriginalFilename().endsWith(".zip"), - "File must have '.zip' extension but '%s'", allureReportArchive.getOriginalFilename()); + "File must have '.zip' extension but '%s'", allureReportArchive.getOriginalFilename()); } // Unzip and save ReportEntity reportEntity = reportService - .uploadReport(reportPath, allureReportArchive.getInputStream(), new ExecutorInfo(), baseUrl()); + .uploadReport(reportPath, allureReportArchive.getInputStream(), new ExecutorInfo(), baseUrl()); log.info("File saved to file system '{}'", allureReportArchive); return new ReportResponse( - reportEntity.getUuid(), - reportEntity.getPath(), - reportEntity.generateUrl(baseUrl(), allureProperties.reports().dir()), - reportEntity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) + reportEntity.getUuid(), + reportEntity.getPath(), + reportEntity.generateUrl(baseUrl(), allureProperties.reports().dir()), + reportEntity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) ); } @@ -151,13 +151,13 @@ public ReportResponse uploadReport( @CacheEvict(value = CACHE, allEntries = true) public Collection deleteAllHistory() { return reportService.clearAllHistory().stream() - .map(entity -> new ReportResponse( - entity.getUuid(), - entity.getPath(), - entity.generateUrl(baseUrl(), allureProperties.reports().dir()), - entity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) - )) - .collect(Collectors.toUnmodifiableList()); + .map(entity -> new ReportResponse( + entity.getUuid(), + entity.getPath(), + entity.generateUrl(baseUrl(), allureProperties.reports().dir()), + entity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) + )) + .collect(Collectors.toUnmodifiableList()); } @Operation(summary = "Delete all reports or older than date in epoch seconds") @@ -172,17 +172,17 @@ public Collection deleteAll(@RequestParam(required = false) Long deleted = reportService.deleteAllOlderThanDate(boundaryDate); } return deleted.stream() - .map(entity -> new ReportResponse( - entity.getUuid(), - entity.getPath(), - entity.generateUrl(baseUrl(), allureProperties.reports().dir()), - entity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) - )) - .collect(Collectors.toUnmodifiableList()); + .map(entity -> new ReportResponse( + entity.getUuid(), + entity.getPath(), + entity.generateUrl(baseUrl(), allureProperties.reports().dir()), + entity.generateLatestUrl(baseUrl(), allureProperties.reports().path()) + )) + .collect(Collectors.toUnmodifiableList()); } @ExceptionHandler(ConstraintViolationException.class) - private void constraintViolationException(HttpServletResponse response) throws IOException { //NOPMD + private void constraintViolationException(HttpServletResponse response) throws IOException { response.sendError(HttpStatus.BAD_REQUEST.value()); } } diff --git a/src/main/java/ru/iopump/qa/allure/controller/AllureResultController.java b/src/main/java/ru/iopump/qa/allure/controller/AllureResultController.java index 7e6c6df..47449d4 100644 --- a/src/main/java/ru/iopump/qa/allure/controller/AllureResultController.java +++ b/src/main/java/ru/iopump/qa/allure/controller/AllureResultController.java @@ -1,4 +1,4 @@ -package ru.iopump.qa.allure.controller; //NOPMD +package ru.iopump.qa.allure.controller; import com.google.common.base.Preconditions; import io.swagger.v3.oas.annotations.Operation; @@ -65,7 +65,7 @@ public Collection deleteAllResults() throws IOException { @DeleteMapping(path = "/{uuid}") @CacheEvict(value = CACHE, allEntries = true) public ResultResponse deleteResult( - @PathVariable @NotBlank @Pattern(regexp = PathUtil.UUID_PATTERN) String uuid + @PathVariable @NotBlank @Pattern(regexp = PathUtil.UUID_PATTERN) String uuid ) throws IOException { return resultService.internalDeleteByUUID(uuid); } @@ -74,9 +74,9 @@ public ResultResponse deleteResult( @GetMapping(path = "/{uuid}") public ResultResponse getResult(@PathVariable @NotBlank @Pattern(regexp = PathUtil.UUID_PATTERN) String uuid) throws IOException { return StreamUtil.stream(getAllResult()) - .filter(i -> uuid.equalsIgnoreCase(i.getUuid())) - .findFirst() - .orElse(ResultResponse.builder().build()); + .filter(i -> uuid.equalsIgnoreCase(i.getUuid())) + .findFirst() + .orElse(ResultResponse.builder().build()); } @Operation(summary = "Get all uploaded allure results archives") @@ -102,19 +102,19 @@ public Collection getAllResult() throws IOException { @SneakyThrows @Operation(summary = "Upload allure-results.zip with allure results files before generating report. " + - "Don't forgot memorize uuid from response for further report generation" + "Don't forgot memorize uuid from response for further report generation" ) @PostMapping(consumes = {"multipart/form-data"}) @ResponseStatus(HttpStatus.CREATED) @CacheEvict(value = CACHE, allEntries = true) // update results cache public UploadResponse uploadResults( - @Parameter(description = "File as multipart body. File must be an zip archive and not be empty. Nested type is 'application/zip'", - name = "allureResults", - example = "allure-result.zip", - required = true, - content = @Content(mediaType = "application/zip") - ) - @RequestParam MultipartFile allureResults + @Parameter(description = "File as multipart body. File must be an zip archive and not be empty. Nested type is 'application/zip'", + name = "allureResults", + example = "allure-result.zip", + required = true, + content = @Content(mediaType = "application/zip") + ) + @RequestParam MultipartFile allureResults ) { final String contentType = allureResults.getContentType(); @@ -122,13 +122,13 @@ public UploadResponse uploadResults( // Check Content-Type if (StringUtils.isNotBlank(contentType)) { Preconditions.checkArgument(StringUtils.equalsAny(contentType, "application/zip", "application/x-zip-compressed"), - "Content-Type must be '%s' but '%s'", "application/zip", contentType); + "Content-Type must be '%s' but '%s'", "application/zip", contentType); } // Check Extension if (allureResults.getOriginalFilename() != null) { Preconditions.checkArgument(allureResults.getOriginalFilename().endsWith(".zip"), - "File must have '.zip' extension but '%s'", allureResults.getOriginalFilename()); + "File must have '.zip' extension but '%s'", allureResults.getOriginalFilename()); } // Unzip and save @@ -141,4 +141,4 @@ public UploadResponse uploadResults( public void constraintViolationException(HttpServletResponse response) throws IOException { response.sendError(HttpStatus.BAD_REQUEST.value()); } -} \ No newline at end of file +} diff --git a/src/main/java/ru/iopump/qa/allure/entity/ReportEntity.java b/src/main/java/ru/iopump/qa/allure/entity/ReportEntity.java index 25e5941..c73a62d 100644 --- a/src/main/java/ru/iopump/qa/allure/entity/ReportEntity.java +++ b/src/main/java/ru/iopump/qa/allure/entity/ReportEntity.java @@ -48,20 +48,20 @@ public class ReportEntity { private boolean active; @Builder.Default @PositiveOrZero - private long level = 0L; //NOPMD + private long level = 0L; @Builder.Default @PositiveOrZero @Access(AccessType.PROPERTY) @Column(columnDefinition = "bigint not null default '0'") - private long size = 0L; //NOPMD + private long size = 0L; @Builder.Default @PositiveOrZero @Column(columnDefinition = "int not null default '0'") - private int version = 1; //NOPMD + private int version = 1; @Builder.Default @NotNull @Column(nullable = false, columnDefinition = "varchar(255) not null default ''") - private String buildUrl = ""; //NOPMD + private String buildUrl = ""; public static long sizeKB(@Nullable Path path) { if (path == null || Files.notExists(path)) { diff --git a/src/main/java/ru/iopump/qa/allure/gui/component/ReportGenerateDialog.java b/src/main/java/ru/iopump/qa/allure/gui/component/ReportGenerateDialog.java index d3e6e09..194ba47 100644 --- a/src/main/java/ru/iopump/qa/allure/gui/component/ReportGenerateDialog.java +++ b/src/main/java/ru/iopump/qa/allure/gui/component/ReportGenerateDialog.java @@ -87,7 +87,7 @@ private void onClickGenerate() { info.setVisible(true); info.setText("Success: " + res); } - } catch (Exception e) { //NOPMD + } catch (Exception e) { error.setVisible(true); error.setText("Error: " + e.getLocalizedMessage()); log.error("Generation error", e); diff --git a/src/main/java/ru/iopump/qa/allure/gui/component/ResultUploadDialog.java b/src/main/java/ru/iopump/qa/allure/gui/component/ResultUploadDialog.java index 0e95c66..6068a77 100644 --- a/src/main/java/ru/iopump/qa/allure/gui/component/ResultUploadDialog.java +++ b/src/main/java/ru/iopump/qa/allure/gui/component/ResultUploadDialog.java @@ -24,7 +24,7 @@ import static ru.iopump.qa.util.Str.format; @Slf4j -public class ResultUploadDialog extends Dialog { //NOPMD +public class ResultUploadDialog extends Dialog { private static final long serialVersionUID = -4958469225519042248L; private final MemoryBuffer buffer; @@ -54,7 +54,7 @@ public ResultUploadDialog( event.getFileName(), event.getContentLength(), uploadResponse )), false ); - } catch (Exception ex) { //NOPMD + } catch (Exception ex) { show(error("Internal error: " + ex.getLocalizedMessage()), true); log.error("Uploading error", ex); } diff --git a/src/main/java/ru/iopump/qa/allure/gui/view/AboutView.java b/src/main/java/ru/iopump/qa/allure/gui/view/AboutView.java index ac3c21c..e65ff92 100644 --- a/src/main/java/ru/iopump/qa/allure/gui/view/AboutView.java +++ b/src/main/java/ru/iopump/qa/allure/gui/view/AboutView.java @@ -1,7 +1,5 @@ package ru.iopump.qa.allure.gui.view; -import static ru.iopump.qa.allure.gui.MainLayout.ALLURE_SERVER; - import com.vaadin.flow.component.Tag; import com.vaadin.flow.component.html.Anchor; import com.vaadin.flow.component.html.Div; @@ -10,8 +8,6 @@ import com.vaadin.flow.component.orderedlayout.VerticalLayout; import com.vaadin.flow.router.PageTitle; import com.vaadin.flow.router.Route; -import java.io.InputStream; -import java.nio.charset.StandardCharsets; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.apache.commons.io.IOUtils; @@ -19,6 +15,11 @@ import ru.iopump.qa.allure.gui.MainLayout; import ru.iopump.qa.util.ResourceUtil; +import java.io.InputStream; +import java.nio.charset.StandardCharsets; + +import static ru.iopump.qa.allure.gui.MainLayout.ALLURE_SERVER; + @Tag("about-view") @PageTitle("About | " + ALLURE_SERVER) @Route(value = "about", layout = MainLayout.class) @@ -63,9 +64,9 @@ public AboutView() { public static String getVersionOrDefault(@NonNull String defaultVersion) { try (final InputStream inputStream = ResourceUtil.getResourceAsStream("version.info")) { var version = IOUtils.toString(inputStream, StandardCharsets.UTF_8); - log.info("App version from version.info = " + version); //NOPMD + log.info("App version from version.info = " + version); return StringUtils.isBlank(version) ? defaultVersion : version; - } catch (Exception e) { //NOPMD + } catch (Exception e) { log.error("Version error", e); return defaultVersion; } diff --git a/src/main/java/ru/iopump/qa/allure/gui/view/ReportsView.java b/src/main/java/ru/iopump/qa/allure/gui/view/ReportsView.java index a5d7b9f..3eb6f8e 100644 --- a/src/main/java/ru/iopump/qa/allure/gui/view/ReportsView.java +++ b/src/main/java/ru/iopump/qa/allure/gui/view/ReportsView.java @@ -1,4 +1,4 @@ -package ru.iopump.qa.allure.gui.view; //NOPMD +package ru.iopump.qa.allure.gui.view; import com.google.common.collect.ImmutableList; import com.vaadin.flow.component.Tag; @@ -79,7 +79,7 @@ public ReportsView(final JpaReportService jpaReportService, try { jpaReportService.internalDeleteByUUID(uuid); Notification.show("Delete success: " + uuid, 2000, Notification.Position.TOP_START); - } catch (Exception e) { //NOPMD + } catch (Exception e) { Notification.show("Deleting error: " + e.getLocalizedMessage(), 5000, Notification.Position.TOP_START); diff --git a/src/main/java/ru/iopump/qa/allure/gui/view/ResultsView.java b/src/main/java/ru/iopump/qa/allure/gui/view/ResultsView.java index 9107c36..cd2ed60 100644 --- a/src/main/java/ru/iopump/qa/allure/gui/view/ResultsView.java +++ b/src/main/java/ru/iopump/qa/allure/gui/view/ResultsView.java @@ -1,4 +1,4 @@ -package ru.iopump.qa.allure.gui.view; //NOPMD +package ru.iopump.qa.allure.gui.view; import com.google.common.collect.ImmutableList; import com.vaadin.flow.component.Tag; @@ -61,48 +61,48 @@ public ResultsView(final AllureResultController allureResultController, this.dateTimeResolver.retrieve(); this.results = new FilteredGrid<>( - asProvider(allureResultController), - cols() + asProvider(allureResultController), + cols() ); this.generateButton = new Button("Generate report"); this.uploadButton = new Button("Upload result"); this.generateDialog = new ReportGenerateDialog(allureReportController); this.uploadDialog = new ResultUploadDialog( - (buffer) -> allureResultController.uploadResults(toMultiPartFile(buffer)), - (int) multipartProperties.getMaxFileSize().toBytes(), - "results" + (buffer) -> allureResultController.uploadResults(toMultiPartFile(buffer)), + (int) multipartProperties.getMaxFileSize().toBytes(), + "results" ); uploadDialog.onClose(event -> results.getGrid().getDataProvider().refreshAll()); this.deleteSelection = new Button("Delete selection", - new Icon(VaadinIcon.CLOSE_CIRCLE), - event -> { - for (ResultResponse resultResponse : results.getGrid().getSelectedItems()) { - String uuid = resultResponse.getUuid(); - try { - allureResultController.deleteResult(uuid); - Notification.show("Delete success: " + uuid, 2000, Notification.Position.TOP_START); - } catch (Exception e) { //NOPMD - Notification.show("Deleting error: " + e.getLocalizedMessage(), - 5000, - Notification.Position.TOP_START); - log.error("Deleting error", e); - } + new Icon(VaadinIcon.CLOSE_CIRCLE), + event -> { + for (ResultResponse resultResponse : results.getGrid().getSelectedItems()) { + String uuid = resultResponse.getUuid(); + try { + allureResultController.deleteResult(uuid); + Notification.show("Delete success: " + uuid, 2000, Notification.Position.TOP_START); + } catch (Exception e) { + Notification.show("Deleting error: " + e.getLocalizedMessage(), + 5000, + Notification.Position.TOP_START); + log.error("Deleting error", e); } - results.getGrid().deselectAll(); - results.getGrid().getDataProvider().refreshAll(); - }); + } + results.getGrid().deselectAll(); + results.getGrid().getDataProvider().refreshAll(); + }); deleteSelection.addThemeVariants(ButtonVariant.LUMO_ERROR); // Add first selected item on open generation dialog or empty bind generateDialog.addOpenedChangeListener(event -> { StreamUtil.stream(results.getGrid().getSelectedItems()).findFirst() - .ifPresentOrElse(resultResponse -> generateDialog.getPayload().getBinder() - .setBean(new GenerateDto(resultResponse.getUuid(), null, null, false)), - () -> generateDialog.getPayload().getBinder().setBean(new GenerateDto()) - ); + .ifPresentOrElse(resultResponse -> generateDialog.getPayload().getBinder() + .setBean(new GenerateDto(resultResponse.getUuid(), null, null, false)), + () -> generateDialog.getPayload().getBinder().setBean(new GenerateDto()) + ); }); this.dateTimeResolver.onClientReady(() -> results.getGrid().getDataProvider().refreshAll()); @@ -112,22 +112,22 @@ public ResultsView(final AllureResultController allureResultController, private static ListDataProvider asProvider(final AllureResultController allureResultController) { //noinspection unchecked final Collection collection = (Collection) Proxy - .newProxyInstance(Thread.currentThread().getContextClassLoader(), - new Class[]{Collection.class}, - (proxy, method, args) -> method.invoke(allureResultController.getAllResult(), args)); + .newProxyInstance(Thread.currentThread().getContextClassLoader(), + new Class[]{Collection.class}, + (proxy, method, args) -> method.invoke(allureResultController.getAllResult(), args)); return new ListDataProvider<>(collection); } private List> cols() { return ImmutableList.>builder() - .add(Col.with().name("Uuid").value(prop("uuid")).build()) - .add(Col.with() - .name("Created") - .value(e -> dateTimeResolver.printDate(e.getCreated())) - .build()) - .add(Col.with().name("Size KB").value(prop("size")).type(Col.Type.NUMBER).build()) - .build(); + .add(Col.with().name("Uuid").value(prop("uuid")).build()) + .add(Col.with() + .name("Created") + .value(e -> dateTimeResolver.printDate(e.getCreated())) + .build()) + .add(Col.with().name("Size KB").value(prop("size")).type(Col.Type.NUMBER).build()) + .build(); } @PostConstruct diff --git a/src/main/java/ru/iopump/qa/allure/helper/AllureReportGenerator.java b/src/main/java/ru/iopump/qa/allure/helper/AllureReportGenerator.java index 97b0720..c229a33 100644 --- a/src/main/java/ru/iopump/qa/allure/helper/AllureReportGenerator.java +++ b/src/main/java/ru/iopump/qa/allure/helper/AllureReportGenerator.java @@ -1,7 +1,8 @@ -package ru.iopump.qa.allure.helper; //NOPMD +package ru.iopump.qa.allure.helper; import io.qameta.allure.Aggregator2; import io.qameta.allure.ConfigurationBuilder; +import io.qameta.allure.Extension; import io.qameta.allure.ReportGenerator; import io.qameta.allure.ReportStorage; import io.qameta.allure.core.Configuration; @@ -42,6 +43,7 @@ public final class AllureReportGenerator { private final ReportGenerator delegate; private final BeanFactory beanFactory; private final AggregatorGrabber aggregatorGrabber = new AggregatorGrabber(); + private final Extension ciExecutor = new ExecutorCiPlugin(); public AllureReportGenerator(@NonNull Collection listeners, AllureProperties allureProperties, TmsProperties tmsProperties, BeanFactory beanFactory) { this.listeners = listeners; @@ -55,7 +57,7 @@ private Configuration configuration() { return ConfigurationBuilder .bundled() .withPlugins(loadPlugins()) - .withExtensions(List.of(aggregatorGrabber)) + .withExtensions(List.of(aggregatorGrabber, ciExecutor)) .build(); } @@ -95,7 +97,7 @@ private static Path extractDefaultPlugin() { } } return to; - } catch (Exception exception) { //NOPMD + } catch (Exception exception) { throw new IllegalStateException("Error default plugins loading from resources '/plugins/**'", exception); } } diff --git a/src/main/java/ru/iopump/qa/allure/helper/ExecutorCiPlugin.java b/src/main/java/ru/iopump/qa/allure/helper/ExecutorCiPlugin.java index 07468a0..9b2e714 100644 --- a/src/main/java/ru/iopump/qa/allure/helper/ExecutorCiPlugin.java +++ b/src/main/java/ru/iopump/qa/allure/helper/ExecutorCiPlugin.java @@ -5,24 +5,36 @@ import io.qameta.allure.core.ResultsVisitor; import io.qameta.allure.entity.ExecutorInfo; import io.qameta.allure.executor.ExecutorPlugin; +import lombok.extern.slf4j.Slf4j; + import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; +@Slf4j public class ExecutorCiPlugin extends ExecutorPlugin { public static final String JSON_FILE_NAME = "ci-executor.json"; @Override public void readResults(Configuration configuration, ResultsVisitor visitor, Path directory) { final JacksonContext context = configuration.requireContext(JacksonContext.class); + final Path nativeExecutorFile = directory.resolve("executor.json"); + + if (Files.exists(nativeExecutorFile) && Files.isRegularFile(nativeExecutorFile)) + try { + if (Files.readAllBytes(nativeExecutorFile).length > 1) return; + } catch (IOException e) { + log.error("Could not read existed native executor file {}", nativeExecutorFile, e); + } + final Path executorFile = directory.resolve(JSON_FILE_NAME); if (Files.exists(executorFile) && Files.isRegularFile(executorFile)) { try (InputStream is = Files.newInputStream(executorFile)) { final ExecutorInfo info = context.getValue().readValue(is, ExecutorInfo.class); visitor.visitExtra(EXECUTORS_BLOCK_NAME, info); } catch (IOException e) { - visitor.error("Could not read executor file " + executorFile, e); //NOPMD + visitor.error("Could not read executor file " + executorFile, e); } } } diff --git a/src/main/java/ru/iopump/qa/allure/helper/ServeRedirectHelper.java b/src/main/java/ru/iopump/qa/allure/helper/ServeRedirectHelper.java index 3542672..14e4ec3 100644 --- a/src/main/java/ru/iopump/qa/allure/helper/ServeRedirectHelper.java +++ b/src/main/java/ru/iopump/qa/allure/helper/ServeRedirectHelper.java @@ -37,7 +37,7 @@ public View reportPathRedirectToUuid(HttpServletRequest request) { } log.info("Redirect NOT evaluated: '{}'", from); - throw new RuntimeException("Redirect NOT evaluated " + from); //NOPMD + throw new RuntimeException("Redirect NOT evaluated " + from); } public void mapRequestTo(String urlPath, String staticResourcePath) { @@ -62,7 +62,7 @@ private String handleFrom(@NonNull String candidate) { // Add base url if not if (!result.startsWith(cfg.reports().path())) { - result = cfg.reports().path() + result; //NOPMD + result = cfg.reports().path() + result; } // Remove '/index.html' if exists @@ -82,12 +82,12 @@ private String handleTo(@NonNull String candidate) { // Add first '/' if not if (result.charAt(0) != CHAR) { - result = CHAR + result; //NOPMD + result = CHAR + result; } // Add '/index.html' if not if (!result.endsWith(INDEX_HTML)) { - result = result + INDEX_HTML; //NOPMD + result = result + INDEX_HTML; } // Must be '/allure/123456890/index.html' diff --git a/src/main/java/ru/iopump/qa/allure/model/ResultResponse.java b/src/main/java/ru/iopump/qa/allure/model/ResultResponse.java index a1d2633..0b1db51 100644 --- a/src/main/java/ru/iopump/qa/allure/model/ResultResponse.java +++ b/src/main/java/ru/iopump/qa/allure/model/ResultResponse.java @@ -1,10 +1,11 @@ package ru.iopump.qa.allure.model; -import java.time.LocalDateTime; -import java.util.UUID; import lombok.Builder; import lombok.Data; +import java.time.LocalDateTime; +import java.util.UUID; + @Data @Builder public class ResultResponse { diff --git a/src/main/java/ru/iopump/qa/allure/repo/JpaReportRepository.java b/src/main/java/ru/iopump/qa/allure/repo/JpaReportRepository.java index 2195a90..5a8f11a 100644 --- a/src/main/java/ru/iopump/qa/allure/repo/JpaReportRepository.java +++ b/src/main/java/ru/iopump/qa/allure/repo/JpaReportRepository.java @@ -1,14 +1,15 @@ package ru.iopump.qa.allure.repo; -import java.time.LocalDateTime; -import java.util.Collection; -import java.util.Optional; -import java.util.UUID; import lombok.NonNull; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import ru.iopump.qa.allure.entity.ReportEntity; +import java.time.LocalDateTime; +import java.util.Collection; +import java.util.Optional; +import java.util.UUID; + @Repository public interface JpaReportRepository extends JpaRepository { @NonNull diff --git a/src/main/java/ru/iopump/qa/allure/security/SecurityUtils.java b/src/main/java/ru/iopump/qa/allure/security/SecurityUtils.java index 5d1a665..fc0e952 100644 --- a/src/main/java/ru/iopump/qa/allure/security/SecurityUtils.java +++ b/src/main/java/ru/iopump/qa/allure/security/SecurityUtils.java @@ -13,7 +13,7 @@ public class SecurityUtils { boolean isFrameworkInternalRequest(HttpServletRequest request) { final String parameterValue = request.getParameter(ApplicationConstants.REQUEST_TYPE_PARAMETER); return parameterValue != null - && Stream.of(HandlerHelper.RequestType.values()) - .anyMatch(r -> r.getIdentifier().equals(parameterValue)); + && Stream.of(HandlerHelper.RequestType.values()) + .anyMatch(r -> r.getIdentifier().equals(parameterValue)); } -} \ No newline at end of file +} diff --git a/src/main/java/ru/iopump/qa/allure/service/JpaReportService.java b/src/main/java/ru/iopump/qa/allure/service/JpaReportService.java index 0b1152d..30f62df 100644 --- a/src/main/java/ru/iopump/qa/allure/service/JpaReportService.java +++ b/src/main/java/ru/iopump/qa/allure/service/JpaReportService.java @@ -1,4 +1,4 @@ -package ru.iopump.qa.allure.service; //NOPMD +package ru.iopump.qa.allure.service; import com.fasterxml.jackson.core.util.DefaultPrettyPrinter; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/src/main/java/ru/iopump/qa/allure/service/PathUtil.java b/src/main/java/ru/iopump/qa/allure/service/PathUtil.java index 2e78330..11c0a8c 100644 --- a/src/main/java/ru/iopump/qa/allure/service/PathUtil.java +++ b/src/main/java/ru/iopump/qa/allure/service/PathUtil.java @@ -1,10 +1,10 @@ package ru.iopump.qa.allure.service; -import java.nio.file.Path; - import jakarta.annotation.Nullable; import lombok.experimental.UtilityClass; +import java.nio.file.Path; + @SuppressWarnings("RedundantModifiersUtilityClassLombok") @UtilityClass public class PathUtil { diff --git a/src/main/java/ru/iopump/qa/allure/service/ResultService.java b/src/main/java/ru/iopump/qa/allure/service/ResultService.java index 884571b..8129959 100644 --- a/src/main/java/ru/iopump/qa/allure/service/ResultService.java +++ b/src/main/java/ru/iopump/qa/allure/service/ResultService.java @@ -97,7 +97,7 @@ public Path unzipAndStore(@NonNull InputStream archiveInputStream) throws IOExce Files.createDirectories(resultDirectory); checkAndUnzipTo(io, tmpResultDirectory); move(tmpResultDirectory, resultDirectory); - } catch (Exception ex) { //NOPMD + } catch (Exception ex) { if (resultDirectory != null) { // Clean on error FileUtils.deleteQuietly(resultDirectory.toFile()); @@ -123,7 +123,7 @@ private void checkAndUnzipTo(InputStream zipArchiveIo, Path unzipTo) throws IOEx final Path newFile = fromZip(unzipTo, zipEntry); try (final OutputStream fos = Files.newOutputStream(newFile)) { int len; - while ((len = zis.read(buffer)) > 0) { //NOPMD + while ((len = zis.read(buffer)) > 0) { fos.write(buffer, 0, len); } } @@ -138,16 +138,16 @@ private void checkAndUnzipTo(InputStream zipArchiveIo, Path unzipTo) throws IOEx private void move(Path from, Path to) throws IOException { Files.find(from, - 1, - (path, basicFileAttributes) - -> basicFileAttributes.isDirectory() && (path.getFileName().toString() - .matches("allure-.+|report.*"))) + 1, + (path, basicFileAttributes) + -> basicFileAttributes.isDirectory() && (path.getFileName().toString() + .matches("allure-.+|report.*"))) .forEach( nestedResultDir -> { try { Files.walkFileTree(nestedResultDir, new MoveFileVisitor(to)); } catch (IOException e) { - throw new RuntimeException("Walk error " + nestedResultDir, e); //NOPMD + throw new RuntimeException("Walk error " + nestedResultDir, e); } } ); diff --git a/src/main/resources/icons/docker.svg b/src/main/resources/icons/docker.svg index e8b96ca..85e63a8 100644 --- a/src/main/resources/icons/docker.svg +++ b/src/main/resources/icons/docker.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/src/main/resources/icons/github.svg b/src/main/resources/icons/github.svg index cb58bb4..7322d0b 100644 --- a/src/main/resources/icons/github.svg +++ b/src/main/resources/icons/github.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/src/main/resources/icons/linkedin.svg b/src/main/resources/icons/linkedin.svg index 5002508..abc6754 100644 --- a/src/main/resources/icons/linkedin.svg +++ b/src/main/resources/icons/linkedin.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/src/main/resources/plugins/custom-logo-plugin/static/custom-logo.svg b/src/main/resources/plugins/custom-logo-plugin/static/custom-logo.svg index ca3d1d7..017787a 100644 --- a/src/main/resources/plugins/custom-logo-plugin/static/custom-logo.svg +++ b/src/main/resources/plugins/custom-logo-plugin/static/custom-logo.svg @@ -1 +1,21 @@ - \ No newline at end of file + + + + + + + + + + + + diff --git a/src/test/resources/allure-results.json b/src/test/resources/allure-results.json index a7d3ff2..064678a 100644 --- a/src/test/resources/allure-results.json +++ b/src/test/resources/allure-results.json @@ -1,155 +1,155 @@ { - "name": "Открыть приложение 'Отчеты' и проверить доступность", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!", - "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [ - { - "name": "Дано страница 'AppHub' загрузилась", - "status": "skipped", - "statusDetails": { + "name": "Открыть приложение 'Отчеты' и проверить доступность", + "status": "skipped", + "statusDetails": { "known": false, "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258072, - "stop": 1586782258074 - }, - { - "name": "Когда на странице найден элемент 'applicationMenu.application(\"Отчёты\")' и выполнено действие 'click'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258074, - "stop": 1586782258076 - }, - { - "name": "Тогда страница 'Отчеты' загрузилась", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258078, - "stop": 1586782258080 - }, - { - "name": "И на странице найден элемент 'selectReports' и он 'visible'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258081, - "stop": 1586782258084 - }, - { - "name": "И на странице найден элемент 'selectAdminReports' и он 'visible'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258086, - "stop": 1586782258087 - } - ], - "attachments": [], - "parameters": [], - "start": 1586782258055, - "stop": 1586782258088, - "uuid": "0d54ee65-6b95-4cc8-90ac-889b6105b0d4", - "historyId": "d2664dd8e86d1751982c44e339228a08", - "fullName": "E2E Тестирование: Открыть приложение 'Отчеты' и проверить доступность", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "Открыть приложение 'Отчеты' и проверить доступность" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "Открыть приложение 'Отчеты' и проверить доступность" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + "flaky": false, + "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!", + "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [ + { + "name": "Дано страница 'AppHub' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258072, + "stop": 1586782258074 + }, + { + "name": "Когда на странице найден элемент 'applicationMenu.application(\"Отчёты\")' и выполнено действие 'click'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258074, + "stop": 1586782258076 + }, + { + "name": "Тогда страница 'Отчеты' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258078, + "stop": 1586782258080 + }, + { + "name": "И на странице найден элемент 'selectReports' и он 'visible'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258081, + "stop": 1586782258084 + }, + { + "name": "И на странице найден элемент 'selectAdminReports' и он 'visible'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258086, + "stop": 1586782258087 + } + ], + "attachments": [], + "parameters": [], + "start": 1586782258055, + "stop": 1586782258088, + "uuid": "0d54ee65-6b95-4cc8-90ac-889b6105b0d4", + "historyId": "d2664dd8e86d1751982c44e339228a08", + "fullName": "E2E Тестирование: Открыть приложение 'Отчеты' и проверить доступность", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "Открыть приложение 'Отчеты' и проверить доступность" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "Открыть приложение 'Отчеты' и проверить доступность" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" + } + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/0d54ee65-6b95-4cc8-90ac-889b6105b0d4-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/0d54ee65-6b95-4cc8-90ac-889b6105b0d4-result.json index a7d3ff2..064678a 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/0d54ee65-6b95-4cc8-90ac-889b6105b0d4-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/0d54ee65-6b95-4cc8-90ac-889b6105b0d4-result.json @@ -1,155 +1,155 @@ { - "name": "Открыть приложение 'Отчеты' и проверить доступность", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!", - "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [ - { - "name": "Дано страница 'AppHub' загрузилась", - "status": "skipped", - "statusDetails": { + "name": "Открыть приложение 'Отчеты' и проверить доступность", + "status": "skipped", + "statusDetails": { "known": false, "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258072, - "stop": 1586782258074 - }, - { - "name": "Когда на странице найден элемент 'applicationMenu.application(\"Отчёты\")' и выполнено действие 'click'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258074, - "stop": 1586782258076 - }, - { - "name": "Тогда страница 'Отчеты' загрузилась", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258078, - "stop": 1586782258080 - }, - { - "name": "И на странице найден элемент 'selectReports' и он 'visible'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258081, - "stop": 1586782258084 - }, - { - "name": "И на странице найден элемент 'selectAdminReports' и он 'visible'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258086, - "stop": 1586782258087 - } - ], - "attachments": [], - "parameters": [], - "start": 1586782258055, - "stop": 1586782258088, - "uuid": "0d54ee65-6b95-4cc8-90ac-889b6105b0d4", - "historyId": "d2664dd8e86d1751982c44e339228a08", - "fullName": "E2E Тестирование: Открыть приложение 'Отчеты' и проверить доступность", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "Открыть приложение 'Отчеты' и проверить доступность" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "Открыть приложение 'Отчеты' и проверить доступность" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + "flaky": false, + "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!", + "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [ + { + "name": "Дано страница 'AppHub' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258072, + "stop": 1586782258074 + }, + { + "name": "Когда на странице найден элемент 'applicationMenu.application(\"Отчёты\")' и выполнено действие 'click'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258074, + "stop": 1586782258076 + }, + { + "name": "Тогда страница 'Отчеты' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258078, + "stop": 1586782258080 + }, + { + "name": "И на странице найден элемент 'selectReports' и он 'visible'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258081, + "stop": 1586782258084 + }, + { + "name": "И на странице найден элемент 'selectAdminReports' и он 'visible'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258086, + "stop": 1586782258087 + } + ], + "attachments": [], + "parameters": [], + "start": 1586782258055, + "stop": 1586782258088, + "uuid": "0d54ee65-6b95-4cc8-90ac-889b6105b0d4", + "historyId": "d2664dd8e86d1751982c44e339228a08", + "fullName": "E2E Тестирование: Открыть приложение 'Отчеты' и проверить доступность", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "Открыть приложение 'Отчеты' и проверить доступность" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "Открыть приложение 'Отчеты' и проверить доступность" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" + } + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/29dbf2a9-730a-44a7-964f-ce9d1744a025-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/29dbf2a9-730a-44a7-964f-ce9d1744a025-result.json index ff54137..ed5d8f3 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/29dbf2a9-730a-44a7-964f-ce9d1744a025-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/29dbf2a9-730a-44a7-964f-ce9d1744a025-result.json @@ -1,140 +1,140 @@ { - "name": "Открыть приложение 'Мнемосхемы' и проверить доступность", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:36 - Открыть приложение 'Мнемосхемы' и проверить доступность' will be skipped !!!", - "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:36 - Открыть приложение 'Мнемосхемы' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [ - { - "name": "Дано страница 'AppHub' загрузилась", - "status": "skipped", - "statusDetails": { + "name": "Открыть приложение 'Мнемосхемы' и проверить доступность", + "status": "skipped", + "statusDetails": { "known": false, "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258028, - "stop": 1586782258030 - }, - { - "name": "Когда на странице найден элемент 'applicationMenu.application(\"Мнемосхемы\")' и выполнено действие 'click'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258031, - "stop": 1586782258033 - }, - { - "name": "Тогда страница 'Мнемосхемы' загрузилась", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258033, - "stop": 1586782258035 - }, - { - "name": "И на странице найден элемент 'uploadButton' и он 'visible'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258035, - "stop": 1586782258036 - } - ], - "attachments": [], - "parameters": [], - "start": 1586782258022, - "stop": 1586782258037, - "uuid": "29dbf2a9-730a-44a7-964f-ce9d1744a025", - "historyId": "a810f57d5434444f13d2ba27349be484", - "fullName": "E2E Тестирование: Открыть приложение 'Мнемосхемы' и проверить доступность", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "Открыть приложение 'Мнемосхемы' и проверить доступность" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "Открыть приложение 'Мнемосхемы' и проверить доступность" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + "flaky": false, + "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:36 - Открыть приложение 'Мнемосхемы' и проверить доступность' will be skipped !!!", + "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:36 - Открыть приложение 'Мнемосхемы' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [ + { + "name": "Дано страница 'AppHub' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258028, + "stop": 1586782258030 + }, + { + "name": "Когда на странице найден элемент 'applicationMenu.application(\"Мнемосхемы\")' и выполнено действие 'click'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258031, + "stop": 1586782258033 + }, + { + "name": "Тогда страница 'Мнемосхемы' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258033, + "stop": 1586782258035 + }, + { + "name": "И на странице найден элемент 'uploadButton' и он 'visible'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258035, + "stop": 1586782258036 + } + ], + "attachments": [], + "parameters": [], + "start": 1586782258022, + "stop": 1586782258037, + "uuid": "29dbf2a9-730a-44a7-964f-ce9d1744a025", + "historyId": "a810f57d5434444f13d2ba27349be484", + "fullName": "E2E Тестирование: Открыть приложение 'Мнемосхемы' и проверить доступность", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "Открыть приложение 'Мнемосхемы' и проверить доступность" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "Открыть приложение 'Мнемосхемы' и проверить доступность" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" + } + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/5c68f42f-58a2-41c2-b7b5-cc44beb18d62-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/5c68f42f-58a2-41c2-b7b5-cc44beb18d62-result.json index 8295299..4256741 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/5c68f42f-58a2-41c2-b7b5-cc44beb18d62-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/5c68f42f-58a2-41c2-b7b5-cc44beb18d62-result.json @@ -1,155 +1,155 @@ { - "name": "Открыть приложение 'Карта' и проверить доступность", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:29 - Открыть приложение 'Карта' и проверить доступность' will be skipped !!!", - "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:29 - Открыть приложение 'Карта' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [ - { - "name": "Дано страница 'AppHub' загрузилась", - "status": "skipped", - "statusDetails": { + "name": "Открыть приложение 'Карта' и проверить доступность", + "status": "skipped", + "statusDetails": { "known": false, "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257998, - "stop": 1586782257999 - }, - { - "name": "Когда на странице найден элемент 'applicationMenu.application(\"Карта\")' и выполнено действие 'click'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258000, - "stop": 1586782258002 - }, - { - "name": "Тогда страница 'Карта главного метролога' загрузилась", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258002, - "stop": 1586782258004 - }, - { - "name": "И на странице найден список элементов 'points' и он 'sizeGreaterThan 0'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258004, - "stop": 1586782258006 - }, - { - "name": "И на странице найден список элементов 'groups' и он 'sizeGreaterThan 0'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258009, - "stop": 1586782258011 - } - ], - "attachments": [], - "parameters": [], - "start": 1586782257992, - "stop": 1586782258012, - "uuid": "5c68f42f-58a2-41c2-b7b5-cc44beb18d62", - "historyId": "e0ee39eb70cc277145cfe93bcdaf4899", - "fullName": "E2E Тестирование: Открыть приложение 'Карта' и проверить доступность", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "Открыть приложение 'Карта' и проверить доступность" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "Открыть приложение 'Карта' и проверить доступность" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + "flaky": false, + "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:29 - Открыть приложение 'Карта' и проверить доступность' will be skipped !!!", + "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:29 - Открыть приложение 'Карта' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [ + { + "name": "Дано страница 'AppHub' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257998, + "stop": 1586782257999 + }, + { + "name": "Когда на странице найден элемент 'applicationMenu.application(\"Карта\")' и выполнено действие 'click'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258000, + "stop": 1586782258002 + }, + { + "name": "Тогда страница 'Карта главного метролога' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258002, + "stop": 1586782258004 + }, + { + "name": "И на странице найден список элементов 'points' и он 'sizeGreaterThan 0'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258004, + "stop": 1586782258006 + }, + { + "name": "И на странице найден список элементов 'groups' и он 'sizeGreaterThan 0'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258009, + "stop": 1586782258011 + } + ], + "attachments": [], + "parameters": [], + "start": 1586782257992, + "stop": 1586782258012, + "uuid": "5c68f42f-58a2-41c2-b7b5-cc44beb18d62", + "historyId": "e0ee39eb70cc277145cfe93bcdaf4899", + "fullName": "E2E Тестирование: Открыть приложение 'Карта' и проверить доступность", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "Открыть приложение 'Карта' и проверить доступность" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "Открыть приложение 'Карта' и проверить доступность" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" + } + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/5e0e1c2d-3ab2-44bf-b74a-637e8882cd37-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/5e0e1c2d-3ab2-44bf-b74a-637e8882cd37-container.json index 9682f7e..42a594b 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/5e0e1c2d-3ab2-44bf-b74a-637e8882cd37-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/5e0e1c2d-3ab2-44bf-b74a-637e8882cd37-container.json @@ -1,64 +1,64 @@ { - "uuid": "5e0e1c2d-3ab2-44bf-b74a-637e8882cd37", - "name": "Сценарий: Открыть приложение 'Отчеты' и проверить доступность", - "children": [ - "b94cb890-d842-4781-afd5-48e78782ed4d" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048550114, - "stop": 1587048550116 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048550116, - "stop": 1587048550116 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048550117, - "stop": 1587048550117 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048550117, - "stop": 1587048550117 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048554470, - "stop": 1587048554471 - } - ], - "links": [], - "start": 1587048550114, - "stop": 1587048554471 -} \ No newline at end of file + "uuid": "5e0e1c2d-3ab2-44bf-b74a-637e8882cd37", + "name": "Сценарий: Открыть приложение 'Отчеты' и проверить доступность", + "children": [ + "b94cb890-d842-4781-afd5-48e78782ed4d" + ], + "befores": [ + { + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048550114, + "stop": 1587048550116 + }, + { + "name": "MainHook.skip(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048550116, + "stop": 1587048550116 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048550117, + "stop": 1587048550117 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048550117, + "stop": 1587048550117 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048554470, + "stop": 1587048554471 + } + ], + "links": [], + "start": 1587048550114, + "stop": 1587048554471 +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/6bd2ac6e-59e7-4ac3-aa9a-c40ba26ba4dc-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/6bd2ac6e-59e7-4ac3-aa9a-c40ba26ba4dc-container.json index 53f2e04..65a16d1 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/6bd2ac6e-59e7-4ac3-aa9a-c40ba26ba4dc-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/6bd2ac6e-59e7-4ac3-aa9a-c40ba26ba4dc-container.json @@ -1,75 +1,75 @@ { - "uuid": "6bd2ac6e-59e7-4ac3-aa9a-c40ba26ba4dc", - "name": "Сценарий: UAA Авторизация - Неуспешная - Появляется ошибка", - "children": [ - "818bd326-92cf-4219-af2f-5ff0ec922a37" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782250166, - "stop": 1586782250305 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782250306, - "stop": 1586782250307 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782250307, - "stop": 1586782250308 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782250309, - "stop": 1586782250310 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [ + "uuid": "6bd2ac6e-59e7-4ac3-aa9a-c40ba26ba4dc", + "name": "Сценарий: UAA Авторизация - Неуспешная - Появляется ошибка", + "children": [ + "818bd326-92cf-4219-af2f-5ff0ec922a37" + ], + "befores": [ { - "name": "Screenshot", - "source": "4a4805c1-228d-4bd6-bacd-7e6046eb9242-attachment.png", - "type": "image/png" + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782250166, + "stop": 1586782250305 }, { - "name": "Configuration", - "source": "f92f926b-55ee-4a49-8d06-f3637466f8e9-attachment.txt", - "type": "text/plain" + "name": "MainHook.skip(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782250306, + "stop": 1586782250307 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782250307, + "stop": 1586782250308 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782250309, + "stop": 1586782250310 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [ + { + "name": "Screenshot", + "source": "4a4805c1-228d-4bd6-bacd-7e6046eb9242-attachment.png", + "type": "image/png" + }, + { + "name": "Configuration", + "source": "f92f926b-55ee-4a49-8d06-f3637466f8e9-attachment.txt", + "type": "text/plain" + } + ], + "parameters": [], + "start": 1586782257415, + "stop": 1586782257595 } - ], - "parameters": [], - "start": 1586782257415, - "stop": 1586782257595 - } - ], - "links": [], - "start": 1586782250056, - "stop": 1586782257597 -} \ No newline at end of file + ], + "links": [], + "start": 1586782250056, + "stop": 1586782257597 +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/74716b7b-0ce3-449a-973e-00708722475f-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/74716b7b-0ce3-449a-973e-00708722475f-container.json index 84e0c7c..c81a706 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/74716b7b-0ce3-449a-973e-00708722475f-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/74716b7b-0ce3-449a-973e-00708722475f-container.json @@ -1,71 +1,71 @@ { - "uuid": "74716b7b-0ce3-449a-973e-00708722475f", - "name": "Сценарий: Открыть приложение 'Отчеты' и проверить доступность", - "children": [ - "0d54ee65-6b95-4cc8-90ac-889b6105b0d4" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258055, - "stop": 1586782258064 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Before is failed: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!", - "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258064, - "stop": 1586782258069 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258069, - "stop": 1586782258070 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258070, - "stop": 1586782258070 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258087, - "stop": 1586782258088 - } - ], - "links": [], - "start": 1586782258055, - "stop": 1586782258088 -} \ No newline at end of file + "uuid": "74716b7b-0ce3-449a-973e-00708722475f", + "name": "Сценарий: Открыть приложение 'Отчеты' и проверить доступность", + "children": [ + "0d54ee65-6b95-4cc8-90ac-889b6105b0d4" + ], + "befores": [ + { + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258055, + "stop": 1586782258064 + }, + { + "name": "MainHook.skip(Scenario)", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false, + "message": "Before is failed: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!", + "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:42 - Открыть приложение 'Отчеты' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258064, + "stop": 1586782258069 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258069, + "stop": 1586782258070 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258070, + "stop": 1586782258070 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258087, + "stop": 1586782258088 + } + ], + "links": [], + "start": 1586782258055, + "stop": 1586782258088 +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/79a83547-d5d0-4b16-8b5a-21022d1b3914-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/79a83547-d5d0-4b16-8b5a-21022d1b3914-result.json index 99f6308..36d4402 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/79a83547-d5d0-4b16-8b5a-21022d1b3914-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/79a83547-d5d0-4b16-8b5a-21022d1b3914-result.json @@ -1,229 +1,229 @@ { - "name": "Открыть приложение 'Карта' и проверить доступность", - "status": "failed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.", - "trace": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.\r\n\tat com.codeborne.selenide.collections.SizeGreaterThan.fail(SizeGreaterThan.java:24)\r\n\tat com.codeborne.selenide.ElementsCollection.waitUntil(ElementsCollection.java:162)\r\n\tat com.codeborne.selenide.ElementsCollection.should(ElementsCollection.java:110)\r\n\tat com.codeborne.selenide.ElementsCollection.shouldBe(ElementsCollection.java:79)\r\n\tat com.smartdigit.qa.selenide.factory.SDElementsCollection.shouldBe(SDElementsCollection.java:47)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.assertElementList(SelenideStep.java:333)\r\n\tat ✽.на странице найден список элементов 'points' и он 'sizeGreaterThan 0'(classpath:features/smoke.feature:33)\r\n" - }, - "stage": "finished", - "steps": [ - { - "name": "Дано страница 'AppHub' загрузилась", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048513466, - "stop": 1587048514050 - }, - { - "name": "Когда на странице найден элемент 'applicationMenu.application(\"Карта\")' и выполнено действие 'click'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048514073, - "stop": 1587048514180 - }, - { - "name": "$(div.pxh-drawer/a.pxh-navigation__link.findBy(match text '(?i).*Карта.*')) click()", - "status": "passed", - "stage": "finished", - "steps": [ - { - "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048514631, - "stop": 1587048514755 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048514631, - "stop": 1587048534736 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048514051, - "stop": 1587048534738 - }, - { - "name": "Тогда страница 'Карта главного метролога' загрузилась", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(By.xpath: //input[@placeholder='Поиск']) should be(visible)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048535128, - "stop": 1587048535299 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048534738, - "stop": 1587048535301 - }, - { - "name": "И на странице найден список элементов 'points' и он 'sizeGreaterThan 0'", - "status": "failed", - "statusDetails": { + "name": "Открыть приложение 'Карта' и проверить доступность", + "status": "failed", + "statusDetails": { "known": false, "muted": false, "flaky": false, "message": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.", "trace": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.\r\n\tat com.codeborne.selenide.collections.SizeGreaterThan.fail(SizeGreaterThan.java:24)\r\n\tat com.codeborne.selenide.ElementsCollection.waitUntil(ElementsCollection.java:162)\r\n\tat com.codeborne.selenide.ElementsCollection.should(ElementsCollection.java:110)\r\n\tat com.codeborne.selenide.ElementsCollection.shouldBe(ElementsCollection.java:79)\r\n\tat com.smartdigit.qa.selenide.factory.SDElementsCollection.shouldBe(SDElementsCollection.java:47)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.assertElementList(SelenideStep.java:333)\r\n\tat ✽.на странице найден список элементов 'points' и он 'sizeGreaterThan 0'(classpath:features/smoke.feature:33)\r\n" - }, - "stage": "finished", - "steps": [ - { - "name": "$(Dynamic SD element collection with size '0') should be(size > 0)", - "status": "failed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.", - "trace": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.\r\n\tat com.codeborne.selenide.collections.SizeGreaterThan.fail(SizeGreaterThan.java:24)\r\n\tat com.codeborne.selenide.ElementsCollection.waitUntil(ElementsCollection.java:162)\r\n\tat com.codeborne.selenide.ElementsCollection.should(ElementsCollection.java:110)\r\n\tat com.codeborne.selenide.ElementsCollection.shouldBe(ElementsCollection.java:79)\r\n\tat com.smartdigit.qa.selenide.factory.SDElementsCollection.shouldBe(SDElementsCollection.java:47)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.assertElementList(SelenideStep.java:333)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.assertElementList(SelenideStep.java:325)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)\r\n\tat cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:46)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [], - "attachments": [ - { - "name": "Screenshot", - "source": "d91f6ab4-5f03-4969-9203-38167db52c03-attachment.png", - "type": "image/png" + }, + "stage": "finished", + "steps": [ + { + "name": "Дано страница 'AppHub' загрузилась", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false }, - { - "name": "Page source", - "source": "ee6fb80e-3fb5-4f04-bf8f-40e22b8ee985-attachment.html", - "type": "text/html" - } - ], - "parameters": [], - "start": 1587048535599, - "stop": 1587048546411 + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048513466, + "stop": 1587048514050 + }, + { + "name": "Когда на странице найден элемент 'applicationMenu.application(\"Карта\")' и выполнено действие 'click'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048514073, + "stop": 1587048514180 + }, + { + "name": "$(div.pxh-drawer/a.pxh-navigation__link.findBy(match text '(?i).*Карта.*')) click()", + "status": "passed", + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048514631, + "stop": 1587048514755 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048514631, + "stop": 1587048534736 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048514051, + "stop": 1587048534738 + }, + { + "name": "Тогда страница 'Карта главного метролога' загрузилась", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(By.xpath: //input[@placeholder='Поиск']) should be(visible)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048535128, + "stop": 1587048535299 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048534738, + "stop": 1587048535301 + }, + { + "name": "И на странице найден список элементов 'points' и он 'sizeGreaterThan 0'", + "status": "failed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false, + "message": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.", + "trace": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.\r\n\tat com.codeborne.selenide.collections.SizeGreaterThan.fail(SizeGreaterThan.java:24)\r\n\tat com.codeborne.selenide.ElementsCollection.waitUntil(ElementsCollection.java:162)\r\n\tat com.codeborne.selenide.ElementsCollection.should(ElementsCollection.java:110)\r\n\tat com.codeborne.selenide.ElementsCollection.shouldBe(ElementsCollection.java:79)\r\n\tat com.smartdigit.qa.selenide.factory.SDElementsCollection.shouldBe(SDElementsCollection.java:47)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.assertElementList(SelenideStep.java:333)\r\n\tat ✽.на странице найден список элементов 'points' и он 'sizeGreaterThan 0'(classpath:features/smoke.feature:33)\r\n" + }, + "stage": "finished", + "steps": [ + { + "name": "$(Dynamic SD element collection with size '0') should be(size > 0)", + "status": "failed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false, + "message": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.", + "trace": "List size mismatch: expected: > 0, actual: 0, collection: Dynamic SD element collection with size '0'\nElements: []\nTimeout: 10 s.\r\n\tat com.codeborne.selenide.collections.SizeGreaterThan.fail(SizeGreaterThan.java:24)\r\n\tat com.codeborne.selenide.ElementsCollection.waitUntil(ElementsCollection.java:162)\r\n\tat com.codeborne.selenide.ElementsCollection.should(ElementsCollection.java:110)\r\n\tat com.codeborne.selenide.ElementsCollection.shouldBe(ElementsCollection.java:79)\r\n\tat com.smartdigit.qa.selenide.factory.SDElementsCollection.shouldBe(SDElementsCollection.java:47)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.assertElementList(SelenideStep.java:333)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.assertElementList(SelenideStep.java:325)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)\r\n\tat cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:46)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [], + "attachments": [ + { + "name": "Screenshot", + "source": "d91f6ab4-5f03-4969-9203-38167db52c03-attachment.png", + "type": "image/png" + }, + { + "name": "Page source", + "source": "ee6fb80e-3fb5-4f04-bf8f-40e22b8ee985-attachment.html", + "type": "text/html" + } + ], + "parameters": [], + "start": 1587048535599, + "stop": 1587048546411 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048535301, + "stop": 1587048546415 + }, + { + "name": "И на странице найден список элементов 'groups' и он 'sizeGreaterThan 0'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048546415, + "stop": 1587048546417 } - ], - "attachments": [], - "parameters": [], - "start": 1587048535301, - "stop": 1587048546415 - }, - { - "name": "И на странице найден список элементов 'groups' и он 'sizeGreaterThan 0'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048546415, - "stop": 1587048546417 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048513462, - "stop": 1587048546763, - "uuid": "79a83547-d5d0-4b16-8b5a-21022d1b3914", - "historyId": "e0ee39eb70cc277145cfe93bcdaf4899", - "fullName": "E2E Тестирование: Открыть приложение 'Карта' и проверить доступность", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "Открыть приложение 'Карта' и проверить доступность" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "Открыть приложение 'Карта' и проверить доступность" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + ], + "attachments": [], + "parameters": [], + "start": 1587048513462, + "stop": 1587048546763, + "uuid": "79a83547-d5d0-4b16-8b5a-21022d1b3914", + "historyId": "e0ee39eb70cc277145cfe93bcdaf4899", + "fullName": "E2E Тестирование: Открыть приложение 'Карта' и проверить доступность", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "Открыть приложение 'Карта' и проверить доступность" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "Открыть приложение 'Карта' и проверить доступность" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" + } + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/7fbd4171-d527-4e97-824c-86c6c6f3a0aa-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/7fbd4171-d527-4e97-824c-86c6c6f3a0aa-container.json index 1e489a0..e1bf732 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/7fbd4171-d527-4e97-824c-86c6c6f3a0aa-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/7fbd4171-d527-4e97-824c-86c6c6f3a0aa-container.json @@ -1,75 +1,75 @@ { - "uuid": "7fbd4171-d527-4e97-824c-86c6c6f3a0aa", - "name": "Сценарий: Открыть приложение 'Карта' и проверить доступность", - "children": [ - "79a83547-d5d0-4b16-8b5a-21022d1b3914" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048513462, - "stop": 1587048513464 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048513464, - "stop": 1587048513464 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048513465, - "stop": 1587048513465 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048513465, - "stop": 1587048513465 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [ + "uuid": "7fbd4171-d527-4e97-824c-86c6c6f3a0aa", + "name": "Сценарий: Открыть приложение 'Карта' и проверить доступность", + "children": [ + "79a83547-d5d0-4b16-8b5a-21022d1b3914" + ], + "befores": [ { - "name": "Screenshot", - "source": "267fe70f-f409-4914-b5d0-6f8d5c8c222b-attachment.png", - "type": "image/png" + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048513462, + "stop": 1587048513464 }, { - "name": "Configuration", - "source": "ab2d6ed3-1873-4a24-8aa2-f4ad700a845f-attachment.txt", - "type": "text/plain" + "name": "MainHook.skip(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048513464, + "stop": 1587048513464 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048513465, + "stop": 1587048513465 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048513465, + "stop": 1587048513465 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [ + { + "name": "Screenshot", + "source": "267fe70f-f409-4914-b5d0-6f8d5c8c222b-attachment.png", + "type": "image/png" + }, + { + "name": "Configuration", + "source": "ab2d6ed3-1873-4a24-8aa2-f4ad700a845f-attachment.txt", + "type": "text/plain" + } + ], + "parameters": [], + "start": 1587048546418, + "stop": 1587048546762 } - ], - "parameters": [], - "start": 1587048546418, - "stop": 1587048546762 - } - ], - "links": [], - "start": 1587048513462, - "stop": 1587048546763 -} \ No newline at end of file + ], + "links": [], + "start": 1587048513462, + "stop": 1587048546763 +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/818bd326-92cf-4219-af2f-5ff0ec922a37-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/818bd326-92cf-4219-af2f-5ff0ec922a37-result.json index 58dae11..16dd96f 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/818bd326-92cf-4219-af2f-5ff0ec922a37-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/818bd326-92cf-4219-af2f-5ff0ec922a37-result.json @@ -1,201 +1,201 @@ { - "name": "UAA Авторизация - Неуспешная - Появляется ошибка", - "status": "broken", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nselenide.remote: http://localhost:32781/wd/hub\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nselenide.url: http://10.10.3.86:8100/login\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nselenide.baseUrl: http://10.10.3.86:8100\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2", - "trace": "org.openqa.selenium.WebDriverException: Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nselenide.remote: http://localhost:32781/wd/hub\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nselenide.url: http://10.10.3.86:8100/login\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nselenide.baseUrl: http://10.10.3.86:8100\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)\r\n\tat org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:277)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver$RemoteNavigation.to(RemoteWebDriver.java:857)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.navigateTo(Navigator.java:67)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.open(Navigator.java:28)\r\n\tat com.codeborne.selenide.SelenideDriver.open(SelenideDriver.java:66)\r\n\tat com.codeborne.selenide.Selenide.open(Selenide.java:41)\r\n\tat com.smartdigit.qa.selenide.BasePage.open(BasePage.java:39)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.openPageUrl(SelenideStep.java:176)\r\n\tat ✽.страница 'UAA авторизация' открылась(classpath:features/smoke.feature:9)\r\n" - }, - "stage": "finished", - "steps": [ - { - "name": "Дано базовый url для страниц = '{config{srv.uaa.url}}'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782250314, - "stop": 1586782250451 - }, - { - "name": "И страница 'UAA авторизация' открылась", - "status": "broken", - "statusDetails": { + "name": "UAA Авторизация - Неуспешная - Появляется ошибка", + "status": "broken", + "statusDetails": { "known": false, "muted": false, "flaky": false, "message": "Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nselenide.remote: http://localhost:32781/wd/hub\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nselenide.url: http://10.10.3.86:8100/login\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nselenide.baseUrl: http://10.10.3.86:8100\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2", "trace": "org.openqa.selenium.WebDriverException: Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nselenide.remote: http://localhost:32781/wd/hub\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nselenide.url: http://10.10.3.86:8100/login\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nselenide.baseUrl: http://10.10.3.86:8100\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)\r\n\tat org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:277)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver$RemoteNavigation.to(RemoteWebDriver.java:857)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.navigateTo(Navigator.java:67)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.open(Navigator.java:28)\r\n\tat com.codeborne.selenide.SelenideDriver.open(SelenideDriver.java:66)\r\n\tat com.codeborne.selenide.Selenide.open(Selenide.java:41)\r\n\tat com.smartdigit.qa.selenide.BasePage.open(BasePage.java:39)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.openPageUrl(SelenideStep.java:176)\r\n\tat ✽.страница 'UAA авторизация' открылась(classpath:features/smoke.feature:9)\r\n" - }, - "stage": "finished", - "steps": [ - { - "name": "$(open) http://10.10.3.86:8100/login", - "status": "broken", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2", - "trace": "org.openqa.selenium.WebDriverException: Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)\r\n\tat org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:277)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver$RemoteNavigation.to(RemoteWebDriver.java:857)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.navigateTo(Navigator.java:67)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.open(Navigator.java:28)\r\n\tat com.codeborne.selenide.SelenideDriver.open(SelenideDriver.java:66)\r\n\tat com.codeborne.selenide.Selenide.open(Selenide.java:41)\r\n\tat com.smartdigit.qa.selenide.BasePage.open(BasePage.java:39)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.openPageUrl(SelenideStep.java:176)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)\r\n\tat cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:46)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [], - "attachments": [ - { - "name": "Screenshot", - "source": "5098fd0d-ca53-4e5e-b09a-043b0cab71c7-attachment.png", - "type": "image/png" + }, + "stage": "finished", + "steps": [ + { + "name": "Дано базовый url для страниц = '{config{srv.uaa.url}}'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782250314, + "stop": 1586782250451 + }, + { + "name": "И страница 'UAA авторизация' открылась", + "status": "broken", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false, + "message": "Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nselenide.remote: http://localhost:32781/wd/hub\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nselenide.url: http://10.10.3.86:8100/login\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nselenide.baseUrl: http://10.10.3.86:8100\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2", + "trace": "org.openqa.selenium.WebDriverException: Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nselenide.remote: http://localhost:32781/wd/hub\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nselenide.url: http://10.10.3.86:8100/login\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nselenide.baseUrl: http://10.10.3.86:8100\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)\r\n\tat org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:277)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver$RemoteNavigation.to(RemoteWebDriver.java:857)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.navigateTo(Navigator.java:67)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.open(Navigator.java:28)\r\n\tat com.codeborne.selenide.SelenideDriver.open(SelenideDriver.java:66)\r\n\tat com.codeborne.selenide.Selenide.open(Selenide.java:41)\r\n\tat com.smartdigit.qa.selenide.BasePage.open(BasePage.java:39)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.openPageUrl(SelenideStep.java:176)\r\n\tat ✽.страница 'UAA авторизация' открылась(classpath:features/smoke.feature:9)\r\n" + }, + "stage": "finished", + "steps": [ + { + "name": "$(open) http://10.10.3.86:8100/login", + "status": "broken", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false, + "message": "Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2", + "trace": "org.openqa.selenium.WebDriverException: Reached error page: about:neterror?e=connectionFailure&u=http%3A//10.10.3.86%3A8100/login&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%2010.10.3.86%3A8100.\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'\nSystem info: host: 'WIN-8SNBL6I3CF7', ip: '10.10.3.86', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_241'\nDriver info: org.openqa.selenium.remote.RemoteWebDriver\nCapabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 75.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20200403170909, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 227, moz:profile: /tmp/rust_mozprofileS4Bbfw, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.76-linuxkit, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webdriver.remote.sessionid: ae12cc4d-111f-4325-be34-0ae...}\nSession ID: ae12cc4d-111f-4325-be34-0ae3e69116a2\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)\r\n\tat org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)\r\n\tat org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:277)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver$RemoteNavigation.to(RemoteWebDriver.java:857)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.navigateTo(Navigator.java:67)\r\n\tat com.codeborne.selenide.drivercommands.Navigator.open(Navigator.java:28)\r\n\tat com.codeborne.selenide.SelenideDriver.open(SelenideDriver.java:66)\r\n\tat com.codeborne.selenide.Selenide.open(Selenide.java:41)\r\n\tat com.smartdigit.qa.selenide.BasePage.open(BasePage.java:39)\r\n\tat com.smartdigit.qa.cucumber.step.SelenideStep.openPageUrl(SelenideStep.java:176)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)\r\n\tat cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:46)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [], + "attachments": [ + { + "name": "Screenshot", + "source": "5098fd0d-ca53-4e5e-b09a-043b0cab71c7-attachment.png", + "type": "image/png" + }, + { + "name": "Page source", + "source": "42c4c9d6-b6d9-4f0e-9f97-9f60e83b04dd-attachment.html", + "type": "text/html" + } + ], + "parameters": [], + "start": 1586782254879, + "stop": 1586782257403 + } + ], + "attachments": [], + "parameters": [], + "start": 1586782250451, + "stop": 1586782257407 + }, + { + "name": "И на странице найден элемент 'emailInput' и выполнено действие 'val \"username\"'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257408, + "stop": 1586782257411 + }, + { + "name": "И на странице найден элемент 'passwordInput' и выполнено действие 'val \"password\"'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257411, + "stop": 1586782257412 + }, + { + "name": "Когда на странице найден элемент 'signInButton' и выполнено действие 'click'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257412, + "stop": 1586782257413 + }, + { + "name": "Тогда на странице найден элемент 'alertError' и он 'matchText \"Unable to verify email or password. Please try again\"'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false }, - { - "name": "Page source", - "source": "42c4c9d6-b6d9-4f0e-9f97-9f60e83b04dd-attachment.html", - "type": "text/html" - } - ], - "parameters": [], - "start": 1586782254879, - "stop": 1586782257403 + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257414, + "stop": 1586782257415 } - ], - "attachments": [], - "parameters": [], - "start": 1586782250451, - "stop": 1586782257407 - }, - { - "name": "И на странице найден элемент 'emailInput' и выполнено действие 'val \"username\"'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257408, - "stop": 1586782257411 - }, - { - "name": "И на странице найден элемент 'passwordInput' и выполнено действие 'val \"password\"'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257411, - "stop": 1586782257412 - }, - { - "name": "Когда на странице найден элемент 'signInButton' и выполнено действие 'click'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257412, - "stop": 1586782257413 - }, - { - "name": "Тогда на странице найден элемент 'alertError' и он 'matchText \"Unable to verify email or password. Please try again\"'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257414, - "stop": 1586782257415 - } - ], - "attachments": [], - "parameters": [], - "start": 1586782250081, - "stop": 1586782257596, - "uuid": "818bd326-92cf-4219-af2f-5ff0ec922a37", - "historyId": "47701d9f4521fa3f1cad5895753709ef", - "fullName": "E2E Тестирование: UAA Авторизация - Неуспешная - Появляется ошибка", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "UAA Авторизация - Неуспешная - Появляется ошибка" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "UAA Авторизация - Неуспешная - Появляется ошибка" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + ], + "attachments": [], + "parameters": [], + "start": 1586782250081, + "stop": 1586782257596, + "uuid": "818bd326-92cf-4219-af2f-5ff0ec922a37", + "historyId": "47701d9f4521fa3f1cad5895753709ef", + "fullName": "E2E Тестирование: UAA Авторизация - Неуспешная - Появляется ошибка", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "UAA Авторизация - Неуспешная - Появляется ошибка" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "UAA Авторизация - Неуспешная - Появляется ошибка" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" + } + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/8abcbc0b-1e1d-4724-aff6-3546cf511266-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/8abcbc0b-1e1d-4724-aff6-3546cf511266-container.json index 6eeef72..b30241c 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/8abcbc0b-1e1d-4724-aff6-3546cf511266-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/8abcbc0b-1e1d-4724-aff6-3546cf511266-container.json @@ -1,64 +1,64 @@ { - "uuid": "8abcbc0b-1e1d-4724-aff6-3546cf511266", - "name": "Сценарий: UAA Авторизация", - "children": [ - "b3f67e21-d0bf-4c78-907e-a530107e81f5" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048507576, - "stop": 1587048507579 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048507579, - "stop": 1587048507579 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048507579, - "stop": 1587048507580 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048507580, - "stop": 1587048507580 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048513443, - "stop": 1587048513443 - } - ], - "links": [], - "start": 1587048507576, - "stop": 1587048513443 -} \ No newline at end of file + "uuid": "8abcbc0b-1e1d-4724-aff6-3546cf511266", + "name": "Сценарий: UAA Авторизация", + "children": [ + "b3f67e21-d0bf-4c78-907e-a530107e81f5" + ], + "befores": [ + { + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048507576, + "stop": 1587048507579 + }, + { + "name": "MainHook.skip(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048507579, + "stop": 1587048507579 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048507579, + "stop": 1587048507580 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048507580, + "stop": 1587048507580 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048513443, + "stop": 1587048513443 + } + ], + "links": [], + "start": 1587048507576, + "stop": 1587048513443 +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/9668666d-d3fe-48b6-9f69-a33027042b0a-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/9668666d-d3fe-48b6-9f69-a33027042b0a-container.json index 5a5f649..7f8298b 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/9668666d-d3fe-48b6-9f69-a33027042b0a-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/9668666d-d3fe-48b6-9f69-a33027042b0a-container.json @@ -1,64 +1,64 @@ { - "uuid": "9668666d-d3fe-48b6-9f69-a33027042b0a", - "name": "Сценарий: Открыть приложение 'Мнемосхемы' и проверить доступность", - "children": [ - "f288da16-5270-4919-bce4-4baae308931d" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048547081, - "stop": 1587048547083 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048547083, - "stop": 1587048547084 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048547084, - "stop": 1587048547085 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048547085, - "stop": 1587048547085 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048550098, - "stop": 1587048550098 - } - ], - "links": [], - "start": 1587048547081, - "stop": 1587048550098 -} \ No newline at end of file + "uuid": "9668666d-d3fe-48b6-9f69-a33027042b0a", + "name": "Сценарий: Открыть приложение 'Мнемосхемы' и проверить доступность", + "children": [ + "f288da16-5270-4919-bce4-4baae308931d" + ], + "befores": [ + { + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048547081, + "stop": 1587048547083 + }, + { + "name": "MainHook.skip(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048547083, + "stop": 1587048547084 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048547084, + "stop": 1587048547085 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048547085, + "stop": 1587048547085 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048550098, + "stop": 1587048550098 + } + ], + "links": [], + "start": 1587048547081, + "stop": 1587048550098 +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/a6497052-0c3d-473d-ba95-e6214993903d-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/a6497052-0c3d-473d-ba95-e6214993903d-result.json index 67fe2a5..08bd44f 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/a6497052-0c3d-473d-ba95-e6214993903d-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/a6497052-0c3d-473d-ba95-e6214993903d-result.json @@ -1,218 +1,218 @@ { - "name": "UAA Авторизация - Неуспешная - Появляется ошибка", - "status": "passed", - "stage": "finished", - "steps": [ - { - "name": "Дано базовый url для страниц = '{config{srv.uaa.url}}'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048495683, - "stop": 1587048495719 - }, - { - "name": "И страница 'UAA авторизация' открылась за 600 сек", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(open) http://swarm.dev.sm-digit.ru:8100/login", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048504802, - "stop": 1587048505015 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048495721, - "stop": 1587048505322 - }, - { - "name": "И на странице найден элемент 'emailInput' и выполнено действие 'val \"username\"'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(By.name: username) val(username)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048505495, - "stop": 1587048505770 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048505322, - "stop": 1587048506077 - }, - { - "name": "И на странице найден элемент 'passwordInput' и выполнено действие 'val \"password\"'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(By.name: password) val(password)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048506129, - "stop": 1587048506311 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048506078, - "stop": 1587048506551 - }, - { - "name": "Когда на странице найден элемент 'signInButton' и выполнено действие 'click'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$([type=submit]) click()", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048506663, - "stop": 1587048507007 + "name": "UAA Авторизация - Неуспешная - Появляется ошибка", + "status": "passed", + "stage": "finished", + "steps": [ + { + "name": "Дано базовый url для страниц = '{config{srv.uaa.url}}'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048495683, + "stop": 1587048495719 + }, + { + "name": "И страница 'UAA авторизация' открылась за 600 сек", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(open) http://swarm.dev.sm-digit.ru:8100/login", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048504802, + "stop": 1587048505015 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048495721, + "stop": 1587048505322 + }, + { + "name": "И на странице найден элемент 'emailInput' и выполнено действие 'val \"username\"'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(By.name: username) val(username)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048505495, + "stop": 1587048505770 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048505322, + "stop": 1587048506077 + }, + { + "name": "И на странице найден элемент 'passwordInput' и выполнено действие 'val \"password\"'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(By.name: password) val(password)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048506129, + "stop": 1587048506311 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048506078, + "stop": 1587048506551 + }, + { + "name": "Когда на странице найден элемент 'signInButton' и выполнено действие 'click'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$([type=submit]) click()", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048506663, + "stop": 1587048507007 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048506551, + "stop": 1587048507008 + }, + { + "name": "Тогда на странице найден элемент 'alertError' и он 'matchText \"Unable to verify email or password. Please try again\"'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(div.alert-error) wait until([match text 'Unable to verify email or password. Please try again', 10000])", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048507103, + "stop": 1587048507145 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048507009, + "stop": 1587048507473 } - ], - "attachments": [], - "parameters": [], - "start": 1587048506551, - "stop": 1587048507008 - }, - { - "name": "Тогда на странице найден элемент 'alertError' и он 'matchText \"Unable to verify email or password. Please try again\"'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(div.alert-error) wait until([match text 'Unable to verify email or password. Please try again', 10000])", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048507103, - "stop": 1587048507145 + ], + "attachments": [], + "parameters": [], + "start": 1587048495476, + "stop": 1587048507475, + "uuid": "a6497052-0c3d-473d-ba95-e6214993903d", + "historyId": "47701d9f4521fa3f1cad5895753709ef", + "fullName": "E2E Тестирование: UAA Авторизация - Неуспешная - Появляется ошибка", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "UAA Авторизация - Неуспешная - Появляется ошибка" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "UAA Авторизация - Неуспешная - Появляется ошибка" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" } - ], - "attachments": [], - "parameters": [], - "start": 1587048507009, - "stop": 1587048507473 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048495476, - "stop": 1587048507475, - "uuid": "a6497052-0c3d-473d-ba95-e6214993903d", - "historyId": "47701d9f4521fa3f1cad5895753709ef", - "fullName": "E2E Тестирование: UAA Авторизация - Неуспешная - Появляется ошибка", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "UAA Авторизация - Неуспешная - Появляется ошибка" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "UAA Авторизация - Неуспешная - Появляется ошибка" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/ab4705b2-c34b-4db0-af9c-75fda0c2a84c-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/ab4705b2-c34b-4db0-af9c-75fda0c2a84c-result.json index 15f61c1..8c05f7b 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/ab4705b2-c34b-4db0-af9c-75fda0c2a84c-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/ab4705b2-c34b-4db0-af9c-75fda0c2a84c-result.json @@ -1,230 +1,230 @@ { - "name": "UAA Авторизация", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:15 - UAA Авторизация' will be skipped !!!", - "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:15 - UAA Авторизация' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [ - { - "name": "Когда открыт url '{config{srv.apphub.url}}'", - "status": "skipped", - "statusDetails": { + "name": "UAA Авторизация", + "status": "skipped", + "statusDetails": { "known": false, "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257929, - "stop": 1586782257931 - }, - { - "name": "Тогда страница 'AppHub' загрузилась", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257931, - "stop": 1586782257932 - }, - { - "name": "И страница 'UAA авторизация' загрузилась", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257932, - "stop": 1586782257933 - }, - { - "name": "Когда на странице найден элемент 'emailInput' и выполнено действие 'val \"admin\"'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257934, - "stop": 1586782257941 - }, - { - "name": "И на странице найден элемент 'passwordInput' и выполнено действие 'val \"pass\"'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257942, - "stop": 1586782257943 - }, - { - "name": "И на странице найден элемент 'signInButton' и выполнено действие 'click'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257943, - "stop": 1586782257945 - }, - { - "name": "И на странице выполнено действие 'acceptOAuthOnFirstLogin()'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257948, - "stop": 1586782257950 - }, - { - "name": "Тогда страница 'AppHub' загрузилась", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257951, - "stop": 1586782257954 - }, - { - "name": "И на странице найден элемент 'applicationMenu' и он 'visible'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257954, - "stop": 1586782257956 - }, - { - "name": "И на странице найден список элементов 'applicationMenu.applicationList' и он 'sizeGreaterThanOrEqual 5'", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257956, - "stop": 1586782257957 - } - ], - "attachments": [], - "parameters": [], - "start": 1586782257919, - "stop": 1586782257960, - "uuid": "ab4705b2-c34b-4db0-af9c-75fda0c2a84c", - "historyId": "d6cb295fcc14526fa38ab5130fcd9d23", - "fullName": "E2E Тестирование: UAA Авторизация", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "UAA Авторизация" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "UAA Авторизация" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + "flaky": false, + "message": "Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:15 - UAA Авторизация' will be skipped !!!", + "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:15 - UAA Авторизация' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [ + { + "name": "Когда открыт url '{config{srv.apphub.url}}'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257929, + "stop": 1586782257931 + }, + { + "name": "Тогда страница 'AppHub' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257931, + "stop": 1586782257932 + }, + { + "name": "И страница 'UAA авторизация' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257932, + "stop": 1586782257933 + }, + { + "name": "Когда на странице найден элемент 'emailInput' и выполнено действие 'val \"admin\"'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257934, + "stop": 1586782257941 + }, + { + "name": "И на странице найден элемент 'passwordInput' и выполнено действие 'val \"pass\"'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257942, + "stop": 1586782257943 + }, + { + "name": "И на странице найден элемент 'signInButton' и выполнено действие 'click'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257943, + "stop": 1586782257945 + }, + { + "name": "И на странице выполнено действие 'acceptOAuthOnFirstLogin()'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257948, + "stop": 1586782257950 + }, + { + "name": "Тогда страница 'AppHub' загрузилась", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257951, + "stop": 1586782257954 + }, + { + "name": "И на странице найден элемент 'applicationMenu' и он 'visible'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257954, + "stop": 1586782257956 + }, + { + "name": "И на странице найден список элементов 'applicationMenu.applicationList' и он 'sizeGreaterThanOrEqual 5'", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257956, + "stop": 1586782257957 + } + ], + "attachments": [], + "parameters": [], + "start": 1586782257919, + "stop": 1586782257960, + "uuid": "ab4705b2-c34b-4db0-af9c-75fda0c2a84c", + "historyId": "d6cb295fcc14526fa38ab5130fcd9d23", + "fullName": "E2E Тестирование: UAA Авторизация", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "6312@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "UAA Авторизация" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "UAA Авторизация" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" + } + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b3524365-87bb-4bb7-80b8-7e3d5df40a94-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b3524365-87bb-4bb7-80b8-7e3d5df40a94-container.json index 63918f1..7161d68 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b3524365-87bb-4bb7-80b8-7e3d5df40a94-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b3524365-87bb-4bb7-80b8-7e3d5df40a94-container.json @@ -1,64 +1,64 @@ { - "uuid": "b3524365-87bb-4bb7-80b8-7e3d5df40a94", - "name": "Сценарий: UAA Авторизация - Неуспешная - Появляется ошибка", - "children": [ - "a6497052-0c3d-473d-ba95-e6214993903d" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048495584, - "stop": 1587048495670 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048495670, - "stop": 1587048495672 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048495672, - "stop": 1587048495678 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048495678, - "stop": 1587048495680 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048507473, - "stop": 1587048507474 - } - ], - "links": [], - "start": 1587048495470, - "stop": 1587048507476 -} \ No newline at end of file + "uuid": "b3524365-87bb-4bb7-80b8-7e3d5df40a94", + "name": "Сценарий: UAA Авторизация - Неуспешная - Появляется ошибка", + "children": [ + "a6497052-0c3d-473d-ba95-e6214993903d" + ], + "befores": [ + { + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048495584, + "stop": 1587048495670 + }, + { + "name": "MainHook.skip(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048495670, + "stop": 1587048495672 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048495672, + "stop": 1587048495678 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048495678, + "stop": 1587048495680 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048507473, + "stop": 1587048507474 + } + ], + "links": [], + "start": 1587048495470, + "stop": 1587048507476 +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b3f67e21-d0bf-4c78-907e-a530107e81f5-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b3f67e21-d0bf-4c78-907e-a530107e81f5-result.json index 53f8d47..6ae5c40 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b3f67e21-d0bf-4c78-907e-a530107e81f5-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b3f67e21-d0bf-4c78-907e-a530107e81f5-result.json @@ -1,321 +1,321 @@ { - "name": "UAA Авторизация", - "status": "passed", - "stage": "finished", - "steps": [ - { - "name": "Когда открыт url '{config{srv.apphub.url}}'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ + "name": "UAA Авторизация", + "status": "passed", + "stage": "finished", + "steps": [ { - "name": "$(open) http://swarm.dev.sm-digit.ru:9002", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048507582, - "stop": 1587048507713 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048507581, - "stop": 1587048507715 - }, - { - "name": "Тогда страница 'AppHub' загрузилась", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048507716, - "stop": 1587048508471 - }, - { - "name": "И страница 'UAA авторизация' загрузилась", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048508471, - "stop": 1587048509136 - }, - { - "name": "Когда на странице найден элемент 'emailInput' и выполнено действие 'val \"admin\"'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ + "name": "Когда открыт url '{config{srv.apphub.url}}'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(open) http://swarm.dev.sm-digit.ru:9002", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048507582, + "stop": 1587048507713 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048507581, + "stop": 1587048507715 + }, { - "name": "$(By.name: username) val(admin)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048509220, - "stop": 1587048509433 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048509137, - "stop": 1587048509675 - }, - { - "name": "И на странице найден элемент 'passwordInput' и выполнено действие 'val \"pass\"'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ + "name": "Тогда страница 'AppHub' загрузилась", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048507716, + "stop": 1587048508471 + }, { - "name": "$(By.name: password) val(pass)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048509722, - "stop": 1587048509871 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048509676, - "stop": 1587048509988 - }, - { - "name": "И на странице найден элемент 'signInButton' и выполнено действие 'click'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ + "name": "И страница 'UAA авторизация' загрузилась", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048508471, + "stop": 1587048509136 + }, { - "name": "$([type=submit]) click()", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048510066, - "stop": 1587048510881 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048509989, - "stop": 1587048510883 - }, - { - "name": "И на странице выполнено действие 'acceptOAuthOnFirstLogin()'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048510883, - "stop": 1587048510940 - }, - { - "name": "Тогда страница 'AppHub' загрузилась", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048510954, - "stop": 1587048511742 - }, - { - "name": "И на странице найден элемент 'applicationMenu' и он 'visible'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ + "name": "Когда на странице найден элемент 'emailInput' и выполнено действие 'val \"admin\"'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(By.name: username) val(admin)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048509220, + "stop": 1587048509433 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048509137, + "stop": 1587048509675 + }, { - "name": "$(div.pxh-drawer) wait until([visible, 10000])", - "status": "passed", - "stage": "finished", - "steps": [ - { - "name": "$(div.pxh-drawer) is displayed()", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048511851, - "stop": 1587048512016 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048511807, - "stop": 1587048512016 + "name": "И на странице найден элемент 'passwordInput' и выполнено действие 'val \"pass\"'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(By.name: password) val(pass)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048509722, + "stop": 1587048509871 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048509676, + "stop": 1587048509988 + }, + { + "name": "И на странице найден элемент 'signInButton' и выполнено действие 'click'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$([type=submit]) click()", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048510066, + "stop": 1587048510881 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048509989, + "stop": 1587048510883 + }, + { + "name": "И на странице выполнено действие 'acceptOAuthOnFirstLogin()'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048510883, + "stop": 1587048510940 + }, + { + "name": "Тогда страница 'AppHub' загрузилась", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048510954, + "stop": 1587048511742 + }, + { + "name": "И на странице найден элемент 'applicationMenu' и он 'visible'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer) wait until([visible, 10000])", + "status": "passed", + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer) is displayed()", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048511851, + "stop": 1587048512016 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048511807, + "stop": 1587048512016 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048511742, + "stop": 1587048512018 + }, + { + "name": "И на странице найден список элементов 'applicationMenu.applicationList' и он 'sizeGreaterThanOrEqual 5'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer/a.pxh-navigation__link) should be(size >= 5)", + "status": "passed", + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048512087, + "stop": 1587048512131 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048512087, + "stop": 1587048512131 + }, + { + "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048512132, + "stop": 1587048512176 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048512018, + "stop": 1587048513442 } - ], - "attachments": [], - "parameters": [], - "start": 1587048511742, - "stop": 1587048512018 - }, - { - "name": "И на странице найден список элементов 'applicationMenu.applicationList' и он 'sizeGreaterThanOrEqual 5'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ + ], + "attachments": [], + "parameters": [], + "start": 1587048507576, + "stop": 1587048513443, + "uuid": "b3f67e21-d0bf-4c78-907e-a530107e81f5", + "historyId": "d6cb295fcc14526fa38ab5130fcd9d23", + "fullName": "E2E Тестирование: UAA Авторизация", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "UAA Авторизация" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "UAA Авторизация" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, { - "name": "$(div.pxh-drawer/a.pxh-navigation__link) should be(size >= 5)", - "status": "passed", - "stage": "finished", - "steps": [ - { - "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048512087, - "stop": 1587048512131 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048512087, - "stop": 1587048512131 + "name": "language", + "value": "java" }, { - "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048512132, - "stop": 1587048512176 + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" } - ], - "attachments": [], - "parameters": [], - "start": 1587048512018, - "stop": 1587048513442 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048507576, - "stop": 1587048513443, - "uuid": "b3f67e21-d0bf-4c78-907e-a530107e81f5", - "historyId": "d6cb295fcc14526fa38ab5130fcd9d23", - "fullName": "E2E Тестирование: UAA Авторизация", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "UAA Авторизация" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "UAA Авторизация" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b94cb890-d842-4781-afd5-48e78782ed4d-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b94cb890-d842-4781-afd5-48e78782ed4d-result.json index da68be6..819aef2 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b94cb890-d842-4781-afd5-48e78782ed4d-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/b94cb890-d842-4781-afd5-48e78782ed4d-result.json @@ -1,202 +1,202 @@ { - "name": "Открыть приложение 'Отчеты' и проверить доступность", - "status": "passed", - "stage": "finished", - "steps": [ - { - "name": "Дано страница 'AppHub' загрузилась", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048550118, - "stop": 1587048550826 - }, - { - "name": "Когда на странице найден элемент 'applicationMenu.application(\"Отчёты\")' и выполнено действие 'click'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048550850, - "stop": 1587048550891 - }, - { - "name": "$(div.pxh-drawer/a.pxh-navigation__link.findBy(match text '(?i).*Отчёты.*')) click()", - "status": "passed", - "stage": "finished", - "steps": [ - { - "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048551349, - "stop": 1587048551382 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048551349, - "stop": 1587048553029 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048550826, - "stop": 1587048553030 - }, - { - "name": "Тогда страница 'Отчеты' загрузилась", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048553031, - "stop": 1587048553646 - }, - { - "name": "И на странице найден элемент 'selectReports' и он 'visible'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(By.xpath: //a[text() = 'Отчёты']) wait until([visible, 10000])", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048553704, - "stop": 1587048553870 + "name": "Открыть приложение 'Отчеты' и проверить доступность", + "status": "passed", + "stage": "finished", + "steps": [ + { + "name": "Дано страница 'AppHub' загрузилась", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048550118, + "stop": 1587048550826 + }, + { + "name": "Когда на странице найден элемент 'applicationMenu.application(\"Отчёты\")' и выполнено действие 'click'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048550850, + "stop": 1587048550891 + }, + { + "name": "$(div.pxh-drawer/a.pxh-navigation__link.findBy(match text '(?i).*Отчёты.*')) click()", + "status": "passed", + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048551349, + "stop": 1587048551382 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048551349, + "stop": 1587048553029 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048550826, + "stop": 1587048553030 + }, + { + "name": "Тогда страница 'Отчеты' загрузилась", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048553031, + "stop": 1587048553646 + }, + { + "name": "И на странице найден элемент 'selectReports' и он 'visible'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(By.xpath: //a[text() = 'Отчёты']) wait until([visible, 10000])", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048553704, + "stop": 1587048553870 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048553646, + "stop": 1587048554161 + }, + { + "name": "И на странице найден элемент 'selectAdminReports' и он 'visible'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(By.xpath: //a[text() = 'Адм: отчёты']) wait until([visible, 10000])", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048554219, + "stop": 1587048554331 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048554162, + "stop": 1587048554470 } - ], - "attachments": [], - "parameters": [], - "start": 1587048553646, - "stop": 1587048554161 - }, - { - "name": "И на странице найден элемент 'selectAdminReports' и он 'visible'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(By.xpath: //a[text() = 'Адм: отчёты']) wait until([visible, 10000])", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048554219, - "stop": 1587048554331 + ], + "attachments": [], + "parameters": [], + "start": 1587048550114, + "stop": 1587048554471, + "uuid": "b94cb890-d842-4781-afd5-48e78782ed4d", + "historyId": "d2664dd8e86d1751982c44e339228a08", + "fullName": "E2E Тестирование: Открыть приложение 'Отчеты' и проверить доступность", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "Открыть приложение 'Отчеты' и проверить доступность" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "Открыть приложение 'Отчеты' и проверить доступность" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" } - ], - "attachments": [], - "parameters": [], - "start": 1587048554162, - "stop": 1587048554470 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048550114, - "stop": 1587048554471, - "uuid": "b94cb890-d842-4781-afd5-48e78782ed4d", - "historyId": "d2664dd8e86d1751982c44e339228a08", - "fullName": "E2E Тестирование: Открыть приложение 'Отчеты' и проверить доступность", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "Открыть приложение 'Отчеты' и проверить доступность" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "Открыть приложение 'Отчеты' и проверить доступность" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/bddd8b7b-a5f1-404f-81d2-d7cac8d30d46-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/bddd8b7b-a5f1-404f-81d2-d7cac8d30d46-container.json index b487fec..f7dc181 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/bddd8b7b-a5f1-404f-81d2-d7cac8d30d46-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/bddd8b7b-a5f1-404f-81d2-d7cac8d30d46-container.json @@ -1,71 +1,71 @@ { - "uuid": "bddd8b7b-a5f1-404f-81d2-d7cac8d30d46", - "name": "Сценарий: Открыть приложение 'Мнемосхемы' и проверить доступность", - "children": [ - "29dbf2a9-730a-44a7-964f-ce9d1744a025" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258022, - "stop": 1586782258024 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Before is failed: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:36 - Открыть приложение 'Мнемосхемы' и проверить доступность' will be skipped !!!", - "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:36 - Открыть приложение 'Мнемосхемы' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258025, - "stop": 1586782258027 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258027, - "stop": 1586782258027 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258027, - "stop": 1586782258028 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258036, - "stop": 1586782258037 - } - ], - "links": [], - "start": 1586782258022, - "stop": 1586782258037 -} \ No newline at end of file + "uuid": "bddd8b7b-a5f1-404f-81d2-d7cac8d30d46", + "name": "Сценарий: Открыть приложение 'Мнемосхемы' и проверить доступность", + "children": [ + "29dbf2a9-730a-44a7-964f-ce9d1744a025" + ], + "befores": [ + { + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258022, + "stop": 1586782258024 + }, + { + "name": "MainHook.skip(Scenario)", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false, + "message": "Before is failed: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:36 - Открыть приложение 'Мнемосхемы' и проверить доступность' will be skipped !!!", + "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:36 - Открыть приложение 'Мнемосхемы' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258025, + "stop": 1586782258027 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258027, + "stop": 1586782258027 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258027, + "stop": 1586782258028 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258036, + "stop": 1586782258037 + } + ], + "links": [], + "start": 1586782258022, + "stop": 1586782258037 +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/ee6fb80e-3fb5-4f04-bf8f-40e22b8ee985-attachment.html b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/ee6fb80e-3fb5-4f04-bf8f-40e22b8ee985-attachment.html index add945b..4c75155 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/ee6fb80e-3fb5-4f04-bf8f-40e22b8ee985-attachment.html +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/ee6fb80e-3fb5-4f04-bf8f-40e22b8ee985-attachment.html @@ -25,8 +25,8 @@ @@ -49,33 +49,33 @@

  • + class="fa fa-database pxh-navigation__item-icon">
    Адм: Каталог ИД
  • + class="fa fa-refresh pxh-navigation__item-icon">
    Адм: Мэппинг ИД
  • + class="fa fa-refresh pxh-navigation__item-icon">
    Карта
  • + class="fa fa-refresh pxh-navigation__item-icon">
    Мнемосхемы
  • + class="fa fa-table pxh-navigation__item-icon">
    Отчёты
  • + class="fa fa-user pxh-navigation__item-icon">
    Управление доступом
  • @@ -85,7 +85,7 @@

    + class="fa fa-angle-up pxh-login__caret-icon"> + class="pxh-login__notifications-badge pxh-login__notifications-badge--red pxh-login__notifications-badge--hidden" href="#" + id="js-login__notifications-badge">0 @@ -118,7 +118,7 @@

    + class="Container_body__1Qcxl Container_fixMapHeight__2RJqF Container_fixFlexShrinking__3SGqS MapContainer_body__2hT5h">

    + class="Title_subtitle__2cQP8 Title_heading__3yKxY Header_title__3Q3fy"> Достоверность

    @@ -232,7 +232,7 @@

    + class="Title_subtitle__2cQP8 Title_heading__3yKxY Header_title__3Q3fy"> Достоверность

    @@ -289,7 +289,7 @@

    + class="Title_subtitle__2cQP8 Title_heading__3yKxY Header_title__3Q3fy"> Работоспособность

    @@ -346,7 +346,7 @@

    + class="Title_subtitle__2cQP8 Title_heading__3yKxY Header_title__3Q3fy"> Работоспособность

    @@ -403,7 +403,7 @@

    Аномалии + class="Title_subtitle__2cQP8 Title_heading__3yKxY Header_title__3Q3fy">Аномалии достоверности

    @@ -455,12 +455,13 @@

    + class="Search_searchField__3_Exk Search_inputField__eJZlB InputField_component__2belS" + placeholder="Поиск" value="">
    - + @@ -479,15 +480,15 @@

    + class="FilterButtonIcon_component__1ZDvr">Г
    + class="FilterButtonIcon_component__1ZDvr">Н
    + class="FilterButtonIcon_component__1ZDvr">Н

    @@ -700,4 +701,4 @@

    - \ No newline at end of file + diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/executor.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/executor.json index 5cf1a24..02757c1 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/executor.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/executor.json @@ -1,5 +1,5 @@ { - "name": "Gradle", - "type": "gradle", - "buildName": "root project 'qa'" -} \ No newline at end of file + "name": "Gradle", + "type": "gradle", + "buildName": "root project 'qa'" +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/f288da16-5270-4919-bce4-4baae308931d-result.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/f288da16-5270-4919-bce4-4baae308931d-result.json index 39ff394..1a72a4b 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/f288da16-5270-4919-bce4-4baae308931d-result.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/f288da16-5270-4919-bce4-4baae308931d-result.json @@ -1,176 +1,176 @@ { - "name": "Открыть приложение 'Мнемосхемы' и проверить доступность", - "status": "passed", - "stage": "finished", - "steps": [ - { - "name": "Дано страница 'AppHub' загрузилась", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048547086, - "stop": 1587048547683 - }, - { - "name": "Когда на странице найден элемент 'applicationMenu.application(\"Мнемосхемы\")' и выполнено действие 'click'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048547704, - "stop": 1587048547743 - }, - { - "name": "$(div.pxh-drawer/a.pxh-navigation__link.findBy(match text '(?i).*Мнемосхемы.*')) click()", - "status": "passed", - "stage": "finished", - "steps": [ - { - "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048548184, - "stop": 1587048548215 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048548184, - "stop": 1587048548864 + "name": "Открыть приложение 'Мнемосхемы' и проверить доступность", + "status": "passed", + "stage": "finished", + "steps": [ + { + "name": "Дано страница 'AppHub' загрузилась", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048547086, + "stop": 1587048547683 + }, + { + "name": "Когда на странице найден элемент 'applicationMenu.application(\"Мнемосхемы\")' и выполнено действие 'click'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048547704, + "stop": 1587048547743 + }, + { + "name": "$(div.pxh-drawer/a.pxh-navigation__link.findBy(match text '(?i).*Мнемосхемы.*')) click()", + "status": "passed", + "stage": "finished", + "steps": [ + { + "name": "$(div.pxh-drawer) find elements(By.cssSelector: a.pxh-navigation__link)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048548184, + "stop": 1587048548215 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048548184, + "stop": 1587048548864 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048547683, + "stop": 1587048548866 + }, + { + "name": "Тогда страница 'Мнемосхемы' загрузилась", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048548866, + "stop": 1587048549557 + }, + { + "name": "И на странице найден элемент 'uploadButton' и он 'visible'", + "status": "passed", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false + }, + "stage": "finished", + "steps": [ + { + "name": "$(By.id: attachBtn) wait until([visible, 10000])", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1587048549618, + "stop": 1587048549784 + } + ], + "attachments": [], + "parameters": [], + "start": 1587048549558, + "stop": 1587048550097 } - ], - "attachments": [], - "parameters": [], - "start": 1587048547683, - "stop": 1587048548866 - }, - { - "name": "Тогда страница 'Мнемосхемы' загрузилась", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048548866, - "stop": 1587048549557 - }, - { - "name": "И на странице найден элемент 'uploadButton' и он 'visible'", - "status": "passed", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false - }, - "stage": "finished", - "steps": [ - { - "name": "$(By.id: attachBtn) wait until([visible, 10000])", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1587048549618, - "stop": 1587048549784 + ], + "attachments": [], + "parameters": [], + "start": 1587048547081, + "stop": 1587048550098, + "uuid": "f288da16-5270-4919-bce4-4baae308931d", + "historyId": "a810f57d5434444f13d2ba27349be484", + "fullName": "E2E Тестирование: Открыть приложение 'Мнемосхемы' и проверить доступность", + "labels": [ + { + "name": "owner", + "value": "Maxim_Kochetkov" + }, + { + "name": "tag", + "value": "smoke" + }, + { + "name": "tag", + "value": "NOT_READY" + }, + { + "name": "tag", + "value": "AUTHOR=Maxim_Kochetkov" + }, + { + "name": "host", + "value": "WIN-8SNBL6I3CF7" + }, + { + "name": "thread", + "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" + }, + { + "name": "feature", + "value": "E2E Тестирование" + }, + { + "name": "story", + "value": "Открыть приложение 'Мнемосхемы' и проверить доступность" + }, + { + "name": "package", + "value": "features.E2E Тестирование" + }, + { + "name": "suite", + "value": "E2E Тестирование" + }, + { + "name": "testClass", + "value": "Открыть приложение 'Мнемосхемы' и проверить доступность" + }, + { + "name": "framework", + "value": "cucumber4jvm" + }, + { + "name": "language", + "value": "java" + }, + { + "name": "gherkin_uri", + "value": "classpath:features/smoke.feature" } - ], - "attachments": [], - "parameters": [], - "start": 1587048549558, - "stop": 1587048550097 - } - ], - "attachments": [], - "parameters": [], - "start": 1587048547081, - "stop": 1587048550098, - "uuid": "f288da16-5270-4919-bce4-4baae308931d", - "historyId": "a810f57d5434444f13d2ba27349be484", - "fullName": "E2E Тестирование: Открыть приложение 'Мнемосхемы' и проверить доступность", - "labels": [ - { - "name": "owner", - "value": "Maxim_Kochetkov" - }, - { - "name": "tag", - "value": "smoke" - }, - { - "name": "tag", - "value": "NOT_READY" - }, - { - "name": "tag", - "value": "AUTHOR=Maxim_Kochetkov" - }, - { - "name": "host", - "value": "WIN-8SNBL6I3CF7" - }, - { - "name": "thread", - "value": "5616@WIN-8SNBL6I3CF7.Test worker(11)" - }, - { - "name": "feature", - "value": "E2E Тестирование" - }, - { - "name": "story", - "value": "Открыть приложение 'Мнемосхемы' и проверить доступность" - }, - { - "name": "package", - "value": "features.E2E Тестирование" - }, - { - "name": "suite", - "value": "E2E Тестирование" - }, - { - "name": "testClass", - "value": "Открыть приложение 'Мнемосхемы' и проверить доступность" - }, - { - "name": "framework", - "value": "cucumber4jvm" - }, - { - "name": "language", - "value": "java" - }, - { - "name": "gherkin_uri", - "value": "classpath:features/smoke.feature" - } - ], - "links": [] -} \ No newline at end of file + ], + "links": [] +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/f5b35e80-a1f2-49f2-bf94-d772e9ac4fdc-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/f5b35e80-a1f2-49f2-bf94-d772e9ac4fdc-container.json index 378f75a..dedce51 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/f5b35e80-a1f2-49f2-bf94-d772e9ac4fdc-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/f5b35e80-a1f2-49f2-bf94-d772e9ac4fdc-container.json @@ -1,71 +1,71 @@ { - "uuid": "f5b35e80-a1f2-49f2-bf94-d772e9ac4fdc", - "name": "Сценарий: UAA Авторизация", - "children": [ - "ab4705b2-c34b-4db0-af9c-75fda0c2a84c" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257919, - "stop": 1586782257922 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Before is failed: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:15 - UAA Авторизация' will be skipped !!!", - "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:15 - UAA Авторизация' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257922, - "stop": 1586782257927 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257928, - "stop": 1586782257928 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257928, - "stop": 1586782257928 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257958, - "stop": 1586782257959 - } - ], - "links": [], - "start": 1586782257919, - "stop": 1586782257960 -} \ No newline at end of file + "uuid": "f5b35e80-a1f2-49f2-bf94-d772e9ac4fdc", + "name": "Сценарий: UAA Авторизация", + "children": [ + "ab4705b2-c34b-4db0-af9c-75fda0c2a84c" + ], + "befores": [ + { + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257919, + "stop": 1586782257922 + }, + { + "name": "MainHook.skip(Scenario)", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false, + "message": "Before is failed: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:15 - UAA Авторизация' will be skipped !!!", + "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:15 - UAA Авторизация' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257922, + "stop": 1586782257927 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257928, + "stop": 1586782257928 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257928, + "stop": 1586782257928 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257958, + "stop": 1586782257959 + } + ], + "links": [], + "start": 1586782257919, + "stop": 1586782257960 +} diff --git a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/fcb452df-e62b-466e-8887-3b212376f702-container.json b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/fcb452df-e62b-466e-8887-3b212376f702-container.json index f45f247..1149e59 100644 --- a/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/fcb452df-e62b-466e-8887-3b212376f702-container.json +++ b/src/test/resources/cb5193c3-bd9f-4e1f-9d0b-c4d667bc3dd8/fcb452df-e62b-466e-8887-3b212376f702-container.json @@ -1,71 +1,71 @@ { - "uuid": "fcb452df-e62b-466e-8887-3b212376f702", - "name": "Сценарий: Открыть приложение 'Карта' и проверить доступность", - "children": [ - "5c68f42f-58a2-41c2-b7b5-cc44beb18d62" - ], - "befores": [ - { - "name": "MainHook.fetchNewFeature(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257993, - "stop": 1586782257994 - }, - { - "name": "MainHook.skip(Scenario)", - "status": "skipped", - "statusDetails": { - "known": false, - "muted": false, - "flaky": false, - "message": "Before is failed: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:29 - Открыть приложение 'Карта' и проверить доступность' will be skipped !!!", - "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:29 - Открыть приложение 'Карта' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" - }, - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257994, - "stop": 1586782257996 - }, - { - "name": "MainHook.checkEnv(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257997, - "stop": 1586782257997 - }, - { - "name": "MainHook.setEnvironment(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782257997, - "stop": 1586782257997 - } - ], - "afters": [ - { - "name": "MainHook.screenOnFail(Scenario)", - "status": "passed", - "stage": "finished", - "steps": [], - "attachments": [], - "parameters": [], - "start": 1586782258011, - "stop": 1586782258012 - } - ], - "links": [], - "start": 1586782257992, - "stop": 1586782258012 -} \ No newline at end of file + "uuid": "fcb452df-e62b-466e-8887-3b212376f702", + "name": "Сценарий: Открыть приложение 'Карта' и проверить доступность", + "children": [ + "5c68f42f-58a2-41c2-b7b5-cc44beb18d62" + ], + "befores": [ + { + "name": "MainHook.fetchNewFeature(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257993, + "stop": 1586782257994 + }, + { + "name": "MainHook.skip(Scenario)", + "status": "skipped", + "statusDetails": { + "known": false, + "muted": false, + "flaky": false, + "message": "Before is failed: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:29 - Открыть приложение 'Карта' и проверить доступность' will be skipped !!!", + "trace": "org.junit.AssumptionViolatedException: Previous scenario has been FAILED and 'SKIP_FEATURE_AFTER_STEP_FAIL' is enabled. Scenario 'classpath:features/smoke.feature:29 - Открыть приложение 'Карта' и проверить доступность' will be skipped !!!\r\n\tat com.smartdigit.qa.cucumber.hook.MainHook.skip(MainHook.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:26)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:20)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:65)\r\n\tat cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)\r\n\tat cucumber.runner.TestStep.executeStep(TestStep.java:65)\r\n\tat cucumber.runner.TestStep.run(TestStep.java:50)\r\n\tat cucumber.runner.TestCase.run(TestCase.java:42)\r\n\tat cucumber.runner.Runner.runPickle(Runner.java:50)\r\n\tat io.cucumber.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:68)\r\n\tat io.cucumber.junit.FeatureRunner.runChild(FeatureRunner.java:23)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:144)\r\n\tat io.cucumber.junit.Cucumber.runChild(Cucumber.java:65)\r\n\tat org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)\r\n\tat org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)\r\n\tat io.cucumber.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:174)\r\n\tat org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:413)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)\r\n\tat org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)\r\n\tat org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)\r\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)\r\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)\r\n\tat com.sun.proxy.$Proxy2.processTestClass(Unknown Source)\r\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)\r\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)\r\n\tat org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)\r\n\tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n" + }, + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257994, + "stop": 1586782257996 + }, + { + "name": "MainHook.checkEnv(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257997, + "stop": 1586782257997 + }, + { + "name": "MainHook.setEnvironment(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782257997, + "stop": 1586782257997 + } + ], + "afters": [ + { + "name": "MainHook.screenOnFail(Scenario)", + "status": "passed", + "stage": "finished", + "steps": [], + "attachments": [], + "parameters": [], + "start": 1586782258011, + "stop": 1586782258012 + } + ], + "links": [], + "start": 1586782257992, + "stop": 1586782258012 +}