test: adopt Playwright test()/test.describe() naming in e2e specs

Mechanical rename of it() -> test() and describe() -> test.describe() so the
subsequent Playwright migration diff only touches test bodies, not the
suite/case wrappers.
This commit is contained in:
HarelM
2026-07-08 12:42:13 +03:00
parent 8af1cfd5f8
commit f7b48139a4
9 changed files with 174 additions and 174 deletions
+3 -3
View File
@@ -1,15 +1,15 @@
import { MaputnikDriver } from "./maputnik-driver";
describe("code editor", () => {
test.describe("code editor", () => {
const { beforeAndAfter, when, get, then } = new MaputnikDriver();
beforeAndAfter();
it("open code editor", () => {
test("open code editor", () => {
when.click("nav:code-editor");
then(get.element(".maputnik-code-editor")).shouldExist();
});
it("closes code editor", () => {
test("closes code editor", () => {
when.click("nav:code-editor");
then(get.element(".maputnik-code-editor")).shouldExist();
when.click("nav:code-editor");