Skip to content

Commit

Permalink
provide selenium debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
apupier committed Nov 27, 2023
1 parent 753ff8a commit 1e707eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions it-tests/BasicFlow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { checkEmptyCanvasLoaded, openAndSwitchToKaotoFrame } from './Util';
import { waitUntil } from 'async-wait-until';
import * as fs from 'fs-extra';

const logging = require('selenium-webdriver/lib/logging');

describe('Kaoto basic development flow', function () {
this.timeout(90_000);

Expand All @@ -14,6 +16,8 @@ describe('Kaoto basic development flow', function () {
let globalKaotoWebView: WebView;

before(async function () {
const logger = logging.getLogger('webdriver');
logger.setLevel(logging.Level.DEBUG);
fs.copySync(
path.join(workspaceFolder, 'empty.camel.yaml'),
path.join(workspaceFolder, 'empty_copy.camel.yaml')
Expand Down

0 comments on commit 1e707eb

Please sign in to comment.