dimanche 16 août 2020

Is there a way to avoid the relative path in TestCafe?

I was wondering if anybody has found a solution to the relative path hell in TestCafe, so instead of writing this in my fixtures:

import LoginPage from "../pages/citizen/login-page";

I would like to write:

import LoginPage from "Citizen/login-page";

Currently using:

  • testcafe: 1.7.1
  • nodejs 8.12.0

Aucun commentaire:

Enregistrer un commentaire