Skip to content

Commit

Permalink
Fix unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chosak committed Nov 29, 2023
1 parent 3389c6a commit c7a0b39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cypress/integration/admin/admin-helpers.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,14 @@ export class AdminPage {
addBlockButton.should('be.visible');
addBlockButton.click();

const addTableOption = cy.contains('div.w-combobox__option', 'Table');
const addTableOption = cy.contains('div.w-combobox__option', name);
addTableOption.should('be.visible');
return addTableOption.click();
}

addTable() {
cy.get('input[value="table"]', { timeout: 1000 }).should('not.exist');
this.clickBlock('table');
this.clickBlock('Table');
cy.get('input[value="table"]', { timeout: 1000 }).should('exist');
}

Expand Down

0 comments on commit c7a0b39

Please sign in to comment.