From 58476f38eb47cd6514219bfd646a7567d9c74163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Sat, 24 Oct 2026 01:29:56 +0200 Subject: [PATCH] [Website] Remove the Rust parser extension loading test --- .../website/playwright/e2e/query-api.spec.ts | 40 ------------------- 1 file changed, 40 deletions(-) diff --git a/packages/playground/website/playwright/e2e/query-api.spec.ts b/packages/playground/website/playwright/e2e/query-api.spec.ts index 3600e00a912..0d3819ce0ab 100644 --- a/packages/playground/website/playwright/e2e/query-api.spec.ts +++ b/packages/playground/website/playwright/e2e/query-api.spec.ts @@ -69,42 +69,6 @@ test.describe('option `php-extension`', () => { expect(probe.formatted).toContain('1970'); }); - test('should load a real extension manifest URL', async ({ website }) => { - await gotoPHPOnlyPlayground(website.page, { - 'php-extension': sqliteParserManifestUrl, - }); - await waitForPlaygroundClient(website.page); - - const probe = await website.page.evaluate(async () => { - const playground = (window as any).playground; - const response = await playground.run({ - code: `next_token()) { - ++$tokens; - } - echo json_encode([ - 'loaded' => extension_loaded('wp_mysql_parser'), - 'classes' => class_exists('WP_MySQL_Native_Lexer', false) - && class_exists('WP_MySQL_Native_Parser', false), - 'tokens' => $tokens, - ]);`, - }); - return JSON.parse(response.text); - }); - - expect(probe).toEqual({ - loaded: true, - classes: true, - tokens: 9, - }); - }); - test('should reject unsupported manifest URL schemes', async ({ website, }) => { @@ -467,10 +431,6 @@ test('should retain encoded control characters in the URL', async ({ }); const intlManifestUrl = 'https://extensions.test/intl/manifest.json'; -const sqliteParserManifestUrl = - 'https://wordpress.github.io/sqlite-database-integration/' + - 'wp_mysql_parser-wasm-extension/' + - 'b31fc53ea599d1a2211b75f4a3486b39e63ce01f/manifest.json'; const invalidManifestUrl = 'https://extensions.test/invalid/manifest.json'; const noArtifactManifestUrl = 'https://extensions.test/no-artifact/manifest.json';