Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jan 20:21
· 10 commits to master since this release
7012e2a

Minor Changes

  • #58 2962b6e Thanks @SebastianSedzik! - Add @retries decorator

    Set the maximum number of retry attempts given to failed @tests in the @suite

    import { suite, test, retries } from "playwright-decorators";
    
    @retries(3) // <-- Decorate suite with @retries()
    @suite()
    class MyTestSuite {
      @test()
      async test() {
        // <- This test may be retried up to 3 times if it fails
        // ...
      }
    }