5
submitted 2 months ago* (last edited 2 months ago) by Thumper@lemmy.world to c/javascript@programming.dev

Hey guys, I am working on an existing nightwatch repo and I have to add new test cases for new components in the website. The thing is that it must run on all the other white labeled websites also, so the previous team who worked on it wrote everything by putting them on one testcase and ran a for loop so it can also check for other websites in one go.

This approach does not feel right. Is there any better way for doing it.

By the way, I have to use nightwatch itself.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 12 Aug 2024
5 points (100.0% liked)

JavaScript

1968 readers
1 users here now

founded 1 year ago
MODERATORS