Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with tags #25847

Closed
zbigniewkalinowski opened this issue Feb 16, 2023 · 3 comments
Closed

Problem with tags #25847

zbigniewkalinowski opened this issue Feb 16, 2023 · 3 comments

Comments

@zbigniewkalinowski
Copy link

zbigniewkalinowski commented Feb 16, 2023

Current behavior

I'm using cypress-tags 1.1.2 plugin to run tests in different environments.
I'm running few tests in loop (example code attached).
The problem is that these tests always run, no matter what the tags are.

Desired behavior

My tags are added to desribe not to separate it so it should be filtered.

Test code to reproduce

test.txt

const modules = ['module1', 'module2', 'module3']

describe(['staging'], 'test', () => {
  modules.forEach(module => {

    it('Test something in ' + module, () => {
      //my test
    });
  });
});

Cypress Version

12.5.1

Node version

14.15.1

Operating System

Windows 10/11

Debug Logs

No response

Other

No response

@jennifer-shehane
Copy link
Member

cypress-tags is a community plugin, have you tried opening an issue with their repository on the functionality of the plugin? https://github.com/infosum/cypress-tags

@zbigniewkalinowski
Copy link
Author

I just reported it: infosum/cypress-tags#252

@nagash77
Copy link
Contributor

Closing as this is an issue with a 3rd party plugin. Please comment back here if new information arises that would require Cypress attention and we can reopen.

@nagash77 nagash77 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants