bahmutov / cypress-select-tests

User space solution for picking Cypress tests to run
97 stars 14 forks source link

specParser doesn't support dynamic generated tests #161

Open xuanzhaopeng opened 3 years ago

xuanzhaopeng commented 3 years ago

For below code, the specParser cannot return test back

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

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.

sgomezcnvdev commented 3 years ago

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