Skip to content

Commit

Permalink
test: allow playwright e2e test to retry in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Apr 3, 2023
1 parent 43a04d7 commit 211a55a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ governing permissions and limitations under the License.
*/

import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {};
export default config;
const config: PlaywrightTestConfig = {
retries: process.env.CI ? 2 : 0,
};
export default config;

0 comments on commit 211a55a

Please sign in to comment.