Cypress.io Testing a Paginated Table Example

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024
  • НаукаНаука

Комментарии • 6

  • @zshn
    @zshn Год назад

    Between `td+td+td+td+td` and `td:nth-child(5)` which one do you think is better in terms of reliability?

    • @gleb
      @gleb  Год назад

      I think nth child is more readable

  • @McQuinTrix
    @McQuinTrix 2 года назад

    Hey @gleb - The data in table is coming from API or you are mocking it?
    Should the table's pagination be tested with mock data or with real API ?
    If with real API - do you think we should be creating the real data or just test whatever is on dev/staging ?

    • @gleb
      @gleb  2 года назад

      Your call. You can see the data and the code in the repo, in my case it is just some data the test does not control

  • @t.c.9338
    @t.c.9338 2 года назад

    What editor theme are you using?!?

    • @hhicior7648
      @hhicior7648 Год назад

      @t.c.9338 Probably visual studio code. I like your font. @gleb do you install additional font?