Skip to content

Commit

Permalink
SLVUU-50: Disable linting for chaining of cy.focused()
Browse files Browse the repository at this point in the history
  • Loading branch information
pling-scottlogic committed Jan 12, 2024
1 parent a2f2c3a commit 648fcaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vuu-ui/cypress/e2e/layout-management/layout-management.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ context("Layout Management", () => {

// Update open layout
page.getTab(0).dblclick();
// eslint-disable-next-line cypress/unsafe-to-chain-command
cy.focused().type(`${savedLayoutName}{enter}`);

// Save the updated layout
Expand All @@ -37,6 +38,7 @@ context("Layout Management", () => {

// Update open layout again
page.getTab(0).dblclick();
// eslint-disable-next-line cypress/unsafe-to-chain-command
cy.focused().type(`${updatedLayoutName}{enter}`);

// Load saved layout
Expand Down

0 comments on commit 648fcaf

Please sign in to comment.