From 9fec8f7eaa7ab29744957d5783932884271ae150 Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Tue, 3 Dec 2024 08:39:34 +0200 Subject: [PATCH] Update tests ESM references (#44559) Signed-off-by: Emmanuel Ferdman --- tests/System/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/System/README.md b/tests/System/README.md index 7d880847001e4..75695357395d7 100644 --- a/tests/System/README.md +++ b/tests/System/README.md @@ -197,7 +197,7 @@ The Database Commands create items in the database like articles or users. They cy.db_createArticle({ title: 'automated test article' }).then((id) => { ... })` ``` -The following commands are available and are served by the file [tests/System/support/commands/db.js](/tests/System/support/commands/db.js): +The following commands are available and are served by the file [tests/System/support/commands/db.mjs](/tests/System/support/commands/db.mjs): - **db_createArticle** – Creates an article and returns the id - **db_createBanner** – Creates a banner and returns the id @@ -230,7 +230,7 @@ cy.api_get('/content/articles').then((response) => { ... })` ``` The response is an object from the [Cypress request command](https://docs.cypress.io/api/commands/request). The following commands are available and are served by the file -[tests/System/support/commands/api.js](/tests/System/support/commands/api.js): +[tests/System/support/commands/api.mjs](/tests/System/support/commands/api.mjs): - **api_get** – HTTP GET request for given path - **api_post** – HTTP POST request for given path and body