Skip to content

Commit

Permalink
[core] Potential fix for intermittent ci crashes in e2e test (#38614)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Aug 25, 2023
1 parent 1616344 commit 321b200
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/mui-material/test/umd/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,7 @@ function App() {
async function startBrowser() {
// eslint-disable-next-line no-console
console.info('browser: start');
const browser = await playwright.chromium.launch({
args: [
'--single-process', // Solve mono-thread issue on CircleCI
// https://github.com/GoogleChrome/puppeteer/blob/5d6535ca0c82efe2ca50450818d5fb20aa015658/docs/troubleshooting.md#setting-up-chrome-linux-sandbox
'--no-sandbox', // Solve user security sandboxing issue.
// '--disable-web-security', // Solve weird crossorigin anonymous issue on CircleCI
],
});
const browser = await playwright.chromium.launch();
const page = await browser.newPage();
page.on('pageerror', (err) => {
throw err;
Expand Down

0 comments on commit 321b200

Please sign in to comment.