Make WordPress Core

Changeset 50542


Ignore:
Timestamp:
03/18/2021 02:33:12 PM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Revert [50540].

The E2E workflow is failing after this change. Reverting to to investigate further.

Unprops desrosj.
See #52843.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r50540 r50542  
    23162316            }
    23172317        },
     2318        "@types/mime-types": {
     2319            "version": "2.1.0",
     2320            "resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.0.tgz",
     2321            "integrity": "sha1-nKUs2jY/aZxpRmwqbM2q2RPqenM=",
     2322            "dev": true
     2323        },
    23182324        "@types/minimatch": {
    23192325            "version": "3.0.3",
     
    39253931                        "unbzip2-stream": "^1.3.3",
    39263932                        "ws": "^7.2.3"
     3933                    },
     3934                    "dependencies": {
     3935                        "devtools-protocol": {
     3936                            "version": "0.0.818844",
     3937                            "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.818844.tgz",
     3938                            "integrity": "sha512-AD1hi7iVJ8OD0aMLQU5VK0XH9LDlA1+BcPIgrAxPfaibx2DbWucuyOhc4oyQCbnvDDO68nN6/LcKfqTP343Jjg==",
     3939                            "dev": true
     3940                        }
    39273941                    }
    39283942                },
     
    80508064            "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz",
    80518065            "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==",
    8052             "dev": true
    8053         },
    8054         "devtools-protocol": {
    8055             "version": "0.0.818844",
    8056             "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.818844.tgz",
    8057             "integrity": "sha512-AD1hi7iVJ8OD0aMLQU5VK0XH9LDlA1+BcPIgrAxPfaibx2DbWucuyOhc4oyQCbnvDDO68nN6/LcKfqTP343Jjg==",
    80588066            "dev": true
    80598067        },
     
    1863518643            "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
    1863618644            "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
     18645        },
     18646        "puppeteer": {
     18647            "version": "npm:puppeteer-core@3.0.0",
     18648            "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-3.0.0.tgz",
     18649            "integrity": "sha512-oWjZFGMc0q2ak+8OxdmMffS79LIT0UEtmpV4h1/AARvESIqqKljf8mrfP+dQ2kas7XttsAZIxRBuWu7Y5JH8KQ==",
     18650            "dev": true,
     18651            "requires": {
     18652                "@types/mime-types": "^2.1.0",
     18653                "debug": "^4.1.0",
     18654                "extract-zip": "^2.0.0",
     18655                "https-proxy-agent": "^4.0.0",
     18656                "mime": "^2.0.3",
     18657                "mime-types": "^2.1.25",
     18658                "progress": "^2.0.1",
     18659                "proxy-from-env": "^1.0.0",
     18660                "rimraf": "^3.0.2",
     18661                "tar-fs": "^2.0.0",
     18662                "unbzip2-stream": "^1.3.3",
     18663                "ws": "^7.2.3"
     18664            },
     18665            "dependencies": {
     18666                "rimraf": {
     18667                    "version": "3.0.2",
     18668                    "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
     18669                    "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
     18670                    "dev": true,
     18671                    "requires": {
     18672                        "glob": "^7.1.3"
     18673                    }
     18674                }
     18675            }
    1863718676        },
    1863818677        "q": {
  • trunk/package.json

    r50540 r50542  
    6464        "matchdep": "~2.0.0",
    6565        "prettier": "npm:wp-prettier@2.0.5",
     66        "puppeteer": "npm:puppeteer-core@3.0.0",
    6667        "qunit": "~2.14.0",
    6768        "sass": "^1.32.8",
  • trunk/tests/e2e/run-tests.js

    r50540 r50542  
    11const dotenv = require( 'dotenv' );
    22const dotenv_expand = require( 'dotenv-expand' );
     3const { sync: spawn } = require( 'cross-spawn' );
    34const { execSync } = require( 'child_process' );
    45
     
    67dotenv_expand( dotenv.config() );
    78
     9const result = spawn( 'node', [ require.resolve( 'puppeteer/install' ) ], {
     10    stdio: 'inherit',
     11} );
     12if ( result.status > 0 ) {
     13    process.exit( result.status );
     14}
     15
    816// Run the tests, passing additional arguments through to the test script.
    9 execSync(
    10     'wp-scripts test-e2e --config tests/e2e/jest.config.js ' +
    11         process.argv.slice( 2 ).join( ' ' ),
    12     { stdio: 'inherit' }
    13 );
     17execSync( 'wp-scripts test-e2e --config tests/e2e/jest.config.js ' + process.argv.slice( 2 ).join( ' ' ), { stdio: 'inherit' } );
Note: See TracChangeset for help on using the changeset viewer.