Skip to content

Instantly share code, notes, and snippets.

Avatar

Stephan Petzl stoefln

View GitHub Profile
View MiniTouch.js
//@ts-check
const exec = require('child_process').exec
import Shell from './Shell'
import DeviceData from '../models/DeviceData'
import sleep from '../utils/sleep'
import log from 'loglevel'
import { sendEvent } from './Analytics'
import { MissingServiceError } from './Errors'
function MiniTouchError(message) {
View testrun.log
repeato-studio git:(feature/test-cases-for-build) npm run test:build
> Repeato@1.0.0-beta.26 test:build /Users/steph/Workspace/repeato-studio
> cross-env NODE_ENV=development cross-env TEST_BUILD=true npx playwright test --config=app/test/config/default.config.js
Using config at /Users/steph/Workspace/repeato-studio/app/test/config/default.config.js
DeletingDir app/test/temp/emptyWorkspace
Using UI Store at app/test/temp/emptyWorkspace/ui-database.rpt
DeletingDir app/test/temp/emptyWorkspace
Using UI Store at app/test/temp/emptyWorkspace/ui-database.rpt
View Install error.log
PS C:\Users\steph\repeato-studio> npm i
> node-native-ocr@0.2.0 install C:\Users\steph\repeato-studio\node_modules\node-native-ocr
> npm run build-tesseract && node-gyp rebuild
> node-native-ocr@0.2.0 build-tesseract C:\Users\steph\repeato-studio\node_modules\node-native-ocr
> node ./scripts/build-tesseract
build-tesseract script start.
View test:build.log
npm run test:build
> Repeato@1.0.0-beta.26 test:build /Users/steph/Workspace/repeato-studio
> cross-env NODE_ENV=development cross-env TEST_BUILD=true npx playwright test --config=app/test/config/default.config.js
Using config at /Users/steph/Workspace/repeato-studio/app/test/config/default.config.js
Using UI Store at app/test/temp/emptyWorkspace/ui-database.rpt
DeletingDir app/test/temp/emptyWorkspace
Using UI Store at app/test/temp/emptyWorkspace/ui-database.rpt
View blueprint-example.kt
@Test
fun clickIncrementButton_counterUpdated() {
// The counterScreen block is a top-level function that you need to implement in your robot
counterScreen {
given {
// make sure counter is reset
resetCounter()
}
perform {
// launch Activity
View node-native-ocr-install-error.log
0 verbose cli [
0 verbose cli '/Users/steph/.nvm/versions/node/v12.20.0/bin/node',
0 verbose cli '/Users/steph/.nvm/versions/node/v12.20.0/bin/npm',
0 verbose cli 'i',
0 verbose cli 'node-native-ocr',
0 verbose cli '--save'
0 verbose cli ]
1 info using npm@7.8.0
2 info using node@v12.20.0
3 timing npm:load:whichnode Completed in 1ms
View webpack.production.config.js
const path = require('path')
const webpack = require('webpack')
const nodeExternals = require('webpack-node-externals')
const SentryCliPlugin = require('@sentry/webpack-plugin')
const { getConfig } = require('./sentryconf')
const sentryConf = getConfig(require('./package.json').version)
console.log('Sentry conf: ', sentryConf)
const rules = [
View webpack.production.config.js
const path = require('path')
const webpack = require('webpack')
const nodeExternals = require('webpack-node-externals')
const SentryCliPlugin = require('@sentry/webpack-plugin')
const package = require('./package.json')
const rules = [
{
test: /\.node$/,
use: 'node-loader'
View electron-ocr start trace
Process: Electron OCR [647]
Path: /Volumes/*/Electron OCR.app/Contents/MacOS/Electron OCR
Identifier: app.electron-ocr
Version: 0.0.1 (0.0.1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Electron OCR [647]
User ID: 501
Date/Time: 2021-03-12 10:43:07.238 +0100