Home > database >  Testcafe fixtureName and testname uniqueness
Testcafe fixtureName and testname uniqueness

Time:09-17

We use testcafe for e2e tests and currently we are fixing flaky tests. During this we noticed that we use duplicated names for some fixtures and tests. Should we use unique names for fixtureName and testName or duplicated names are allowed?

CodePudding user response:

Duplicate names are allowed but we don't recommend them as this is bad practice

CodePudding user response:

Nothing in the documentation against it and the practice is allowed, but it's always best to be concise and unique: https://testcafe.io/documentation/402831/guides/basic-guides/organize-tests#fixtures

  • Related