js

describe('adjust font size', () => {
  beforeEach(() => {
    cy.visit('/')
    // cy.wait(0) // THIS
  })
 
  it('first fusen', () => {
    cy.get('.fusen').first().should("have.css", "font-size", "66px")
  })
 

without wait(0) image

with wait(0) image


This page is auto-translated from /nishio/wait(0)を削ると失敗する using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.