07 2019 档案

摘要:向GitLab提交代码之后自动触发Jenkins构建 https://baijiahao.baidu.com/s?id=1630678692475452408&wfr=spider&for=pc Gitlab+Jenkins 自动构建 https://www.jianshu.com/p/9d7615 阅读全文
posted @ 2019-07-31 11:44 悠然现南山 阅读(179) 评论(0) 推荐(0) 编辑
摘要:今天使用git 添加远程github仓库的时候提示错误:fatal: remote origin already exists. 最后找到解决办法如下: 1、先删除远程 Git 仓库 $ git remote rm origin 2、再次执行添加就可以了。 阅读全文
posted @ 2019-07-31 10:42 悠然现南山 阅读(377) 评论(0) 推荐(0) 编辑
摘要:恢复内容开始 原文地址:https://juejin.im/post/5ac0cf356fb9a028df22c246 1. 分别生成gitlab和github的ssh key ssh-keygen -t rsa -C "your.email@example.com" -b 4096 生成第一个gi 阅读全文
posted @ 2019-07-30 16:55 悠然现南山 阅读(292) 评论(0) 推荐(0) 编辑
摘要:Command line instructions You can also upload existing files from your computer using the instructions below. Git global setup Create a new repository 阅读全文
posted @ 2019-07-30 14:46 悠然现南山 阅读(417) 评论(0) 推荐(0) 编辑
摘要:参考链接: https://www.cnblogs.com/floodwater/p/10138265.html 注意事项: 在安装gitlab-ce时,配置hostname域名后,通过域名访问gitlab时,需要配置本机hosts文件,不然不能访问 本地hosts文件中配置后 就可以通过域名访问g 阅读全文
posted @ 2019-07-30 14:27 悠然现南山 阅读(3228) 评论(0) 推荐(0) 编辑
摘要:代码,关键代码标红 参考文章:https://www.cnblogs.com/yoyoketang/p/6517477.html 阅读全文
posted @ 2019-07-23 14:38 悠然现南山 阅读(551) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/yoyoketang/p/6538505.html 百度搜索关键字,等待搜索结果页面显示完成后,验证搜索结果的第一条记录 通过WebDriverWait定位一组元素 如果是定位一组元素,用到presence_of_all_elements_loc 阅读全文
posted @ 2019-07-23 14:29 悠然现南山 阅读(480) 评论(0) 推荐(0) 编辑
摘要:1.mac chromedriver的安装目录:/usr/local/bin2.mac htmltestrunner的存放目录:命令行下 import sys sys.path/Library/Frameworks/Python.framework/Versions/3.7/lib/python3. 阅读全文
posted @ 2019-07-18 17:37 悠然现南山 阅读(13474) 评论(0) 推荐(0) 编辑
摘要:官方原生的HTMLTestRunner.py支持python2.0版本,python3.0版本的使用需要做一些修改: Python3调用HTMLTestRunner执行用例生成测试报告中,不能正常显示用例中print()函数输出的字符 解决方法: 修改HTMLTestRunner的码源,找到 if 阅读全文
posted @ 2019-07-15 15:54 悠然现南山 阅读(727) 评论(0) 推荐(0) 编辑
摘要:github地址:https://github.com/yoyoketang/sele_project_th9 阅读全文
posted @ 2019-07-11 11:59 悠然现南山 阅读(590) 评论(0) 推荐(0) 编辑
摘要:原文地址:https://www.cnblogs.com/meimei00/p/10566793.html 阅读全文
posted @ 2019-07-05 11:48 悠然现南山 阅读(392) 评论(0) 推荐(0) 编辑
摘要:原文地址:https://www.cnblogs.com/eastonliu/p/9083982.html Selenium启动浏览器时,默认是打开一个新用户,不会加载原有的配置以及插件。但有些时候我们可能需要加载默认配置。 一、Chrome浏览器 1、在Chrome浏览器的地址栏输入:chrome 阅读全文
posted @ 2019-07-02 15:51 悠然现南山 阅读(643) 评论(0) 推荐(0) 编辑