Skip to content

Commit

Permalink
Disable logHTMLFilePath
Browse files Browse the repository at this point in the history
  • Loading branch information
matz3 authored and flovogt committed Aug 17, 2023
1 parent 4fb0af3 commit 1ff1b0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion karma-gherkin.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function(config) {

ui5: {
logAssertions: true,
logHTMLFilePath: true,
logHTMLFilePath: false,
testpage: "webapp/test/gherkin/gherkinTests.qunit.html"
},

Expand Down
10 changes: 5 additions & 5 deletions webapp/test/gherkin/Steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ sap.ui.define([
) {
"use strict";

var sViewName = "sap.ui.demo.todo.view.App";
const sViewName = "sap.ui.demo.todo.view.App";
// var sAddToItemInputId = "addTodoItemInput";
// var sSearchTodoItemsInputId = "searchTodoItemsInput";
var sItemListId = "todoList";
const sItemListId = "todoList";
// var sClearCompletedId = "clearCompleted";

var oOpa5 = new Opa5();
const oOpa5 = new Opa5();

var Steps = StepDefinitions.extend("sap.ui.demo.todo.test.gherkin.Steps", {
const Steps = StepDefinitions.extend("sap.ui.demo.todo.test.gherkin.Steps", {
init: function() {

this.register(/^I have started the app$/i, function() {
Expand All @@ -35,7 +35,7 @@ sap.ui.define([
});

this.register(/^I can see ([0-9]+) items? in the list$/i, function(sItemCount) {
var iItemCount = parseInt(sItemCount, 10);
const iItemCount = parseInt(sItemCount, 10);
oOpa5.waitFor({
id: sItemListId,
viewName: sViewName,
Expand Down

0 comments on commit 1ff1b0b

Please sign in to comment.