update master to V7

This commit is contained in:
JFH
2021-05-09 19:29:45 +02:00
parent 41fc05672d
commit 593c415664
1000 changed files with 47537 additions and 54304 deletions

View File

@@ -3,7 +3,7 @@
* @param {external:chai_utils} utils
* @returns {void}
*/
function setAssertionMethods (_chai, utils) {
function setAssertionMethods (_chai, _utils) {
return (method) => {
return (...args) => {
const {result, message, actual, expected} = method(...args);

View File

@@ -32,7 +32,7 @@ Cypress.Commands.add(
{
prevSubject: true
},
(subject, snapshotOptions) => {
(subject, _snapshotOptions) => {
let html = subject[0].outerHTML;
for (const attribute of ngAttributes) {

View File

@@ -1,6 +1,6 @@
export const approveStorage = () => {
return cy.get('#dialog_buttons > input[type=button][data-ok]')
.click();
// JFH will need to be chnaged when dialog is changed...
cy.get('#storage_ok').click();
};
export const visitAndApproveStorage = () => {
@@ -9,7 +9,7 @@ export const visitAndApproveStorage = () => {
};
export const openMainMenu = () => {
return cy.get('#main_icon').click();
return cy.get('#main_button').click({force: true});
};
export const openEditorPreferences = () => {