Skip to content

Instantly share code, notes, and snippets.

View xywang68's full-sized avatar

xywang68 xywang68

View GitHub Profile
@xywang68
xywang68 / autobdd-example__test-1nit__test_init.feature.run
Created September 5, 2026 08:08
AutoBDD-example: sample green-run report output per e2e-test project (report-layout demo)
Google Chrome 96.0.4664.93
Chrome Driver 96.0.4664.45
Execution of 1 workers started at 2026-09-05T04:48:14.253Z
[0-0] RUNNING in chrome - /features/test_init.feature
[0-0] Scenario: download drivers
[0-0]
[0-0] I open the path "/"
[0-0] chrome:version/
@xywang68
xywang68 / autobdd-test__cypress_test__run.log
Created September 5, 2026 07:56
autobdd-test: sample report output per suite (report-layout demo)
Installing Cypress (version: 6.9.1)
[01:20:44] Downloading Cypress [started]
[01:20:44] Downloading Cypress 0% 0s [title changed]
[01:20:44] Downloading Cypress 1% 10s [title changed]
[01:20:44] Downloading Cypress 2% 10s [title changed]
[01:20:44] Downloading Cypress 3% 10s [title changed]
[01:20:44] Downloading Cypress 4% 10s [title changed]
[01:20:45] Downloading Cypress 5% 10s [title changed]
[01:20:45] Downloading Cypress 6% 9s [title changed]
vagrant@desktop02:~$ node --version
v8.11.1
vagrant@desktop02:~$ npm ls selenium-webdriver --depth=0
SFPortal-JS@1.0.0 /home/vagrant
└── selenium-webdriver@4.0.0-alpha.1
@xywang68
xywang68 / selenium-3.11.0-FF log with error
Last active March 20, 2018 00:16
selenium log for IEDriver and ChromeDriver
16:42:11.167 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.11.0', revision: 'e59cfb3'
16:42:11.167 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444
2018-03-19 16:42:11.276:INFO::main: Logging initialized @425ms to org.seleniumhq.jetty9.util.log.StdErrLog
16:42:11.573 INFO [SeleniumServer.boot] - Welcome to Selenium for Workgroups....
16:42:11.573 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
16:42:25.980 INFO [ActiveSessionFactory.apply] - Capabilities are: Capabilities {acceptSslCerts: true, browserName: firefox, cssSelectorsEnabled: true, elementScrollBehavior: 0, handlesAlerts: true, javascriptEnabled: true, locationContextEnabled: true, loggingPrefs: org.openqa.selenium.logging..., name: , nativeEvents: true, pageLoadStrategy: normal, platform: WINDOWS, requestOrigins: {name: webdriverio, url: http://webdriver.io, version: 4.10.1}, rotatable: true, takesScreenshot: true, unexpectedAlertBehaviour: dismiss, unhandledPromptBe
@xywang68
xywang68 / reporter.js
Last active February 2, 2018 20:43
support html tags for screenshot and movie file path
// code change for:
// https://github.com/gkushang/cucumber-html-reporter/issues/129
'use strict';
var jsonFile = require('jsonfile');
var _ = require('lodash');
var fs = require('fs-extra');
var path = require('path');
var jsonDir = require('./jsonDir');