cypress-select-tests icon indicating copy to clipboard operation
cypress-select-tests copied to clipboard

specParser doesn't support dynamic generated tests

Open xuanzhaopeng opened this issue 4 years ago • 2 comments

For below code, the specParser cannot return test back

describe("test"), () => {
  [
    {
      locale: "ru",
    },
    { locale: "be" },
  ].forEach((_t) => {
    it(`works for ${_t.locale}`, () => {
      xxxxx
    });
  });
});

xuanzhaopeng avatar Oct 29 '20 10:10 xuanzhaopeng

I'm having the same issue, I'm using userRoles.forEach to dynamically generate tests but the test tags don't work anymore. Would be great to have support for this.

rbknajera avatar Jan 12 '21 18:01 rbknajera

I also have the same issue. does anyone know if it is planned to add support for this? Thanks

sgomezcnvdev avatar Mar 12 '21 19:03 sgomezcnvdev