GRAYBYTE WORDPRESS FILE MANAGER7772

Server IP : 162.213.255.40 / Your IP : 216.73.216.121
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/plugins/elementor/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/plugins/elementor//run-on-linux.js
const { spawn, exec } = require( 'child_process' );
const packageJson = require( './package.json' );

function isDockerExist() {
	return new Promise( ( resolve ) => {
		exec( 'docker -v', ( error ) => {
			resolve( ! error );
		} );
	} );
}

async function run( tag ) {
	const playwrightVersion = packageJson.devDependencies[ '@playwright/test' ];
	const workingDir = process.cwd();

	const command = 'docker run';
	const options = [
		'--rm',
		'--network host',
		`--volume ${ workingDir }:/work`,
		'--workdir /work/',
		'--interactive',
		process.env.CI ? '' : '--tty',
	];
	const image = `mcr.microsoft.com/playwright:v${ playwrightVersion.replace( '^', '' ) }-jammy`;
	const commandToRun = `/bin/bash -c "npm run test:playwright -- --grep="${ tag }""`;

	spawn( `${ command } ${ options.join( ' ' ) } ${ image } ${ commandToRun }`, {
		stdio: 'inherit',
		stderr: 'inherit',
		shell: true,
	} );
}

( async () => {
	if ( ! await isDockerExist() ) {
		// eslint-disable-next-line no-console
		console.error( 'Docker is not installed, please install it first.' );

		process.exit( 1 );
	}

	await run( process.argv.slice( 2 ) );
} )();

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:45:52
hellrfbn / hellrfbn
0755
app
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
assets
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
core
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
data
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
includes
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
modules
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
vendor
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
vendor_prefixed
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:29
hellrfbn / hellrfbn
0644
changelog.txt
308.191 KB
February 05 2025 15:44:52
hellrfbn / hellrfbn
0644
elementor.php
3.66 KB
February 05 2025 15:44:52
hellrfbn / hellrfbn
0644
license.txt
34.323 KB
February 05 2025 15:44:52
hellrfbn / hellrfbn
0644
readme.txt
33.825 KB
February 05 2025 15:44:52
hellrfbn / hellrfbn
0644
run-on-linux.js
1.113 KB
February 05 2025 15:44:52
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF