Playwright Cucumber TS Steps
    Preparing search index...

    Function expectFirstDbRecordToContain

    • Asserts that the first record of the last database result set contains specific column values. Performs a loose equality check (converts values to strings) to handle type mismatches. Supports fixtures for reusable table data.

      Parameters

      • page: any
      • tableData: string[][]

      Returns Promise<void>

      Then I pw expect the first database record to contain
      | username | admin |
      | is_active| 1 |
      | role | superuser |