zoukankan      html  css  js  c++  java
  • Allure自动化测试报告之修改allure测试报告logo

    1.安装allure

    2.进入

    /usr/local/Cellar/allure/2.10.0/libexec/config

    3.在allure.yml添加

    - custom-logo-plugin

    如:

    plugins:
    
      - junit-xml-plugin
      - xunit-xml-plugin
      - trx-plugin
      - behaviors-plugin
      - packages-plugin
      - screen-diff-plugin
      - xctest-plugin
      - jira-plugin
      - xray-plugin
      - custom-logo-plugin

    4.进入

    /usr/local/Cellar/allure/2.10.0/libexec/plugins/custom-logo-plugin/static

    5.编辑styles.css

    .side-nav__brand {
    background: url('mrjadelogo.png') no-repeat left center !important;
    padding-left: 180px !important;
    margin-left: 10px;
    }

    注:logo展示样式可自己调试

    6.保存,运行测试脚本,查看报告

  • 相关阅读:
    个人常用Git操作记录
    JavaScript引擎基本原理:Shapes和Inline Caches
    Promise.then(a, b)与Promise.then(a).catch(b)问题详解
    p标签中的文本换行
    Vue初始化
    关于vue的源码调试
    关于extjs表单布局的几种方式
    sublime text3安装、注册及常用插件
    chrome扩展程序开发
    关于Git的简单使用
  • 原文地址:https://www.cnblogs.com/mrjade/p/11375603.html
Copyright © 2011-2022 走看看