digitalfabrik/integreat-app

View on GitHub
e2e-tests/web/test/pageobjects/search.page.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Routes } from '../../../shared/constants.js'
import Page from './page.js'

class SearchPage extends Page {
  get search(): ReturnType<typeof $> {
    return $('//input')
  }

  open(): Promise<string> {
    return super.open(Routes.search)
  }
}

export default new SearchPage()