Merge branch 'develop' into mochawesome

This commit is contained in:
John McLear 2021-02-03 11:23:54 +00:00 committed by GitHub
commit 7630e71957
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
75 changed files with 1347 additions and 1020 deletions

View file

@ -22,8 +22,6 @@ describe('bold button', function () {
const $boldButton = chrome$('.buttonicon-bold');
$boldButton.click();
// ace creates a new dom element when you press a button
// so just get the first text element again
const $newFirstTextElement = inner$('div').first();
// is there a <b> element now?
@ -48,13 +46,11 @@ describe('bold button', function () {
// select this text element
$firstTextElement.sendkeys('{selectall}');
const e = inner$.Event(helper.evtType);
const e = new inner$.Event(helper.evtType);
e.ctrlKey = true; // Control key
e.which = 66; // b
inner$('#innerdocbody').trigger(e);
// ace creates a new dom element when you press a button
// so just get the first text element again
const $newFirstTextElement = inner$('div').first();
// is there a <b> element now?