Open pavaneeshwar7077 opened 6 days ago
We need more information to act on this issue. Could you please provide a full repro that we can run locally? Additionally, I'd recommend to update Playwright to the latest version.
@dgozman we are using these parameters for the config file -
import { defineConfig } from '@playwright/test';
export default defineConfig({ testDir: 'apps/altius-nx/src/tests', timeout: 600000, reporter:'html', retries:2, forbidOnly: true, workers:1, use: { headless: true, screenshot: 'only-on-failure', viewport: { width: 1280, height: 720 }, actionTimeout:120000, }, });
The tests are passing locally -
For GitHub actions, 1 test case is failing. If we run the test case separately on local machine, it is passing. If we skip the test case using tests.skip, all other tests are passing, and the build is successful. We are not able to identify the issue since the test is passing on local machine.
We are debugging the flaky nature of the test case, but we expect the same result in GitHub actions as well.
@Sudipt2001AltiusHub Unfortunately, we cannot repro by just looking at your config file 😄 I'd recommend using our debugging tools, for example record a trace on CI and explore it in the Trace Viewer, to see what went wrong.
Version
1.36.1
Steps to reproduce
This is the workflow file we use for installation :
Expected behavior
All the test cases should pass when executed in github actions, they are passing in local
Actual behavior
Failing in pipeline ( 1 test case)
Additional context
No response
Environment
Node : 18