Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
choucw045 committed Jan 8, 2025
1 parent a748ba0 commit 2ddedf4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e2e_test/step_definitions/notebook_export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import { Given, When } from '@badeball/cypress-cucumber-preprocessor'
import type { DataTable } from '@cucumber/cucumber'
import start from '../start'
import { notebookCard } from '../start/pageObjects/notebookCard'

// First step already exists in user.ts:
// Given('I am logged in as an existing user', () => {
Expand All @@ -32,7 +31,7 @@ When(
'I click on the export for Obsidian option on notebook {string}',
(notebookTitle: string) => {
// Wait and ensure element is fully loaded
cy.findByText(notebookTitle, {selector: '.notebook-card *'})
cy.findByText(notebookTitle, { selector: '.notebook-card *'})
.should('be.visible')
.parents('.daisy-card')
.within(() => {
Expand All @@ -51,4 +50,4 @@ Given('I have an empty notebook titled {string}', (notebookTitle: string) => {
When('I go to Notebook page', () => {
// Using the same navigation function but without parameters
start.routerToNotebooksPage()
})
})

0 comments on commit 2ddedf4

Please sign in to comment.