mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-23 08:50:20 -05:00
test: re-enable test for --headless=old (#27932)
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
describe('e2e headless old spec', function () {
|
||||
it('has expected launch args', function () {
|
||||
if (Cypress.isBrowser({ family: 'chromium' }) && Cypress.browserMajorVersion() >= 119) {
|
||||
cy.fail('headless old is supported in Chromium >= 119, please update this system test.')
|
||||
}
|
||||
// TODO: re-enable this once https://bugs.chromium.org/p/chromium/issues/detail?id=1483163 is resolved
|
||||
// cy.task('get:browser:args').should('contain', '--headless=old')
|
||||
cy.task('get:browser:args').should('contain', '--headless=old')
|
||||
})
|
||||
})
|
||||
|
||||
@@ -7,9 +7,7 @@ describe('e2e', () => {
|
||||
spec: 'headless_old.cy.js',
|
||||
browser: 'chrome',
|
||||
processEnv: {
|
||||
// TODO: re-enable this once https://bugs.chromium.org/p/chromium/issues/detail?id=1483163
|
||||
// has been resolved and we have updated to a version of Chromium that includes the fix
|
||||
// CHROMIUM_USE_HEADLESS_OLD: 1,
|
||||
CHROMIUM_USE_HEADLESS_OLD: 1,
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user