Skip to content

Commit

Permalink
Linter issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
grgprarup committed Jun 27, 2023
1 parent 91b9672 commit dbdd56f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/e2e/support/objects/app-files/search/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export const clearTagFilter = async ({ page }): Promise<void> => {
}

export const toggleSearchInFileContent = async ({ enableOrDisable, page }): Promise<void> => {
const selector = enableOrDisable === 'enable' ? enableSearchInFileContentSelector : disableSearchInFileContentSelector
const selector =
enableOrDisable === 'enable'
? enableSearchInFileContentSelector
: disableSearchInFileContentSelector
await page.locator(selector).click()
}

0 comments on commit dbdd56f

Please sign in to comment.