Last modified: 2013-05-06 16:07:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49266, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47266 - need Cucumber tag(s) per env e.g "@beta-only", "@test2-only"
need Cucumber tag(s) per env e.g "@beta-only", "@test2-only"
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Željko Filipin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-15 23:21 UTC by Chris McMahon
Modified: 2013-05-06 16:07 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McMahon 2013-04-15 23:21:36 UTC
a "@beta-only" tag would be useful right now to turn off AFTv5 tests for test2 until we can get the config there to match beta.
Comment 1 Željko Filipin 2013-04-16 18:25:14 UTC
I am actually working on a completely different solution to the problem. Tagging features/scenarios that should not be run on a browser/site never looked good to me. (Regardless of the fact that it was my idea, replacing another idea that I previously had and that I did not like.)

At the moment I think the way to go is to use Cucumber command line option:

-e, --exclude PATTERN Don't run feature files or require ruby files matching PATTERN

For an early draft of the idea, take a look at:

https://wmf.ci.cloudbees.com/job/browsertests-commons.wikimedia.beta.wmflabs.org-linux-chrome/configure
Comment 2 Željko Filipin 2013-04-16 18:59:39 UTC
Looks like --exclude command line option only skips the entire file. I could not find a way to skip just a scenario. Looks like we will need tags for scenarios. I still think features should be skipped with --exclude command line option.
Comment 3 Gerrit Notification Bot 2013-04-30 14:33:27 UTC
Related URL: https://gerrit.wikimedia.org/r/61574 (Gerrit Change I77b189137498c687953192e8c7a887fa1069c65e)
Comment 4 Gerrit Notification Bot 2013-04-30 14:45:15 UTC
Related URL: https://gerrit.wikimedia.org/r/61576 (Gerrit Change If0958819d4ca0c8f3e5921e875449ef537949109)
Comment 5 Gerrit Notification Bot 2013-04-30 16:00:41 UTC
Related URL: https://gerrit.wikimedia.org/r/61582 (Gerrit Change I930fde6cb171864687d2e948bf5013695a73e1a5)
Comment 6 Gerrit Notification Bot 2013-04-30 16:26:49 UTC
Related URL: https://gerrit.wikimedia.org/r/61586 (Gerrit Change I40ba871edcba53c7f29665deb0fb45836b6ececf)
Comment 7 Gerrit Notification Bot 2013-04-30 16:31:11 UTC
Related URL: https://gerrit.wikimedia.org/r/61587 (Gerrit Change I9abebfa0252c013f4be86a9bab30a252e68c7637)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links